All of lore.kernel.org
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@linux-foundation.org>
To: Jeff Garzik <jgarzik@pobox.com>
Cc: netdev@vger.kernel.org, sk-drivers@lists.linux-foundation.org
Subject: [PATCH 1/6] sky2: dont flush good pause frames
Date: Thu, 15 Feb 2007 16:40:30 -0800	[thread overview]
Message-ID: <20070216004141.678148000@linux-foundation.org> (raw)
In-Reply-To: 20070216004028.943889000@linux-foundation.org

[-- Attachment #1: sky2-pause-flush.patch --]
[-- Type: text/plain, Size: 778 bytes --]

Don't mark pause frames as errors. This problem caused transmitter not
to pause and would effectively take out a gigabit switch because the
it can't handle overrun. 

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>

---
 drivers/net/sky2.h |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- sky2-dev.orig/drivers/net/sky2.h	2007-02-13 15:08:30.000000000 -0800
+++ sky2-dev/drivers/net/sky2.h	2007-02-13 15:12:52.000000000 -0800
@@ -1589,7 +1589,7 @@
 
 	GMR_FS_ANY_ERR	= GMR_FS_RX_FF_OV | GMR_FS_CRC_ERR |
 			  GMR_FS_FRAGMENT | GMR_FS_LONG_ERR |
-		  	  GMR_FS_MII_ERR | GMR_FS_GOOD_FC | GMR_FS_BAD_FC |
+		  	  GMR_FS_MII_ERR | GMR_FS_BAD_FC |
 			  GMR_FS_UN_SIZE | GMR_FS_JABBER,
 };
 

--
Stephen Hemminger <shemminger@linux-foundation.org>


  reply	other threads:[~2007-02-16  0:43 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-02-16  0:40 [PATCH 0/6] sky2: v1.13 patches Stephen Hemminger
2007-02-16  0:40 ` Stephen Hemminger [this message]
2007-02-17 20:32   ` [PATCH 1/6] sky2: dont flush good pause frames Jeff Garzik
2007-02-16  0:40 ` [PATCH 2/6] sky2: no need to reset pause bits on shutdown Stephen Hemminger
2007-02-16  0:40 ` [PATCH 3/6] sky2: flow control negotiation for Yukon-FE Stephen Hemminger
2007-02-16  0:40 ` [PATCH 4/6] sky2: transmit timeout Stephen Hemminger
2007-02-16  0:40 ` [PATCH 5/6] sky2: receive error handling improvements Stephen Hemminger
2007-02-16  0:40 ` [PATCH 6/6] sky2: v1.13 Stephen Hemminger

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=20070216004141.678148000@linux-foundation.org \
    --to=shemminger@linux-foundation.org \
    --cc=jgarzik@pobox.com \
    --cc=netdev@vger.kernel.org \
    --cc=sk-drivers@lists.linux-foundation.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.