Re: e1000_xmit_frame and e1000_down racing with next_to_use?

2006-09-08 Thread Auke Kok
Shaw Vrana wrote: On Wed, 6 Sep 2006 10:58:15 -0700 (PDT) [EMAIL PROTECTED] wrote: Hello All, I have a question about the use of the tx_ring->next_to_use variable in the e1000. Specifically, I'm wondering about a race between the use of next_to_use in e1000_xmit_frame and the clearing of next

Re: e1000_xmit_frame and e1000_down racing with next_to_use?

2006-09-06 Thread Shaw Vrana
> On Wed, 6 Sep 2006 10:58:15 -0700 (PDT) > [EMAIL PROTECTED] wrote: > >> Hello All, >> >> I have a question about the use of the tx_ring->next_to_use variable in >> the e1000. Specifically, I'm wondering about a race between the use of >> next_to_use in e1000_xmit_frame and the clearing of next_t

Re: e1000_xmit_frame and e1000_down racing with next_to_use?

2006-09-06 Thread Stephen Hemminger
On Wed, 6 Sep 2006 10:58:15 -0700 (PDT) [EMAIL PROTECTED] wrote: > Hello All, > > I have a question about the use of the tx_ring->next_to_use variable in > the e1000. Specifically, I'm wondering about a race between the use of > next_to_use in e1000_xmit_frame and the clearing of next_to_use in

e1000_xmit_frame and e1000_down racing with next_to_use?

2006-09-06 Thread shaw
Hello All, I have a question about the use of the tx_ring->next_to_use variable in the e1000. Specifically, I'm wondering about a race between the use of next_to_use in e1000_xmit_frame and the clearing of next_to_use in e1000_down via e1000_clean_tx_ring. Thread 1 (_xmit) -> first = adapter->t