diff options
author | David S. Miller <davem@davemloft.net> | 2014-08-30 08:55:22 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-09-02 04:39:55 +0400 |
commit | fa2dbdc253c2aee2a760c64de454cb62469ec11d (patch) | |
tree | ddae689033890a3fd32e01c4d022349f6cbab673 /include/linux/netdevice.h | |
parent | 7f2e870f2a48a0524a3b03b04fa019311d16a7f7 (diff) | |
download | linux-fa2dbdc253c2aee2a760c64de454cb62469ec11d.tar.xz |
net: Pass a "more" indication down into netdev_start_xmit() code paths.
For now it will always be false.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/netdevice.h')
-rw-r--r-- | include/linux/netdevice.h | 9 |
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); #endif static inline netdev_tx_t __netdev_start_xmit(const struct net_device_ops *ops, - struct sk_buff *skb, struct net_device *dev) + struct sk_buff *skb, struct net_device *dev, + bool more) { - skb->xmit_more = 0; + skb->xmit_more = more ? 1 : 0; return ops->ndo_start_xmit(skb, dev); } static inline netdev_tx_t netdev_start_xmit(struct sk_buff *skb, struct net_device *dev, - struct netdev_queue *txq) + struct netdev_queue *txq, bool more) { const struct net_device_ops *ops = dev->netdev_ops; int rc; - rc = __netdev_start_xmit(ops, skb, dev); + rc = __netdev_start_xmit(ops, skb, dev, more); if (rc == NETDEV_TX_OK) txq_trans_update(txq); |