net/mlx5: Add proper NIC TX steering flow tables support
authorMark Bloch <markb@mellanox.com>
Tue, 28 Aug 2018 11:18:41 +0000 (14:18 +0300)
committerLeon Romanovsky <leonro@mellanox.com>
Wed, 5 Sep 2018 04:56:33 +0000 (07:56 +0300)
commit8ce78257965e6cd49720e653867e766ecd38883f
treedcbe97df6797c3662ce082a51d913191c9d3056c
parent2226dcb424bf0641f9ee61b1209e0bb4e5db5b94
net/mlx5: Add proper NIC TX steering flow tables support

Extend the ability to add steering rules to NIC TX flow tables.
For now, we are only adding TX bypass (egress) which is used by the RDMA
side. This will allow to shape outgoing traffic and tweak it if needed, for
example performing encapsulation or rewriting headers.

Signed-off-by: Mark Bloch <markb@mellanox.com>
Reviewed-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fs_cmd.c
drivers/net/ethernet/mellanox/mlx5/core/fs_core.c
include/linux/mlx5/device.h