]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit1cff142715b18f9eb70ae4c8a91f1aa30edfc4bb
treea03797ce9fd5546ef90c77d339767df3134d8940
parent4630c916b2a8e767629f638229a4e86e65b0242f
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