mlxsw: spectrum_flower: Disallow usage of vlan_id key on egress
authorNir Dotan <nird@mellanox.com>
Thu, 9 Aug 2018 08:59:07 +0000 (11:59 +0300)
committerDavid S. Miller <davem@davemloft.net>
Thu, 9 Aug 2018 17:36:10 +0000 (10:36 -0700)
commit903fcf734f468afb5a3f153f870f58e4c1d5e525
treea03797ce9fd5546ef90c77d339767df3134d8940
parent82b94f5d6891a8e58efdb9b054bdadbbdddec9d9
mlxsw: spectrum_flower: Disallow usage of vlan_id key on egress

As recent spectrum FW imposes a limitation on using vlan_id key for
egress ACL, disallow the usage of that key accordingly and return a
proper extack message.

Signed-off-by: Nir Dotan <nird@mellanox.com>
Reviewed-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlxsw/spectrum.h
drivers/net/ethernet/mellanox/mlxsw/spectrum_acl.c
drivers/net/ethernet/mellanox/mlxsw/spectrum_flower.c