netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next] myri10ge: fix tx ring size in ethtool -g
@ 2009-04-16 12:28 Brice Goglin
  2009-04-17  0:58 ` David Miller
  0 siblings, 1 reply; 2+ messages in thread
From: Brice Goglin @ 2009-04-16 12:28 UTC (permalink / raw)
  To: David S. Miller; +Cc: Linux Network Development list

Fix tx ring size reported via ethtool -g.

Signed-off-by; Brice Goglin <brice@myri.com>

--- linux-tmp.old/drivers/net/myri10ge/myri10ge.c    2009-04-09
14:00:16.000000000 +0200
+++ linux-tmp/drivers/net/myri10ge/myri10ge.c    2009-04-10
23:11:59.000000000 +0200
@@ -1696,7 +1696,7 @@
     ring->rx_mini_max_pending = mgp->ss[0].rx_small.mask + 1;
     ring->rx_max_pending = mgp->ss[0].rx_big.mask + 1;
     ring->rx_jumbo_max_pending = 0;
-    ring->tx_max_pending = mgp->ss[0].rx_small.mask + 1;
+    ring->tx_max_pending = mgp->ss[0].tx.mask + 1;
     ring->rx_mini_pending = ring->rx_mini_max_pending;
     ring->rx_pending = ring->rx_max_pending;
     ring->rx_jumbo_pending = ring->rx_jumbo_max_pending;


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

* Re: [PATCH net-next] myri10ge: fix tx ring size in ethtool -g
  2009-04-16 12:28 [PATCH net-next] myri10ge: fix tx ring size in ethtool -g Brice Goglin
@ 2009-04-17  0:58 ` David Miller
  0 siblings, 0 replies; 2+ messages in thread
From: David Miller @ 2009-04-17  0:58 UTC (permalink / raw)
  To: brice; +Cc: netdev

From: Brice Goglin <brice@myri.com>
Date: Thu, 16 Apr 2009 14:28:37 +0200

> Fix tx ring size reported via ethtool -g.
> 
> Signed-off-by; Brice Goglin <brice@myri.com>
               ^

another semi-colon, you can automate this using git tools
and config settings, or by having a file with your signoff
in it that you copy/paste into outgoing patch emails to prevent
this kind of error

Applied, th anks.

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

end of thread, other threads:[~2009-04-17  0:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-04-16 12:28 [PATCH net-next] myri10ge: fix tx ring size in ethtool -g Brice Goglin
2009-04-17  0:58 ` 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).