Commit 9c938cdd authored by Daniel Borkmann's avatar Daniel Borkmann Committed by David S. Miller

ixgbe: support skb->xmit_more in netdev_ops->ndo_start_xmit()

This implements the deferred tail pointer flush API for the ixgbe
driver. Similar version also proposed longer time ago by Alexander Duyck.
Signed-off-by: default avatarDaniel Borkmann <dborkman@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 0b725a2c
......@@ -6958,9 +6958,10 @@ static void ixgbe_tx_map(struct ixgbe_ring *tx_ring,
tx_ring->next_to_use = i;
if (!skb->xmit_more) {
/* notify HW of packet */
ixgbe_write_tail(tx_ring, i);
}
return;
dma_error:
dev_err(tx_ring->dev, "TX DMA map failed\n");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment