Re: Dropped packets on SUN GEM

David S. Miller (davem@redhat.com)
Tue, 12 Mar 2002 17:15:09 -0800 (PST)


From: Beezly <beezly@beezly.org.uk>
Date: 13 Mar 2002 01:07:14 +0000

It doesn't appear to :(
...
eth0: Pause is disabled

Some day I will learn how to program, you do have
Pause enabled I just don't know how to print that
our properly from the driver :-)

--- drivers/net/sungem.c.~2~ Tue Mar 12 16:53:44 2002
+++ drivers/net/sungem.c Tue Mar 12 17:14:26 2002
@@ -1213,15 +1213,15 @@

if (netif_msg_link(gp)) {
if (pause) {
- printk(KERN_INFO "%s: Pause is disabled\n",
- gp->dev->name);
- } else {
printk(KERN_INFO "%s: Pause is enabled "
"(rxfifo: %d off: %d on: %d)\n",
gp->dev->name,
gp->rx_fifo_sz,
gp->rx_pause_off,
gp->rx_pause_on);
+ } else {
+ printk(KERN_INFO "%s: Pause is disabled\n",
+ gp->dev->name);
}
}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/