| 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; |
| 5 | } |
| 6 | |
| 7 | +static inline void netdev_tx_sent_queue(struct netdev_queue *dev_queue, |
| 8 | + unsigned int bytes) |
| 9 | +{ |
| 10 | +} |
| 11 | + |
| 12 | +static inline void netdev_sent_queue(struct net_device *dev, unsigned int bytes) |
| 13 | +{ |
| 14 | +} |
| 15 | + |
| 16 | +static inline void netdev_tx_completed_queue(struct netdev_queue *dev_queue, |
| 17 | + unsigned pkts, unsigned bytes) |
| 18 | +{ |
| 19 | +} |
| 20 | + |
| 21 | +static inline void netdev_completed_queue(struct net_device *dev, |
| 22 | + unsigned pkts, unsigned bytes) |
| 23 | +{ |
| 24 | +} |
| 25 | + |
| 26 | +static inline void netdev_tx_reset_queue(struct netdev_queue *q) |
| 27 | +{ |
| 28 | +} |
| 29 | + |
| 30 | +static inline void netdev_reset_queue(struct net_device *dev_queue) |
| 31 | +{ |
| 32 | +} |
| 33 | + |
| 34 | /** |
| 35 | * netif_running - test if up |
| 36 | * @dev: network device |
| 37 | |