diff options
author | David S. Miller <davem@davemloft.net> | 2008-07-17 01:52:12 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-07-17 19:21:03 -0700 |
commit | 09e83b5d7d1878065e2453239b49b684cd0fe4e5 (patch) | |
tree | a08d06c81d7bcd47e432443e24b126101ea1f2b9 /Documentation/networking | |
parent | e8a0464cc950972824e2e128028ae3db666ec1ed (diff) | |
download | linux-09e83b5d7d1878065e2453239b49b684cd0fe4e5.tar.bz2 |
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.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 device is still operational. netdev->queue_lock is still used when the device comes online or when it's completely shut down (unregister_netdev(), etc.). -Finally, the base driver should indicate that it is a multiqueue device. The -feature flag NETIF_F_MULTI_QUEUE should be added to the netdev->features -bitmap on device initialization. Below is an example from e1000: - -#ifdef CONFIG_E1000_MQ - if ( (adapter->hw.mac.type == e1000_82571) || - (adapter->hw.mac.type == e1000_82572) || - (adapter->hw.mac.type == e1000_80003es2lan)) - netdev->features |= NETIF_F_MULTI_QUEUE; -#endif - Author: Peter P. Waskiewicz Jr. <peter.p.waskiewicz.jr@intel.com> |