diff options
author | Jakub Kicinski <kuba@kernel.org> | 2025-01-10 23:13:39 -0800 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-13 19:08:30 -0800 |
commit | afc664987ab318c227ebc0f639f5afc921aaf674 (patch) | |
tree | c43e52fb296ffd6df58996dc123ad74bc5fd8b5d /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 37adf101f6f72be4a658ec019912dce67c81660e (diff) |
eth: iavf: extend the netdev_lock usage
iavf uses the netdev->lock already to protect shapers.
In an upcoming series we'll try to protect NAPI instances
with netdev->lock.
We need to modify the protection a bit. All NAPI related
calls in the driver need to be consistently under the lock.
This will allow us to easily switch to a "we already hold
the lock" NAPI API later.
register_netdevice(), OTOH, must not be called under
the netdev_lock() as we do not intend to have an
"already locked" version of this call.
Link: https://patch.msgid.link/20250111071339.3709071-1-kuba@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions