HOWTO for multiqueue network device support ===========================================Section 1: Base driver requirements for implementing multiqueue supportIntro: Kernel support for multiqueue devices---------------------------------------------------------
Section 1: Base driver requirements for implementing multiqueue support-----------------------------------------------------------------------Base drivers are required to use the new alloc_etherdev_mq() oralloc_netdev_mq() functions to allocate the subqueues for the device. Theunderlying kernel API will take care of the allocation and deallocation ofthe subqueue memory, as well as netdev configuration of where the queuesexist in memory.The base driver will also need to manage the queues as it does the globalnetdev->queue_lock today. Therefore base drivers should use thenetif_{start|stop|wake}_subqueue() functions to manage each queue while thedevice is still operational. netdev->queue_lock is still used when the devicecomes online or when it's completely shut down (unregister_netdev(), etc.).Author: Peter P. Waskiewicz Jr. <peter.p.waskiewicz.jr@intel.com>