diff options
Diffstat (limited to 'drivers/net/ethernet/broadcom/tg3.c')
-rw-r--r-- | drivers/net/ethernet/broadcom/tg3.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/ethernet/broadcom/tg3.c b/drivers/net/ethernet/broadcom/tg3.c index 9dbd1af6653c..fe712f955110 100644 --- a/drivers/net/ethernet/broadcom/tg3.c +++ b/drivers/net/ethernet/broadcom/tg3.c | |||
@@ -10514,7 +10514,6 @@ static void tg3_get_ringparam(struct net_device *dev, struct ethtool_ringparam * | |||
10514 | struct tg3 *tp = netdev_priv(dev); | 10514 | struct tg3 *tp = netdev_priv(dev); |
10515 | 10515 | ||
10516 | ering->rx_max_pending = tp->rx_std_ring_mask; | 10516 | ering->rx_max_pending = tp->rx_std_ring_mask; |
10517 | ering->rx_mini_max_pending = 0; | ||
10518 | if (tg3_flag(tp, JUMBO_RING_ENABLE)) | 10517 | if (tg3_flag(tp, JUMBO_RING_ENABLE)) |
10519 | ering->rx_jumbo_max_pending = tp->rx_jmb_ring_mask; | 10518 | ering->rx_jumbo_max_pending = tp->rx_jmb_ring_mask; |
10520 | else | 10519 | else |
@@ -10523,7 +10522,6 @@ static void tg3_get_ringparam(struct net_device *dev, struct ethtool_ringparam * | |||
10523 | ering->tx_max_pending = TG3_TX_RING_SIZE - 1; | 10522 | ering->tx_max_pending = TG3_TX_RING_SIZE - 1; |
10524 | 10523 | ||
10525 | ering->rx_pending = tp->rx_pending; | 10524 | ering->rx_pending = tp->rx_pending; |
10526 | ering->rx_mini_pending = 0; | ||
10527 | if (tg3_flag(tp, JUMBO_RING_ENABLE)) | 10525 | if (tg3_flag(tp, JUMBO_RING_ENABLE)) |
10528 | ering->rx_jumbo_pending = tp->rx_jumbo_pending; | 10526 | ering->rx_jumbo_pending = tp->rx_jumbo_pending; |
10529 | else | 10527 | else |