aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ixgbe
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/ixgbe')
-rw-r--r--drivers/net/ixgbe/ixgbe_main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ixgbe/ixgbe_main.c b/drivers/net/ixgbe/ixgbe_main.c
index d36003cbb6d4..09994e920d5d 100644
--- a/drivers/net/ixgbe/ixgbe_main.c
+++ b/drivers/net/ixgbe/ixgbe_main.c
@@ -4837,7 +4837,7 @@ static int ixgbe_tx_map(struct ixgbe_adapter *adapter,
4837 size = min(len, (uint)IXGBE_MAX_DATA_PER_TXD); 4837 size = min(len, (uint)IXGBE_MAX_DATA_PER_TXD);
4838 4838
4839 tx_buffer_info->length = size; 4839 tx_buffer_info->length = size;
4840 tx_buffer_info->dma = map[0] + offset; 4840 tx_buffer_info->dma = skb_shinfo(skb)->dma_head + offset;
4841 tx_buffer_info->time_stamp = jiffies; 4841 tx_buffer_info->time_stamp = jiffies;
4842 tx_buffer_info->next_to_watch = i; 4842 tx_buffer_info->next_to_watch = i;
4843 4843
@@ -4869,7 +4869,7 @@ static int ixgbe_tx_map(struct ixgbe_adapter *adapter,
4869 size = min(len, (uint)IXGBE_MAX_DATA_PER_TXD); 4869 size = min(len, (uint)IXGBE_MAX_DATA_PER_TXD);
4870 4870
4871 tx_buffer_info->length = size; 4871 tx_buffer_info->length = size;
4872 tx_buffer_info->dma = map[f + 1] + offset; 4872 tx_buffer_info->dma = map[f] + offset;
4873 tx_buffer_info->time_stamp = jiffies; 4873 tx_buffer_info->time_stamp = jiffies;
4874 tx_buffer_info->next_to_watch = i; 4874 tx_buffer_info->next_to_watch = i;
4875 4875