]> 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)
commitad6947dbf57de313c42e80d8013a0e821a45ab10
tree44d59a08fc6872245f66c4e2219609a488ee1fba
parent6088f095f04d4dd97f183da511891153dfe5d0ee
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