IB/mlx5: Add sniffer support to steering
authorMaor Gottlieb <maorg@mellanox.com>
Sun, 28 Aug 2016 11:16:34 +0000 (14:16 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 7 Oct 2016 20:54:16 +0000 (16:54 -0400)
commitcc0e5d42351de1f9233738697718d0eed4396536
tree6b159c82c0e73a613336aea2516868136e84974c
parentd9d4980af21df94f527caeecd35bfa4bafe38c9c
IB/mlx5: Add sniffer support to steering

Add support to create sniffer rule. This rule receive all
incoming and outgoing packets from the port.
A user could create such rule by using IB_FLOW_ATTR_SNIFFER type.

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/mlx5_ib.h