]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5: TC: Offload flow table rules
authorPaul Blakey <paulb@mellanox.com>
Mon, 11 Nov 2019 23:34:30 +0000 (00:34 +0100)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 13 Nov 2019 22:25:04 +0000 (14:25 -0800)
commit36d87ceea3fbbc4d5f30cdd1e59ad3a256b813da
treed7132f8757ab845102a393de4c2e5ba858be53ba
parentf0a28aa26938c1d9f938debaa672c615061a6d39
net/mlx5: TC: Offload flow table rules

Since both tc rules and flow table rules are of the same format,
we can re-use tc parsing for that, and move the flow table rules
to their steering domain - In this case, the next chain after
max tc chain.

Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Mark Bloch <markb@mellanox.com>
Acked-by: Pablo Neira Ayuso <pablo@netfilter.org>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
drivers/net/ethernet/mellanox/mlx5/core/en_tc.h