| To: | "David S. Miller" <davem@xxxxxxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH]: was Re: LLTX and netif_stop_queue |
| From: | Grant Grundler <iod00d@xxxxxx> |
| Date: | Thu, 20 Jan 2005 13:56:50 -0800 |
| Cc: | Tommy Christensen <tommy.christensen@xxxxxxxxx>, roland@xxxxxxxxxxx, shemminger@xxxxxxxx, hadi@xxxxxxxxxx, iod00d@xxxxxx, eric.lemoine@xxxxxxxxx, netdev@xxxxxxxxxxx, ak@xxxxxxx, openib-general@xxxxxxxxxx, kaber@xxxxxxxxx |
| In-reply-to: | <20050120133420.317bea31.davem@davemloft.net> |
| References: | <5cac192f0501030907c755135@mail.gmail.com> <20050103171227.GD7370@esmail.cup.hp.com> <1104812294.1085.53.camel@jzny.localdomain> <20050119144711.3fdd3d93.davem@davemloft.net> <20050119151853.259de49a@dxpl.pdx.osdl.net> <20050119164640.6c67bdfa.davem@davemloft.net> <52r7kgu5n5.fsf@topspin.com> <20050119230526.393a5184.davem@davemloft.net> <1106229084.5812.40.camel@tsc-6.cph.tpack.net> <20050120133420.317bea31.davem@davemloft.net> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
| User-agent: | Mutt/1.5.6+20040907i |
On Thu, Jan 20, 2005 at 01:34:20PM -0800, David S. Miller wrote:
> Even worse is that this breaks the acenic driver too because
> it does this:
>
> unsigned long maxjiff = jiffies + 3*HZ;
>
> if (time_before(jiffies, maxjiff)) {
> barrier();
> cpu_relax();
> goto restart;
> }
>
> in it's ->hard_start_xmit() routine.
>
> I was auditing spin_lock_irq() usage in ->hard_start_xmit()
> routines when I caught this.
>
> This one isn't impossible to fix though. We can replace the
> jiffies games with a udelay/mdelay and a "maxloop" variable.
> Any takers?
I saw the next mail suggesting to revert the changes because of more fallout.
But if/when acenic needs changes like those proposed above, I can implement
and test proposed changes if folks have the patience to wait a week or so.
acenic is no where on my "official HP supported NICs" list but I happen
to have the HW/infrastructure to test them.
grant
|
| Previous by Date: | Re: V2.4 policy router operates faster/better than V2.6, Robert Olsson |
|---|---|
| Next by Date: | 2.6.10-ac8 - kernel BUG at net/ipv4/tcp_output.c:922!, syrius . ml |
| Previous by Thread: | Re: [PATCH]: was Re: LLTX and netif_stop_queue, David S. Miller |
| Next by Thread: | Re: [PATCH]: was Re: LLTX and netif_stop_queue, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |