diff options
author | 2018-08-01 00:37:36 +0200 | |
---|---|---|
committer | 2018-08-01 09:52:30 -0700 | |
commit | 1f65a33fc7e22de96055778b0e4f214e005291e7 (patch) | |
tree | 7ba203f6ad7bdf7938d2c21f233055d0cf754b6e /tools/testing/selftests/drivers | |
parent | net: ipv4: Notify about changes to ip_forward_update_priority (diff) | |
download | linux-dev-1f65a33fc7e22de96055778b0e4f214e005291e7.tar.xz linux-dev-1f65a33fc7e22de96055778b0e4f214e005291e7.zip |
mlxsw: spectrum: Extract work-scheduling into a new function
The boilerplate to schedule NETEVENT_IPV4_MPATH_HASH_UPDATE and
NETEVENT_IPV6_MPATH_HASH_UPDATE handling is almost equivalent to that of
NETEVENT_IPV4_FWD_UPDATE_PRIORITY_UPDATE that's coming in the next
patch. The only difference is which actual worker function should be
called. Extract this boilerplate into a named function in order to allow
reuse.
Signed-off-by: Petr Machata <petrm@mellanox.com>
Reviewed-by: Ido Schimmel <idosch@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/testing/selftests/drivers')
0 files changed, 0 insertions, 0 deletions