diff options
Diffstat (limited to 'Documentation/networking/netdevices.txt')
-rw-r--r-- | Documentation/networking/netdevices.txt | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Documentation/networking/netdevices.txt b/Documentation/networking/netdevices.txt index 37869295fc70..9f7be9b7785e 100644 --- a/Documentation/networking/netdevices.txt +++ b/Documentation/networking/netdevices.txt | |||
@@ -95,9 +95,13 @@ dev->set_multicast_list: | |||
95 | Synchronization: netif_tx_lock spinlock. | 95 | Synchronization: netif_tx_lock spinlock. |
96 | Context: BHs disabled | 96 | Context: BHs disabled |
97 | 97 | ||
98 | dev->poll: | 98 | struct napi_struct synchronization rules |
99 | Synchronization: __LINK_STATE_RX_SCHED bit in dev->state. See | 99 | ======================================== |
100 | dev_close code and comments in net/core/dev.c for more info. | 100 | napi->poll: |
101 | Synchronization: NAPI_STATE_SCHED bit in napi->state. Device | ||
102 | driver's dev->close method will invoke napi_disable() on | ||
103 | all NAPI instances which will do a sleeping poll on the | ||
104 | NAPI_STATE_SCHED napi->state bit, waiting for all pending | ||
105 | NAPI activity to cease. | ||
101 | Context: softirq | 106 | Context: softirq |
102 | will be called with interrupts disabled by netconsole. | 107 | will be called with interrupts disabled by netconsole. |
103 | |||