diff options
author | Petr Machata <petrm@mellanox.com> | 2018-08-01 00:37:36 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-01 09:52:30 -0700 |
commit | 1f65a33fc7e22de96055778b0e4f214e005291e7 (patch) | |
tree | 7ba203f6ad7bdf7938d2c21f233055d0cf754b6e /tools/perf/scripts/python/export-to-postgresql.py | |
parent | d18c5d1995aa322b722fa731397e28ebcd00b3c6 (diff) |
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/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions