net/mlx5: Add sniffer namespaces
authorMaor Gottlieb <maorg@mellanox.com>
Mon, 6 Jun 2016 15:09:35 +0000 (18:09 +0300)
committerLeon Romanovsky <leon@kernel.org>
Thu, 18 Aug 2016 15:49:59 +0000 (18:49 +0300)
commit87d22483ce68e609818d61e3a65361f5634c6cd6
treeb842f7bc6c6f10b54bb6f20a920f5bb5203a9a0b
parentcea824d416522ce63d83b45fc0dc53c0f5b68cee
net/mlx5: Add sniffer namespaces

Add sniffer TX and RX namespaces to receive ingoing and outgoing
traffic.

Each outgoing/incoming packet is duplicated and steered to the sniffer
TX/RX namespace in addition to the regular flow.

Signed-off-by: Maor Gottlieb <maorg@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.h
include/linux/mlx5/fs.h