]> 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)
commite766792ee364d89c35bb462e206b915287b97f92
treed7132f8757ab845102a393de4c2e5ba858be53ba
parent78080f553ea393f07f5209042b7930c0615f6a57
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