Commit 04fd3d35 authored by Ben Hutchings's avatar Ben Hutchings Committed by David S. Miller
Browse files

doc, net: Update documentation of synchronisation for TX multiqueue

Commits e308a5d8 ('netdev: Add
netdev->addr_list_lock protection.') and

 ('netdev: Allocate multiple
queues for TX.') introduced more fine-grained locks.

Signed-off-by: default avatarBen Hutchings <>
Signed-off-by: default avatarDavid S. Miller <>
parent 93b6a3ad
......@@ -65,7 +65,7 @@ dev->get_stats:
Context: nominally process, but don't sleep inside an rwlock
Synchronization: netif_tx_lock spinlock.
Synchronization: __netif_tx_lock spinlock.
When the driver sets NETIF_F_LLTX in dev->features this will be
called without holding netif_tx_lock. In this case the driver
......@@ -87,12 +87,12 @@ dev->hard_start_xmit:
Only valid when NETIF_F_LLTX is set.
Synchronization: netif_tx_lock spinlock.
Synchronization: netif_tx_lock spinlock; all TX queues frozen.
Context: BHs disabled
Notes: netif_queue_stopped() is guaranteed true
Synchronization: netif_tx_lock spinlock.
Synchronization: netif_addr_lock spinlock.
Context: BHs disabled
struct napi_struct synchronization rules
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment