mlxsw: spectrum: Share one group for all locally delivered packets
authorIdo Schimmel <idosch@mellanox.com>
Mon, 25 May 2020 23:05:53 +0000 (02:05 +0300)
committerDavid S. Miller <davem@davemloft.net>
Wed, 27 May 2020 03:33:58 +0000 (20:33 -0700)
commit1260e083d4cff4dc223bb0913c35ba5e92d1b379
treef314311bbec625d4ce5d88e00f695873d54d5676
parent500769bebef7a3b1a60c3f6028690677332446c6
mlxsw: spectrum: Share one group for all locally delivered packets

Routed IP packets with the Router Alert option need to be trapped to
the CPU as they might need to be locally delivered to raw sockets with
the IP_ROUTER_ALERT / IPV6_ROUTER_ALERT socket option.

Move them to the same group with other packets that might need to be
trapped following route lookup.

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