]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commitcc495188a8ff0d169ad7c0182acd9c08b90e29ea
tree384a3bd2198b1c0fd4209b627fdde49044862d6a
parent1482bd3d50d77d28961999ade98854b31b342156
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