]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitac9f74f6f2c88f6a9579c0aadbebc16e9291eed5
treef314311bbec625d4ce5d88e00f695873d54d5676
parent0fb2630458272cad3a8cfbc5ecc2f4b85c60d064
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