On Thu, Apr 20, 2017 at 02:00:09PM +0300, Boris Pismenny wrote: > From: borisp <borisp@xxxxxxxxxxxx> > > This commit introduces egress flow steering. Egress flow steering > is useful for specifying actions that might be applied by hardware > to outgoing flows on a specific QP. > How will user know which flow actions are applicable for egress traffic, for both ingress/egress and for ingress only? I think separate structure for ingress vs. egress are better approach, than blind global flag. > Signed-off-by: borisp <borisp@xxxxxxxxxxxx> Please configure your git, "Signed-off-by" line is a legal document and supposed to have proper author name. Thanks > --- > include/rdma/ib_verbs.h | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/include/rdma/ib_verbs.h b/include/rdma/ib_verbs.h > index 99e4423..6c1c867 100644 > --- a/include/rdma/ib_verbs.h > +++ b/include/rdma/ib_verbs.h > @@ -1679,7 +1679,8 @@ enum ib_flow_domain { > > enum ib_flow_flags { > IB_FLOW_ATTR_FLAGS_DONT_TRAP = 1UL << 1, /* Continue match, no steal */ > - IB_FLOW_ATTR_FLAGS_RESERVED = 1UL << 2 /* Must be last */ > + IB_FLOW_ATTR_FLAGS_EGRESS = 1UL << 2, /* Egress steering rule */ > + IB_FLOW_ATTR_FLAGS_RESERVED = 1UL << 3 /* Must be last */ > }; > > struct ib_flow_eth_filter { > -- > 1.8.3.1 > > -- > To unsubscribe from this list: send the line "unsubscribe linux-rdma" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html
Attachment:
signature.asc
Description: PGP signature