* Re: tg3: transmit timed out, resetting [not found] ` <CABawtvNVKkxAgrQqJS7FJGoswQ9ZVyJcHcNwbSJQk4yscTn8gw@mail.gmail.com> @ 2012-06-06 4:12 ` Eric Dumazet 2012-06-06 4:52 ` ethan zhao 0 siblings, 1 reply; 6+ messages in thread From: Eric Dumazet @ 2012-06-06 4:12 UTC (permalink / raw) To: ethan zhao; +Cc: Matt Carlson, Christian Kujau, LKML, netdev On Wed, 2012-06-06 at 10:29 +0800, ethan zhao wrote: > So no way to fix it via firmware update or Linux driver ? :< Yes, but you need to cooperate, or else it might take more time than necessary. Asking questions like that on lkml is not going to help very much. So, once again, we kindly ask you try a recent kernel and post register dump and some additional information when transmit timeouts happen. The 'latest kernel' is either linux-3.5.rc1, or one of David Miller tree : http://git.kernel.org/?p=linux/kernel/git/davem/net-next.git;a=summary or http://git.kernel.org/?p=linux/kernel/git/davem/net.git;a=summary Thanks ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: tg3: transmit timed out, resetting 2012-06-06 4:12 ` tg3: transmit timed out, resetting Eric Dumazet @ 2012-06-06 4:52 ` ethan zhao 2012-06-07 22:56 ` Matt Carlson 0 siblings, 1 reply; 6+ messages in thread From: ethan zhao @ 2012-06-06 4:52 UTC (permalink / raw) To: Eric Dumazet; +Cc: Matt Carlson, Christian Kujau, LKML, netdev Eric, That is ask for confirmation from Matt Carlson of Broadcom. Ethan On Wed, Jun 6, 2012 at 12:12 PM, Eric Dumazet <eric.dumazet@gmail.com> wrote: > On Wed, 2012-06-06 at 10:29 +0800, ethan zhao wrote: >> So no way to fix it via firmware update or Linux driver ? :< > > Yes, but you need to cooperate, or else it might take more time than > necessary. > > Asking questions like that on lkml is not going to help very much. > > So, once again, we kindly ask you try a recent kernel and post > register dump and some additional information when transmit timeouts > happen. > > The 'latest kernel' is either linux-3.5.rc1, or one of David Miller > tree : > > http://git.kernel.org/?p=linux/kernel/git/davem/net-next.git;a=summary > > or > > http://git.kernel.org/?p=linux/kernel/git/davem/net.git;a=summary > > Thanks > > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: tg3: transmit timed out, resetting 2012-06-06 4:52 ` ethan zhao @ 2012-06-07 22:56 ` Matt Carlson 2012-06-08 1:24 ` Ethan Zhao 2012-06-11 23:42 ` David Miller 0 siblings, 2 replies; 6+ messages in thread From: Matt Carlson @ 2012-06-07 22:56 UTC (permalink / raw) To: ethan zhao; +Cc: Eric Dumazet, Matt Carlson, Christian Kujau, LKML, netdev On Wed, Jun 06, 2012 at 12:52:32PM +0800, ethan zhao wrote: > Eric, > That is ask for confirmation from Matt Carlson of Broadcom. > > Ethan > > On Wed, Jun 6, 2012 at 12:12 PM, Eric Dumazet <eric.dumazet@gmail.com> wrote: > > On Wed, 2012-06-06 at 10:29 +0800, ethan zhao wrote: > >> So no way to fix it via firmware update or Linux driver ? :< > > > > Yes, but you need to cooperate, or else it might take more time than > > necessary. > > > > Asking questions like that on lkml is not going to help very much. > > > > So, once again, we kindly ask you try a recent kernel and post > > register dump and some additional information when transmit timeouts > > happen. > > > > The 'latest kernel' is either linux-3.5.rc1, or one of David Miller > > tree : > > > > http://git.kernel.org/?p=linux/kernel/git/davem/net-next.git;a=summary > > > > or > > > > http://git.kernel.org/?p=linux/kernel/git/davem/net.git;a=summary > > > > Thanks Does the following patch fix your problem? [PATCH] tg3: Apply short DMA frag workaround to 5906 5906 devices also need the short DMA fragment workaround. This patch makes the necessary change. Signed-off-by: Matt Carlson <mcarlson@broadcom.com> --- drivers/net/ethernet/broadcom/tg3.c | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c index d55df32..2db4d70 100644 --- a/drivers/net/ethernet/broadcom/tg3.c +++ b/drivers/net/ethernet/broadcom/tg3.c @@ -14275,7 +14275,8 @@ static int __devinit tg3_get_invariants(struct tg3 *tp) } } - if (tg3_flag(tp, 5755_PLUS)) + if (tg3_flag(tp, 5755_PLUS) || + GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5906) tg3_flag_set(tp, SHORT_DMA_BUG); if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5719) -- 1.7.3.4 ^ permalink raw reply related [flat|nested] 6+ messages in thread
* Re: tg3: transmit timed out, resetting 2012-06-07 22:56 ` Matt Carlson @ 2012-06-08 1:24 ` Ethan Zhao 2012-06-11 23:42 ` David Miller 1 sibling, 0 replies; 6+ messages in thread From: Ethan Zhao @ 2012-06-08 1:24 UTC (permalink / raw) To: Matt Carlson; +Cc: Eric Dumazet, Christian Kujau, LKML, netdev Matt, I notice there are some AER errors ( UnsupReq+,RxErr+) with the tg3 from Christian' lspci output, do you know why and how to clear them ? UESta: DLP- SDES- TLP- FCP- CmpltTO- CmpltAbrt- UnxCmplt- RxOF- MalfTLP- ECRC- UnsupReq+ ACSViol- CESta: RxErr+ BadTLP- BadDLLP- Rollover- Timeout- NonFatalErr+ Thanks, Ethan On Fri, Jun 8, 2012 at 6:56 AM, Matt Carlson <mcarlson@broadcom.com> wrote: > On Wed, Jun 06, 2012 at 12:52:32PM +0800, ethan zhao wrote: >> Eric, >> That is ask for confirmation from Matt Carlson of Broadcom. >> >> Ethan >> >> On Wed, Jun 6, 2012 at 12:12 PM, Eric Dumazet <eric.dumazet@gmail.com> wrote: >> > On Wed, 2012-06-06 at 10:29 +0800, ethan zhao wrote: >> >> So no way to fix it via firmware update or Linux driver ? :< >> > >> > Yes, but you need to cooperate, or else it might take more time than >> > necessary. >> > >> > Asking questions like that on lkml is not going to help very much. >> > >> > So, once again, we kindly ask you try a recent kernel and post >> > register dump and some additional information when transmit timeouts >> > happen. >> > >> > The 'latest kernel' is either linux-3.5.rc1, or one of David Miller >> > tree : >> > >> > http://git.kernel.org/?p=linux/kernel/git/davem/net-next.git;a=summary >> > >> > or >> > >> > http://git.kernel.org/?p=linux/kernel/git/davem/net.git;a=summary >> > >> > Thanks > > Does the following patch fix your problem? > > > [PATCH] tg3: Apply short DMA frag workaround to 5906 > > 5906 devices also need the short DMA fragment workaround. This patch > makes the necessary change. > > Signed-off-by: Matt Carlson <mcarlson@broadcom.com> > --- > drivers/net/ethernet/broadcom/tg3.c | 3 ++- > 1 files changed, 2 insertions(+), 1 deletions(-) > > diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c > index d55df32..2db4d70 100644 > --- a/drivers/net/ethernet/broadcom/tg3.c > +++ b/drivers/net/ethernet/broadcom/tg3.c > @@ -14275,7 +14275,8 @@ static int __devinit tg3_get_invariants(struct tg3 *tp) > } > } > > - if (tg3_flag(tp, 5755_PLUS)) > + if (tg3_flag(tp, 5755_PLUS) || > + GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5906) > tg3_flag_set(tp, SHORT_DMA_BUG); > > if (GET_ASIC_REV(tp->pci_chip_rev_id) == ASIC_REV_5719) > -- > 1.7.3.4 > > ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: tg3: transmit timed out, resetting 2012-06-07 22:56 ` Matt Carlson 2012-06-08 1:24 ` Ethan Zhao @ 2012-06-11 23:42 ` David Miller [not found] ` <alpine.DEB.2.01.1206111650560.5568@trent.utfs.org> 1 sibling, 1 reply; 6+ messages in thread From: David Miller @ 2012-06-11 23:42 UTC (permalink / raw) To: mcarlson; +Cc: ethan.kernel, eric.dumazet, lists, linux-kernel, netdev From: "Matt Carlson" <mcarlson@broadcom.com> Date: Thu, 7 Jun 2012 15:56:54 -0700 > Does the following patch fix your problem? > > > [PATCH] tg3: Apply short DMA frag workaround to 5906 > > 5906 devices also need the short DMA fragment workaround. This patch > makes the necessary change. > > Signed-off-by: Matt Carlson <mcarlson@broadcom.com> Ping, what's the status of this? ^ permalink raw reply [flat|nested] 6+ messages in thread
[parent not found: <alpine.DEB.2.01.1206111650560.5568@trent.utfs.org>]
* Re: tg3: transmit timed out, resetting [not found] ` <alpine.DEB.2.01.1206111650560.5568@trent.utfs.org> @ 2012-06-11 23:55 ` David Miller 0 siblings, 0 replies; 6+ messages in thread From: David Miller @ 2012-06-11 23:55 UTC (permalink / raw) To: lists; +Cc: mcarlson, ethan.kernel, eric.dumazet, linux-kernel, netdev From: Christian Kujau <lists@nerdbynature.de> Date: Mon, 11 Jun 2012 16:53:16 -0700 (PDT) > Tested-by: Christian Kujau <lists@nerdbynature.de> Great, applied, thanks everyone. ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2012-06-11 23:55 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <alpine.DEB.2.01.1206041546070.5568@trent.utfs.org>
[not found] ` <20120606010255.GA9991@mcarlson.broadcom.com>
[not found] ` <CABawtvPE_xuamH2ysL8x0WsJMXdFV5oXPrWjMT-EC-DF_kCxxw@mail.gmail.com>
[not found] ` <20120606021436.GA10714@mcarlson.broadcom.com>
[not found] ` <CABawtvNVKkxAgrQqJS7FJGoswQ9ZVyJcHcNwbSJQk4yscTn8gw@mail.gmail.com>
2012-06-06 4:12 ` tg3: transmit timed out, resetting Eric Dumazet
2012-06-06 4:52 ` ethan zhao
2012-06-07 22:56 ` Matt Carlson
2012-06-08 1:24 ` Ethan Zhao
2012-06-11 23:42 ` David Miller
[not found] ` <alpine.DEB.2.01.1206111650560.5568@trent.utfs.org>
2012-06-11 23:55 ` David Miller
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).