diff options
| author | Stanislav Fomichev <[email protected]> | 2025-03-05 16:37:23 +0000 |
|---|---|---|
| committer | Jakub Kicinski <[email protected]> | 2025-03-06 20:59:43 +0000 |
| commit | cae03e5bdd9e0c8570506c50f1f234da40201732 (patch) | |
| tree | 6ba78649fe86149ca22105ed86327ed18e5759e5 /net/core/dev_api.c | |
| parent | net: hold netdev instance lock during qdisc ndo_setup_tc (diff) | |
| download | kernel-cae03e5bdd9e0c8570506c50f1f234da40201732.tar.gz kernel-cae03e5bdd9e0c8570506c50f1f234da40201732.zip | |
net: hold netdev instance lock during queue operations
For the drivers that use queue management API, switch to the mode where
core stack holds the netdev instance lock. This affects the following
drivers:
- bnxt
- gve
- netdevsim
Originally I locked only start/stop, but switched to holding the
lock over all iterations to make them look atomic to the device
(feels like it should be easier to reason about).
Reviewed-by: Eric Dumazet <[email protected]>
Cc: Saeed Mahameed <[email protected]>
Signed-off-by: Stanislav Fomichev <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'net/core/dev_api.c')
0 files changed, 0 insertions, 0 deletions
