net/mlx5e: Return error if prio is specified when offloading eswitch vlan push
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 30 Jan 2018 11:16:58 +0000 (13:16 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Tue, 20 Feb 2018 20:52:57 +0000 (12:52 -0800)
commit001a2fc0c8cc29241305e44ffbce52d1daf8782b
tree4ebd6adbe88ed872bfd3bc093e1905f896cb9059
parent4f5c02f949973b7c9dfa8a7c23d766b1208d208f
net/mlx5e: Return error if prio is specified when offloading eswitch vlan push

This isn't supported when we emulate eswitch vlan push action which
is the current state of things.

Fixes: 8b32580df1cb ('net/mlx5e: Add TC vlan action for SRIOV offloads')
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