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)
commit28678f07f127d151354ff12b0d05557ae897e972
tree83492098d0c91c46eb68b578c6318efcbd23241d
parentaf658b6a0e6da7a9d9b82fa536d610a7457f37fd
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