mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-21 08:53:41 +00:00
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>
This commit is contained in:
parent
9713107918
commit
6498be3fba
@ -1696,7 +1696,7 @@ myri10ge_get_ringparam(struct net_device *netdev,
|
|||||||
ring->rx_mini_max_pending = mgp->ss[0].rx_small.mask + 1;
|
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_max_pending = mgp->ss[0].rx_big.mask + 1;
|
||||||
ring->rx_jumbo_max_pending = 0;
|
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_mini_pending = ring->rx_mini_max_pending;
|
||||||
ring->rx_pending = ring->rx_max_pending;
|
ring->rx_pending = ring->rx_max_pending;
|
||||||
ring->rx_jumbo_pending = ring->rx_jumbo_max_pending;
|
ring->rx_jumbo_pending = ring->rx_jumbo_max_pending;
|
||||||
|
Loading…
Reference in New Issue
Block a user