linux_dsm_epyc7002/drivers/net/ethernet/mellanox
Ido Schimmel a59b7e0246 mlxsw: spectrum_router: Correctly reallocate adjacency entries
mlxsw_sp_nexthop_group_mac_update() is called in one of two cases:

1) When the MAC of a nexthop needs to be updated
2) When the size of a nexthop group has changed

In the second case the adjacency entries for the nexthop group need to
be reallocated from the adjacency table. In this case we must write to
the entries the MAC addresses of all the nexthops that should be
offloaded and not only those whose MAC changed. Otherwise, these entries
would be filled with garbage data, resulting in packet loss.

Fixes: a7ff87acd9 ("mlxsw: spectrum_router: Implement next-hop routing")
Signed-off-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2017-01-24 13:42:45 -05:00
..
mlx4 net/mlx4_en: Remove unnecessary checks when setting num channels 2017-01-18 14:58:23 -05:00
mlx5/core net/mlx5e: Do not recycle pages from emergency reserve 2017-01-20 12:41:46 -05:00
mlxsw mlxsw: spectrum_router: Correctly reallocate adjacency entries 2017-01-24 13:42:45 -05:00
Kconfig
Makefile