Thread (62 messages) 62 messages, 13 authors, 2005-01-27

Re: [PATCH]: was Re: LLTX and netif_stop_queue

From: "David S. Miller" <davem@davemloft.net>
Date: 2005-01-20 05:18:35

On 19 Jan 2005 23:01:47 -0500
jamal [off-list ref] wrote:
-----
/* Called with dev->xmit_lock held and interrupts disabled.  */
 static int
 e1000_xmit_frame(struct sk_buff *skb, struct net_device *netdev)
---

Who calls that with dev->xmit_lock held and interrupts disabled?
qdisc_restart() and dev_queue_xmit(), via netdev->hard_start_xmit().
Shouldnt the spin_unlock(&netdev->xmit_lock); be right at the top of
that routine now?
Nope, the idea now is that netdev->xmit_lock replaces the driver
private tx_lock
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help