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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 30 May 2018 05:51:59 +0000 (07:51 +0200)
commitbadacb781dce84a4942071828c2c248482055d66
treed920e6c773bb1cc338cb5cec594b9c521456f7f4
parent2e9f41ace36b52039ce195a9109cb221a8ad93d2
net/mlx5e: Return error if prio is specified when offloading eswitch vlan push

[ Upstream commit 001a2fc0c8cc29241305e44ffbce52d1daf8782b ]

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>
Signed-off-by: Sasha Levin <alexander.levin@microsoft.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/en_tc.c