]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commit
mlxsw: spectrum_router: Add neighbour offload indication
authorIdo Schimmel <idosch@mellanox.com>
Sun, 14 Apr 2019 18:57:49 +0000 (18:57 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 15 Apr 2019 20:29:20 +0000 (13:29 -0700)
commitcaf345a18b2fe14f9b3ad50b8d4853e76ae999e8
tree45cca10e577f1bfb4282fc62fb80e6dda22c32ad
parenta85e84e0301b069769f187d281576eaddccb32d6
mlxsw: spectrum_router: Add neighbour offload indication

In a similar fashion to routes and FDB entries, the neighbour table is
reflected to the device.

Set an offload indication on the neighbour in case it was programmed to
the device.

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