]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_flower: Disable mixed bound blocks to contain action drop
authorJiri Pirko <jiri@mellanox.com>
Mon, 24 Feb 2020 07:35:49 +0000 (08:35 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 24 Feb 2020 19:55:07 +0000 (11:55 -0800)
commit0eb9df9906d5c18700dd0233522b32b76b2d1454
tree56ce972acda5971fdbd4584a81118c4d8ed53cd6
parent057c158a621bb014863e0a2b60cd172ec79a9dc9
mlxsw: spectrum_flower: Disable mixed bound blocks to contain action drop

Action drop is going to be tracked by two separate traps, one for
ingress and one for egress. Prepare for it and disallow the possibility
to have drop action in blocks which are bound to both ingress and
egress.

Signed-off-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