net/mlx5: Introduce offloads steering namespace
authorOr Gerlitz <ogerlitz@mellanox.com>
Fri, 1 Jul 2016 11:50:58 +0000 (14:50 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 2 Jul 2016 18:40:39 +0000 (14:40 -0400)
commitacbc2004d7129a1ecf02414c1da8808bdc06d5a2
tree95890f06922fb5eea82e92a0bb378d915ffac1d8
parentab22be9ba30a08482b2c2effb36ac3f0ed3df465
net/mlx5: Introduce offloads steering namespace

Add a new namespace (MLX5_FLOW_NAMESPACE_OFFLOADS) to be populated
with flow steering rules that deal with rules that have have to
be executed before the EN NIC steering rules are matched.

The namespace is located after the bypass name-space and before the
kernel name-space. Therefore, it precedes the HW processing done for
rules set for the kernel NIC name-space.

Under SRIOV, it would allow us to match on e-switch missed packet
and forward them to the relevant VF representor TIR.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Amir Vadai <amir@vadai.me>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
include/linux/mlx5/fs.h
This page took 0.027148 seconds and 5 git commands to generate.