netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rogier Wolff <R.E.Wolff@BitWizard.nl>
To: Erik Mouw <erik@harddisk-recovery.com>
Cc: Jesse Brandeburg <jesse.brandeburg@intel.com>,
	e1000-devel@lists.sourceforge.net, netdev@vger.kernel.org,
	Rogier Wolff <R.E.Wolff@BitWizard.nl>
Subject: Re: Transmit timeout with E1000
Date: Wed, 11 Jan 2006 14:56:28 +0100	[thread overview]
Message-ID: <20060111135627.GB8292@bitwizard.nl> (raw)
In-Reply-To: <20060111134349.GA11630@harddisk-recovery.com>

On Wed, Jan 11, 2006 at 02:43:49PM +0100, Erik Mouw wrote:
> The system only recovers after the Netdev watchdog found out that the
> transmit timed out. However, the e1000 register dump starts about 4 to
> 5 seconds earlier: a possible workaround would be to trigger the
> timeout code path as soon as the register dump starts.

Found a typo. 

	Roger. 


--- e1000_main.c.orig	2006-01-11 14:53:23.000000000 +0100
+++ e1000_main.c	2006-01-11 14:53:38.000000000 +0100
@@ -3449,7 +3449,7 @@
 	}
 
 	for (i = 0; i < E1000_MAX_INTR; i++)
-		if (unlikely(!adapter->clean_rx(adapter, adapter->rx_ring) &
+		if (unlikely(!adapter->clean_rx(adapter, adapter->rx_ring) &&
 		   !e1000_clean_tx_irq(adapter, adapter->tx_ring)))
 			break;
 


-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2600998 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
Q: It doesn't work. A: Look buddy, doesn't work is an ambiguous statement. 
Does it sit on the couch all day? Is it unemployed? Please be specific! 
Define 'it' and what it isn't doing. --------- Adapted from lxrbot FAQ


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click

  reply	other threads:[~2006-01-11 13:56 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-10 15:12 Transmit timeout with E1000 Erik Mouw
     [not found] ` <Pine.WNT.4.63.0601100929570.1360@jbrandeb-desk.amr.corp.intel.com>
2006-01-11 12:59   ` Erik Mouw
2006-01-11 13:22     ` Erik Mouw
2006-01-11 13:43       ` Erik Mouw
2006-01-11 13:56         ` Rogier Wolff [this message]
2006-01-11 14:11           ` Eric Dumazet
2006-01-11 14:48             ` Rogier Wolff
2006-01-11 14:51               ` Rogier Wolff

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060111135627.GB8292@bitwizard.nl \
    --to=r.e.wolff@bitwizard.nl \
    --cc=e1000-devel@lists.sourceforge.net \
    --cc=erik@harddisk-recovery.com \
    --cc=jesse.brandeburg@intel.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).