]> git.ipfire.org Git - thirdparty/linux.git/commit - drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
net/mlx5e: Support offloading tc priorities and chains for eswitch flows
authorPaul Blakey <paulb@mellanox.com>
Sun, 2 Sep 2018 07:19:14 +0000 (10:19 +0300)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 17 Oct 2018 21:20:49 +0000 (14:20 -0700)
commitbf07aa730a04a375bc10d09df1e81357af1d4477
treea0cd2f4ebb7fdc40e6d522d8346a0778d938eec7
parent5dbe906ff1d5040013d30df1e8c769d28af7e0f9
net/mlx5e: Support offloading tc priorities and chains for eswitch flows

Currently we fail when user specify a non-zero chain, this patch adds the
support for it and tc priorities. To get to a new chain, use the tc
goto action.

Currently we support a fixed prio range 1-16, and chain range 0-3.

Signed-off-by: Paul Blakey <paulb@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_main.c
drivers/net/ethernet/mellanox/mlx5/core/en_rep.c
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c