IB/core: Introduce drop flow specification
authorSlava Shwartsman <slavash@mellanox.com>
Mon, 3 Apr 2017 10:13:51 +0000 (13:13 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 21 Apr 2017 16:26:05 +0000 (12:26 -0400)
commit483a3966b570529a910dc2a02deac0036e642309
tree73dc325f78a1cc7619d0ddf7df9f3f43b0bb2719
parent19cc75249adc61401aa4b21a6654e0a7f7ea8fe2
IB/core: Introduce drop flow specification

This flow steering specification identifies flow for drop by the HW.
If user create a flow only with the drop specification,
then all the packets that hit this flow will be dropped, otherwise the HW
will drop only the packets that match the other L2/L3/L4 specifications.

Signed-off-by: Slava Shwartsman <slavash@mellanox.com>
Reviewed-by: Maor Gottlieb <maorg@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/rdma/ib_verbs.h
include/uapi/rdma/ib_user_verbs.h