]> git.baikalelectronics.ru Git - kernel.git/commit
mlxsw: spectrum_router: Update multipath hash parameters upon netevents
authorIdo Schimmel <idosch@mellanox.com>
Thu, 2 Nov 2017 16:14:10 +0000 (17:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 3 Nov 2017 06:40:41 +0000 (15:40 +0900)
commit9db74467bfab3f36813cddc1dab1eaee5fafb00a
tree83492098d0c91c46eb68b578c6318efcbd23241d
parent75636c5587ea1b270c192d23cc662ca14dac7e41
mlxsw: spectrum_router: Update multipath hash parameters upon netevents

Make sure the device and the kernel are performing the multipath hash
according to the same parameters by updating the device whenever the
relevant netevent is generated.

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