mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-03-30 19:15:14 +00:00
[NET]: Document ->hard_start_xmit() locking in netdevices.txt
Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
af191367a7
commit
aa77d26961
1 changed files with 2 additions and 0 deletions
|
@ -51,6 +51,8 @@ dev->hard_start_xmit:
|
||||||
set_multicast_list
|
set_multicast_list
|
||||||
Context: BHs disabled
|
Context: BHs disabled
|
||||||
Notes: netif_queue_stopped() is guaranteed false
|
Notes: netif_queue_stopped() is guaranteed false
|
||||||
|
Interrupts must be enabled when calling hard_start_xmit.
|
||||||
|
(Interrupts must also be enabled when enabling the BH handler.)
|
||||||
Return codes:
|
Return codes:
|
||||||
o NETDEV_TX_OK everything ok.
|
o NETDEV_TX_OK everything ok.
|
||||||
o NETDEV_TX_BUSY Cannot transmit packet, try later
|
o NETDEV_TX_BUSY Cannot transmit packet, try later
|
||||||
|
|
Loading…
Add table
Reference in a new issue