]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: Add empty egress namespace to flow steering core
authorAviad Yehezkel <aviadye@mellanox.com>
Sun, 18 Feb 2018 11:17:17 +0000 (13:17 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 7 Mar 2018 06:20:13 +0000 (22:20 -0800)
commit18fe6f004fad181c66c10d15c22ae5217b1a5d53
tree44d59a08fc6872245f66c4e2219609a488ee1fba
parent62810fcdbed44705c32b11e7b13c84a1a3851b63
net/mlx5: Add empty egress namespace to flow steering core

Currently, we don't support egress flow steering namespace in mlx5
flow steering core implementation. However, when we want to encrypt
a packet, we model it as a flow steering rule in the egress path.
To overcome this, we add an empty egress namespace to flow steering.
This namespace is initialized only when ipsec support exists.
In the future, this will grow to a full blown full steering
implementation, resembling the ingress path.

Signed-off-by: Matan Barak <matanb@mellanox.com>
Signed-off-by: Aviad Yehezkel <aviadye@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/diag/fs_tracepoint.c
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.h
include/linux/mlx5/fs.h
include/linux/mlx5/mlx5_ifc.h