diff options
author | John Fastabend <john.r.fastabend@intel.com> | 2010-02-26 00:15:21 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-02-26 11:10:11 +0100 |
commit | c85a26189660e1cfd1f50989468313c544487950 (patch) | |
tree | 57e66d2461ca7dec9ac38f289dca5d14f4feebd2 /fs/openpromfs | |
parent | ixgbe: do not stop tx queues in ixgbe_set_tso (diff) | |
download | linux-c85a26189660e1cfd1f50989468313c544487950.tar.xz linux-c85a26189660e1cfd1f50989468313c544487950.zip |
ixgbe: Do not allocate too many netdev txqueues
Instead of allocating 128 struct netdev_queue per device, use the
minimum value between 128 and the number of possible txq's, to
reduce ram usage and "tc -s -d class shod dev .." output.
This patch fixes Eric Dumazet's patch to set the TX queues to
the correct minimum.
Signed-off-by: John Fastabend <john.r.fastabend@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/openpromfs')
0 files changed, 0 insertions, 0 deletions