]> asedeno.scripts.mit.edu Git - linux.git/commit
net/mlx5e: Offload tc vlan push/pop using HW action
authorOr Gerlitz <ogerlitz@mellanox.com>
Wed, 31 Jan 2018 16:36:03 +0000 (18:36 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Mon, 26 Mar 2018 20:47:13 +0000 (13:47 -0700)
commit6acfbf38a98a4c455f5b8c827854e1dc201be745
treed0f735c719c0cf085f41de5211ab6a0c2fa77f10
parent0c06897a9ac7e2db9ad2df15bc6511e8ab88378f
net/mlx5e: Offload tc vlan push/pop using HW action

Currently, we are emulating the offload of vlan push/pop actions using
global setup as done by commit f5f82476090f ("net/mlx5: E-Switch, Support
VLAN actions in the offloads mode"). With newer NICs, we can apply a flow
action for that matter, do that while keeping the emulated path for the
older HW brands.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Mark Bloch <markb@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