Skip to content

Commit 21e82d3

Browse files
Boris Pismennyjgunthorpe
authored andcommitted
IB/uverbs: Introduce egress flow steering
The egress flag indicates that this flow steering rule is for egress traffic. The scope of an egress rule is port-wide, meaning all packets originated from that port, which match the steering rule specification will be effected by this steering rule's action. Reviewed-by: Yishai Hadas <yishaih@mellanox.com> Signed-off-by: Boris Pismenny <borisp@mellanox.com> Reviewed-by: Matan Barak <matanb@mellanox.com> Signed-off-by: Leon Romanovsky <leonro@mellanox.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
1 parent 9b82844 commit 21e82d3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎include/rdma/ib_verbs.h‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1854,7 +1854,8 @@ enum ib_flow_domain {
18541854

18551855
enum ib_flow_flags {
18561856
IB_FLOW_ATTR_FLAGS_DONT_TRAP = 1UL << 1, /* Continue match, no steal */
1857-
IB_FLOW_ATTR_FLAGS_RESERVED = 1UL << 2 /* Must be last */
1857+
IB_FLOW_ATTR_FLAGS_EGRESS = 1UL << 2, /* Egress flow */
1858+
IB_FLOW_ATTR_FLAGS_RESERVED = 1UL << 3 /* Must be last */
18581859
};
18591860

18601861
struct ib_flow_eth_filter {

0 commit comments

Comments
 (0)