]> git.baikalelectronics.ru Git - kernel.git/commit
IB/uverbs: Add support for flow tag
authorMoses Reuben <mosesr@mellanox.com>
Wed, 18 Jan 2017 12:59:49 +0000 (14:59 +0200)
committerDoug Ledford <dledford@redhat.com>
Tue, 14 Feb 2017 15:21:01 +0000 (10:21 -0500)
commite0c40d44541c24c139af7b97b5d7e9a295060f94
treecbab4a9e11663719c89915e3cdcadef135134b21
parent994302edb3b729d96139fbdee7ba8f05603b3dcf
IB/uverbs: Add support for flow tag

The struct ib_uverbs_flow_spec_action_tag associates a tag_id with the
flow defined by any number of other flow_spec entries which can reference
L2, L3, and L4 packet contents.

Use of ib_uverbs_flow_spec_action_tag allows the consumer to identify
the set of rules which where matched by
the packet by examining the tag_id in the CQE.

Signed-off-by: Moses Reuben <mosesr@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/core/uverbs.h
drivers/infiniband/core/uverbs_cmd.c
include/uapi/rdma/ib_user_verbs.h