diff options
| author | David S. Miller <davem@davemloft.net> | 2021-08-04 10:05:13 +0100 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2021-08-04 10:05:13 +0100 |
| commit | 8730379ee067ccbd2ea24eb02ea623d688e9707b (patch) | |
| tree | ca67c02d5b39d10117e6f2caae0330b2ded15cb6 /include | |
| parent | 8679c31e0284aa3aaba038035e443180b5bacb99 (diff) | |
| parent | e874f4557b365fc07f960c0e5a224f9ecaedd838 (diff) | |
Merge branch 'queues'
Jakub Kicinski says:
====================
net: add netif_set_real_num_queues() for device reconfig
This short set adds a helper to make the implementation of
two-phase NIC reconfig easier.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include')
| -rw-r--r-- | include/linux/netdevice.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h index cd136499ec59..1b4d4509d04b 100644 --- a/include/linux/netdevice.h +++ b/include/linux/netdevice.h @@ -3916,6 +3916,8 @@ static inline int netif_set_real_num_rx_queues(struct net_device *dev, return 0; } #endif +int netif_set_real_num_queues(struct net_device *dev, + unsigned int txq, unsigned int rxq); static inline struct netdev_rx_queue * __netif_get_rx_queue(struct net_device *dev, unsigned int rxq) |
