aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe/ixgbe_ethtool.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixgbe/ixgbe_ethtool.c')
-rw-r--r--drivers/net/ixgbe/ixgbe_ethtool.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ixgbe/ixgbe_ethtool.c b/drivers/net/ixgbe/ixgbe_ethtool.c
index fb6d8e88eb05..4d74f4bc7a01 100644
--- a/drivers/net/ixgbe/ixgbe_ethtool.c
+++ b/drivers/net/ixgbe/ixgbe_ethtool.c
@@ -1560,7 +1560,7 @@ static int ixgbe_setup_desc_rings(struct ixgbe_adapter *adapter)
1560 IXGBE_WRITE_REG(&adapter->hw, IXGBE_TXDCTL(0), reg_data); 1560 IXGBE_WRITE_REG(&adapter->hw, IXGBE_TXDCTL(0), reg_data);
1561 1561
1562 for (i = 0; i < tx_ring->count; i++) { 1562 for (i = 0; i < tx_ring->count; i++) {
1563 union ixgbe_adv_tx_desc *desc = IXGBE_TX_DESC_ADV(*tx_ring, i); 1563 union ixgbe_adv_tx_desc *desc = IXGBE_TX_DESC_ADV(tx_ring, i);
1564 struct sk_buff *skb; 1564 struct sk_buff *skb;
1565 unsigned int size = 1024; 1565 unsigned int size = 1024;
1566 1566
@@ -1661,7 +1661,7 @@ static int ixgbe_setup_desc_rings(struct ixgbe_adapter *adapter)
1661 1661
1662 for (i = 0; i < rx_ring->count; i++) { 1662 for (i = 0; i < rx_ring->count; i++) {
1663 union ixgbe_adv_rx_desc *rx_desc = 1663 union ixgbe_adv_rx_desc *rx_desc =
1664 IXGBE_RX_DESC_ADV(*rx_ring, i); 1664 IXGBE_RX_DESC_ADV(rx_ring, i);
1665 struct sk_buff *skb; 1665 struct sk_buff *skb;
1666 1666
1667 skb = alloc_skb(IXGBE_RXBUFFER_2048 + NET_IP_ALIGN, GFP_KERNEL); 1667 skb = alloc_skb(IXGBE_RXBUFFER_2048 + NET_IP_ALIGN, GFP_KERNEL);