]> asedeno.scripts.mit.edu Git - linux.git/blobdiff - drivers/net/ethernet/synopsys/dwc-xlgmac-hw.c
net: move skb->xmit_more hint to softnet data
[linux.git] / drivers / net / ethernet / synopsys / dwc-xlgmac-hw.c
index 99d86e39ff541c29a239b176ccfcb704c50e4ce8..bf6c1c6779ff37826fa27bf89be1a23bc6d33744 100644 (file)
@@ -995,7 +995,7 @@ static void xlgmac_dev_xmit(struct xlgmac_channel *channel)
        smp_wmb();
 
        ring->cur = cur_index + 1;
-       if (!pkt_info->skb->xmit_more ||
+       if (!netdev_xmit_more() ||
            netif_xmit_stopped(netdev_get_tx_queue(pdata->netdev,
                                                   channel->queue_index)))
                xlgmac_tx_start_xmit(channel, ring);