diff options
Diffstat (limited to 'Documentation/networking/multiqueue.txt')
-rw-r--r-- | Documentation/networking/multiqueue.txt | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Documentation/networking/multiqueue.txt b/Documentation/networking/multiqueue.txt index e6dc1ee9e8f1..d391ea631141 100644 --- a/Documentation/networking/multiqueue.txt +++ b/Documentation/networking/multiqueue.txt | |||
@@ -24,15 +24,4 @@ netif_{start|stop|wake}_subqueue() functions to manage each queue while the | |||
24 | device is still operational. netdev->queue_lock is still used when the device | 24 | device is still operational. netdev->queue_lock is still used when the device |
25 | comes online or when it's completely shut down (unregister_netdev(), etc.). | 25 | comes online or when it's completely shut down (unregister_netdev(), etc.). |
26 | 26 | ||
27 | Finally, the base driver should indicate that it is a multiqueue device. The | ||
28 | feature flag NETIF_F_MULTI_QUEUE should be added to the netdev->features | ||
29 | bitmap on device initialization. Below is an example from e1000: | ||
30 | |||
31 | #ifdef CONFIG_E1000_MQ | ||
32 | if ( (adapter->hw.mac.type == e1000_82571) || | ||
33 | (adapter->hw.mac.type == e1000_82572) || | ||
34 | (adapter->hw.mac.type == e1000_80003es2lan)) | ||
35 | netdev->features |= NETIF_F_MULTI_QUEUE; | ||
36 | #endif | ||
37 | |||
38 | Author: Peter P. Waskiewicz Jr. <peter.p.waskiewicz.jr@intel.com> | 27 | Author: Peter P. Waskiewicz Jr. <peter.p.waskiewicz.jr@intel.com> |