提交 aa77d269 编写于 作者: B Ben Greear 提交者: David S. Miller

[NET]: Document ->hard_start_xmit() locking in netdevices.txt

Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 af191367
......@@ -51,6 +51,8 @@ dev->hard_start_xmit:
set_multicast_list
Context: BHs disabled
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:
o NETDEV_TX_OK everything ok.
o NETDEV_TX_BUSY Cannot transmit packet, try later
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册