netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Question about tg3 and bnx2 driver suppliers
@ 2011-02-17 13:24 Michael Durket
  2011-02-17 14:16 ` Ben Hutchings
  2011-02-17 14:17 ` Eric Dumazet
  0 siblings, 2 replies; 6+ messages in thread
From: Michael Durket @ 2011-02-17 13:24 UTC (permalink / raw)
  To: netdev

I'm trying to fix a problem with packet drops and frame errors (really rxbds_empty and rx_discards (or rx_fw_discards depending on whether or not its a tg3 supported chip or a bnx2 chip)). We have this happening on pretty much all the RedHat 5.x systems we're running these drivers on. In investigating what remedies to employ to fix this, I'm trying to determine if new versions of this driver are supplied by Broadcom, or by people within the Linux community so 
I can find the right place to ask questions about it. I'm pretty sure this isn't the right list for these types of questions, but if someone could tell me whether I should be contacting Broadcom directly, or the name of some other Linux mailing list or forum that might help, I'd appreciate it.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about tg3 and bnx2 driver suppliers
  2011-02-17 13:24 Question about tg3 and bnx2 driver suppliers Michael Durket
@ 2011-02-17 14:16 ` Ben Hutchings
  2011-02-17 14:17 ` Eric Dumazet
  1 sibling, 0 replies; 6+ messages in thread
From: Ben Hutchings @ 2011-02-17 14:16 UTC (permalink / raw)
  To: Michael Durket; +Cc: netdev

On Thu, 2011-02-17 at 05:24 -0800, Michael Durket wrote:
> I'm trying to fix a problem with packet drops and frame errors (really
> rxbds_empty and rx_discards (or rx_fw_discards depending on whether or
> not its a tg3 supported chip or a bnx2 chip)). We have this happening
> on pretty much all the RedHat 5.x systems we're running these drivers
> on. In investigating what remedies to employ to fix this, I'm trying
> to determine if new versions of this driver are supplied by Broadcom,
> or by people within the Linux community so 
> I can find the right place to ask questions about it. I'm pretty sure
> this isn't the right list for these types of questions, but if someone
> could tell me whether I should be contacting Broadcom directly, or the
> name of some other Linux mailing list or forum that might help, I'd
> appreciate it.

If you received the drivers as part of RHEL, you should ask Red Hat.
However, in general, RH takes drivers from Linus's tree - either as part
of a complete release, or as a backport.  Most development on network
drivers for current production seems to be done by developers employed
or contracted by the corresponding manufacturers, but it is subject to
review by the Linux community as represented here on netdev.

The MAINTAINERS file in the Linux source tree lists the primary
maintainer(s) for each driver:

BROADCOM BNX2 GIGABIT ETHERNET DRIVER
M:	Michael Chan <mchan@broadcom.com>
L:	netdev@vger.kernel.org
S:	Supported
F:	drivers/net/bnx2.*
F:	drivers/net/bnx2_*

BROADCOM TG3 GIGABIT ETHERNET DRIVER
M:	Matt Carlson <mcarlson@broadcom.com>
M:	Michael Chan <mchan@broadcom.com>
L:	netdev@vger.kernel.org
S:	Supported
F:	drivers/net/tg3.*

Ben.

-- 
Ben Hutchings, Senior Software Engineer, Solarflare Communications
Not speaking for my employer; that's the marketing department's job.
They asked us to note that Solarflare product names are trademarked.


^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about tg3 and bnx2 driver suppliers
  2011-02-17 13:24 Question about tg3 and bnx2 driver suppliers Michael Durket
  2011-02-17 14:16 ` Ben Hutchings
@ 2011-02-17 14:17 ` Eric Dumazet
  2011-02-20 18:19   ` Micha Nelissen
  1 sibling, 1 reply; 6+ messages in thread
From: Eric Dumazet @ 2011-02-17 14:17 UTC (permalink / raw)
  To: Michael Durket; +Cc: netdev

Le jeudi 17 février 2011 à 05:24 -0800, Michael Durket a écrit :
> I'm trying to fix a problem with packet drops and frame errors (really
> rxbds_empty and rx_discards (or rx_fw_discards depending on whether or
> not its a tg3 supported chip or a bnx2 chip)). We have this happening
> on pretty much all the RedHat 5.x systems we're running these drivers
> on. In investigating what remedies to employ to fix this, I'm trying
> to determine if new versions of this driver are supplied by Broadcom,
> or by people within the Linux community so 
> I can find the right place to ask questions about it. I'm pretty sure
> this isn't the right list for these types of questions, but if someone
> could tell me whether I should be contacting Broadcom directly, or the
> name of some other Linux mailing list or forum that might help, I'd
> appreciate it.
> 

It _is_ the right place, dont worry ;)

One possible cause of packet drops is when softirqs are disabled for too
long periods, even if NIC has a big RX ring (check ethtool -g eth0)

We fixed one big offender some weeks ago : iptables -L

Fix is in commit 83723d60717f8da0f53f

http://git2.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commitdiff;h=83723d60717f8da0f53f91cf42a845ed56c09662




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about tg3 and bnx2 driver suppliers
  2011-02-17 14:17 ` Eric Dumazet
@ 2011-02-20 18:19   ` Micha Nelissen
  2011-02-20 19:17     ` Eric Dumazet
  0 siblings, 1 reply; 6+ messages in thread
From: Micha Nelissen @ 2011-02-20 18:19 UTC (permalink / raw)
  To: Eric Dumazet; +Cc: Michael Durket, netdev@vger.kernel.org

Eric Dumazet wrote:
> One possible cause of packet drops is when softirqs are disabled for too
> long periods, even if NIC has a big RX ring (check ethtool -g eth0)

Why aren't the softirqs converted to workqueues? Wouldn't that cut 
dependencies to other softirq users and improve latency?

Probably a stupid question, thanks.

Micha

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about tg3 and bnx2 driver suppliers
  2011-02-20 18:19   ` Micha Nelissen
@ 2011-02-20 19:17     ` Eric Dumazet
  2011-02-20 20:41       ` Stephen Hemminger
  0 siblings, 1 reply; 6+ messages in thread
From: Eric Dumazet @ 2011-02-20 19:17 UTC (permalink / raw)
  To: Micha Nelissen; +Cc: Michael Durket, netdev@vger.kernel.org

Le dimanche 20 février 2011 à 19:19 +0100, Micha Nelissen a écrit :
> Eric Dumazet wrote:
> > One possible cause of packet drops is when softirqs are disabled for too
> > long periods, even if NIC has a big RX ring (check ethtool -g eth0)
> 
> Why aren't the softirqs converted to workqueues? Wouldn't that cut 
> dependencies to other softirq users and improve latency?
> 

Because it was done like that in the old days.

Its a bit less important these days, now typical machines have 8+ cpus.
Each device interrupt can be handled by its own cpu :)






^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Question about tg3 and bnx2 driver suppliers
  2011-02-20 19:17     ` Eric Dumazet
@ 2011-02-20 20:41       ` Stephen Hemminger
  0 siblings, 0 replies; 6+ messages in thread
From: Stephen Hemminger @ 2011-02-20 20:41 UTC (permalink / raw)
  To: Eric Dumazet; +Cc: Micha Nelissen, Michael Durket, netdev@vger.kernel.org

On Sun, 20 Feb 2011 20:17:00 +0100
Eric Dumazet <eric.dumazet@gmail.com> wrote:

> Le dimanche 20 février 2011 à 19:19 +0100, Micha Nelissen a écrit :
> > Eric Dumazet wrote:
> > > One possible cause of packet drops is when softirqs are disabled for too
> > > long periods, even if NIC has a big RX ring (check ethtool -g eth0)
> > 
> > Why aren't the softirqs converted to workqueues? Wouldn't that cut 
> > dependencies to other softirq users and improve latency?
> > 
> 
> Because it was done like that in the old days.
> 
> Its a bit less important these days, now typical machines have 8+ cpus.
> Each device interrupt can be handled by its own cpu :)

The latency to schedule a work queue is still much higher
than the latency to do a softirq. Last time I played around with it,
things like loopback performance dropped 10% if using work queue.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2011-02-20 20:41 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-02-17 13:24 Question about tg3 and bnx2 driver suppliers Michael Durket
2011-02-17 14:16 ` Ben Hutchings
2011-02-17 14:17 ` Eric Dumazet
2011-02-20 18:19   ` Micha Nelissen
2011-02-20 19:17     ` Eric Dumazet
2011-02-20 20:41       ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).