aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/myri10ge/myri10ge.c
diff options
context:
space:
mode:
authorBrice Goglin <brice@myri.com>2009-04-16 20:56:57 -0400
committerDavid S. Miller <davem@davemloft.net>2009-04-16 21:00:44 -0400
commit6498be3fba7b102132241be5763263e8e8bf6f9e (patch)
tree0312a614aca4fa6e141bd85b9284ea9e7be2958e /drivers/net/myri10ge/myri10ge.c
parent97131079183cd671e18e661f1a387cdb5dffd313 (diff)
myri10ge: fix tx ring size in ethtool -g
Fix tx ring size reported via ethtool -g. Signed-off-by: Brice Goglin <brice@myri.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/myri10ge/myri10ge.c')
-rw-r--r--drivers/net/myri10ge/myri10ge.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c
index 4a2ab4ebfb82..291944d0aea3 100644
--- a/drivers/net/myri10ge/myri10ge.c
+++ b/drivers/net/myri10ge/myri10ge.c
@@ -1696,7 +1696,7 @@ myri10ge_get_ringparam(struct net_device *netdev,
1696 ring->rx_mini_max_pending = mgp->ss[0].rx_small.mask + 1; 1696 ring->rx_mini_max_pending = mgp->ss[0].rx_small.mask + 1;
1697 ring->rx_max_pending = mgp->ss[0].rx_big.mask + 1; 1697 ring->rx_max_pending = mgp->ss[0].rx_big.mask + 1;
1698 ring->rx_jumbo_max_pending = 0; 1698 ring->rx_jumbo_max_pending = 0;
1699 ring->tx_max_pending = mgp->ss[0].rx_small.mask + 1; 1699 ring->tx_max_pending = mgp->ss[0].tx.mask + 1;
1700 ring->rx_mini_pending = ring->rx_mini_max_pending; 1700 ring->rx_mini_pending = ring->rx_mini_max_pending;
1701 ring->rx_pending = ring->rx_max_pending; 1701 ring->rx_pending = ring->rx_max_pending;
1702 ring->rx_jumbo_pending = ring->rx_jumbo_max_pending; 1702 ring->rx_jumbo_pending = ring->rx_jumbo_max_pending;