diff options
| author | Petr Machata <[email protected]> | 2023-07-27 17:59:24 +0200 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2023-07-28 13:38:45 -0700 |
| commit | d0e0e880122fb865884ef86372cd6221225c6459 (patch) | |
| tree | be125d06affc13afc852084bfa8c35fbae0d7d2d /tools/perf/scripts/python/event_analyzing_sample.py | |
| parent | b17b2d57b7c1193a1b86c07b3ff0beca7a607a95 (diff) | |
mlxsw: spectrum_router: RIF: Use tracker helpers to hold & put netdevices
Using the tracking helpers makes it easier to debug netdevice refcount
imbalances when CONFIG_NET_DEV_REFCNT_TRACKER is enabled.
Convert dev_hold() / dev_put() to netdev_hold() / netdev_put() in the
router code that deals with RIF allocation.
Signed-off-by: Petr Machata <[email protected]>
Reviewed-by: Ido Schimmel <[email protected]>
Reviewed-by: Eric Dumazet <[email protected]>
Link: https://lore.kernel.org/r/8b7701a7b439ac268e4be4040eff99d01e27ae47.1690471775.git.petrm@nvidia.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions