aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/netdevice.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r--include/linux/netdevice.h9
1 files changed, 5 insertions, 4 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 16171802ea7d..5050218c5b7f 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -3431,19 +3431,20 @@ int __init dev_proc_init(void);
3431#endif 3431#endif
3432 3432
3433static inline netdev_tx_t __netdev_start_xmit(const struct net_device_ops *ops, 3433static inline netdev_tx_t __netdev_start_xmit(const struct net_device_ops *ops,
3434 struct sk_buff *skb, struct net_device *dev) 3434 struct sk_buff *skb, struct net_device *dev,
3435 bool more)
3435{ 3436{
3436 skb->xmit_more = 0; 3437 skb->xmit_more = more ? 1 : 0;
3437 return ops->ndo_start_xmit(skb, dev); 3438 return ops->ndo_start_xmit(skb, dev);
3438} 3439}
3439 3440
3440static inline netdev_tx_t netdev_start_xmit(struct sk_buff *skb, struct net_device *dev, 3441static inline netdev_tx_t netdev_start_xmit(struct sk_buff *skb, struct net_device *dev,
3441 struct netdev_queue *txq) 3442 struct netdev_queue *txq, bool more)
3442{ 3443{
3443 const struct net_device_ops *ops = dev->netdev_ops; 3444 const struct net_device_ops *ops = dev->netdev_ops;
3444 int rc; 3445 int rc;
3445 3446
3446 rc = __netdev_start_xmit(ops, skb, dev); 3447 rc = __netdev_start_xmit(ops, skb, dev, more);
3447 if (rc == NETDEV_TX_OK) 3448 if (rc == NETDEV_TX_OK)
3448 txq_trans_update(txq); 3449 txq_trans_update(txq);
3449 3450