]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit19169330239598ab356770d4fcddd8424e6c5858
treedcbe97df6797c3662ce082a51d913191c9d3056c
parent9e0d10b285da053dfee52b66adf64f3dc449d9fa
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