]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Support offloading double vlan push/pop tc actions
authorJianbo Liu <jianbol@mellanox.com>
Wed, 25 Apr 2018 09:57:26 +0000 (09:57 +0000)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 23 Jul 2018 22:01:11 +0000 (15:01 -0700)
commit27a698abbdec2fef28f110830901b489b9f0fd9c
tree384a3bd2198b1c0fd4209b627fdde49044862d6a
parented36724a8ada146267ea2e5e3999f720349e4a06
net/mlx5e: Support offloading double vlan push/pop tc actions

As we can configure two push/pop actions in one flow table entry,
add support to offload those double vlan actions in a rule to HW.

Signed-off-by: Jianbo Liu <jianbol@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c
drivers/net/ethernet/mellanox/mlx5/core/eswitch.h
drivers/net/ethernet/mellanox/mlx5/core/eswitch_offloads.c