]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/net/ethernet/intel/i40e/i40e_txrx.c
net: move skb->xmit_more hint to softnet data
[linux.git] / drivers / net / ethernet / intel / i40e / i40e_txrx.c
index 6c97667d20eff136cde56c0447c54892c464fe31..1a95223c9f99af3738641b85c46f2b09ac88f384 100644 (file)
@@ -3469,7 +3469,7 @@ static inline int i40e_tx_map(struct i40e_ring *tx_ring, struct sk_buff *skb,
        first->next_to_watch = tx_desc;
 
        /* notify HW of packet */
-       if (netif_xmit_stopped(txring_txq(tx_ring)) || !skb->xmit_more) {
+       if (netif_xmit_stopped(txring_txq(tx_ring)) || !netdev_xmit_more()) {
                writel(i, tx_ring->tail);
 
                /* we need this if more than one processor can write to our tail