提交 9c938cdd 编写于 作者: D Daniel Borkmann 提交者: 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: NDaniel Borkmann <dborkman@redhat.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 0b725a2c
......@@ -6958,9 +6958,10 @@ static void ixgbe_tx_map(struct ixgbe_ring *tx_ring,
tx_ring->next_to_use = i;
/* notify HW of packet */
ixgbe_write_tail(tx_ring, 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册