Skip to contentSkip to conversation

myri10ge: fix tx ring size in ethtool -g

PATCH Applied Brice Goglin 2 participants 2 messages Apr 16, 2009 – Apr 17, 2009

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 myri10ge: fix tx ring size in ethtool -g

Fix tx ring size reported via ethtool -g.

Signed-off-by; Brice Goglin <[email protected]>

--- 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;
maintainer Applied
#1 lore raw

From: Brice Goglin <[email protected]>
Date: Thu, 16 Apr 2009 14:28:37 +0200

Quoted 3 lines

Fix tx ring size reported via ethtool -g.

Signed-off-by; Brice Goglin <[email protected]>

               ^

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.