summaryrefslogtreecommitdiffstats
path: root/include/linux/mlx5/fs.h
diff options
context:
space:
mode:
authorMaor Gottlieb2016-06-06 17:09:35 +0200
committerLeon Romanovsky2016-08-18 17:49:59 +0200
commit87d22483ce68e609818d61e3a65361f5634c6cd6 (patch)
treeb842f7bc6c6f10b54bb6f20a920f5bb5203a9a0b /include/linux/mlx5/fs.h
parentnet/mlx5: Introduce sniffer steering hardware capabilities (diff)
downloadkernel-qcow2-linux-87d22483ce68e609818d61e3a65361f5634c6cd6.tar.gz
kernel-qcow2-linux-87d22483ce68e609818d61e3a65361f5634c6cd6.tar.xz
kernel-qcow2-linux-87d22483ce68e609818d61e3a65361f5634c6cd6.zip
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>
Diffstat (limited to 'include/linux/mlx5/fs.h')
-rw-r--r--include/linux/mlx5/fs.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/mlx5/fs.h b/include/linux/mlx5/fs.h
index 8803212fc3aa..93ebc5e21334 100644
--- a/include/linux/mlx5/fs.h
+++ b/include/linux/mlx5/fs.h
@@ -63,6 +63,8 @@ enum mlx5_flow_namespace_type {
MLX5_FLOW_NAMESPACE_FDB,
MLX5_FLOW_NAMESPACE_ESW_EGRESS,
MLX5_FLOW_NAMESPACE_ESW_INGRESS,
+ MLX5_FLOW_NAMESPACE_SNIFFER_RX,
+ MLX5_FLOW_NAMESPACE_SNIFFER_TX,
};
struct mlx5_flow_table;