netdev
[Top] [All Lists]

Re: netif_rx_schedule_prep() returning false?

To: Asim Shankar <asimshankar@xxxxxxxxx>
Subject: Re: netif_rx_schedule_prep() returning false?
From: Scott Feldman <sfeldma@xxxxxxxxx>
Date: Wed, 02 Feb 2005 11:16:32 -0800
Cc: netdev@xxxxxxxxxxx
In-reply-to: <7bca1cb5050202100475279073@xxxxxxxxxxxxxx>
References: <7bca1cb5050202100475279073@xxxxxxxxxxxxxx>
Reply-to: sfeldma@xxxxxxxxx
Sender: netdev-bounce@xxxxxxxxxxx
On Wed, 2005-02-02 at 10:04, Asim Shankar wrote:
> Specifically, in e1000 driver, when loaded with TxIntDelay=0,
> RxIntDelay=0, InterruptThrottleRate=0 (i.e., no hardware
> interrupt-coalescing), I've observed that the call to
> netif_rx_schedule_prep() in the interrupt handler (e1000_intr())
> ocassionally returns false. Further investigation shows that this is
> because the __LINK_STATE_RX_SCHED bit of the struct net_device's state
> is already set (netif_running(dev) is always true). I also checked the
> interrupt cause register (ICR) in the interrupt handler and it seems
> the interrupts were caused by packet receives (ICR == E1000_ICR_RXT0,
> no other bits in the ICR register were set), which by my understanding
> should have not been possible.

I'm running the same setup with delays turned off and I'm not seeing
what you're seeing.  What e1000 controller are you using?  Send lspci
-n.

-scott


<Prev in Thread] Current Thread [Next in Thread>