1 --- a/include/linux/netdevice.h
2 +++ b/include/linux/netdevice.h
3 @@ -1908,6 +1908,33 @@ static inline int netif_tx_queue_frozen_
4 return dev_queue->state & QUEUE_STATE_XOFF_OR_FROZEN;
7 +static inline void netdev_tx_sent_queue(struct netdev_queue *dev_queue,
12 +static inline void netdev_sent_queue(struct net_device *dev, unsigned int bytes)
16 +static inline void netdev_tx_completed_queue(struct netdev_queue *dev_queue,
17 + unsigned pkts, unsigned bytes)
21 +static inline void netdev_completed_queue(struct net_device *dev,
22 + unsigned pkts, unsigned bytes)
26 +static inline void netdev_tx_reset_queue(struct netdev_queue *q)
30 +static inline void netdev_reset_queue(struct net_device *dev_queue)
35 * netif_running - test if up
36 * @dev: network device