aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/networking
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-07-17 04:52:12 -0400
committerDavid S. Miller <davem@davemloft.net>2008-07-17 22:21:03 -0400
commit09e83b5d7d1878065e2453239b49b684cd0fe4e5 (patch)
treea08d06c81d7bcd47e432443e24b126101ea1f2b9 /Documentation/networking
parente8a0464cc950972824e2e128028ae3db666ec1ed (diff)
netdev: Kill NETIF_F_MULTI_QUEUE.
There is no need for a feature bit for something that can be tested by simply checking the TX queue count. Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'Documentation/networking')
-rw-r--r--Documentation/networking/multiqueue.txt11
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
24device is still operational. netdev->queue_lock is still used when the device 24device is still operational. netdev->queue_lock is still used when the device
25comes online or when it's completely shut down (unregister_netdev(), etc.). 25comes online or when it's completely shut down (unregister_netdev(), etc.).
26 26
27Finally, the base driver should indicate that it is a multiqueue device. The
28feature flag NETIF_F_MULTI_QUEUE should be added to the netdev->features
29bitmap 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
38Author: Peter P. Waskiewicz Jr. <peter.p.waskiewicz.jr@intel.com> 27Author: Peter P. Waskiewicz Jr. <peter.p.waskiewicz.jr@intel.com>