From: John Fastabend Date: Thu, 25 Feb 2010 23:15:21 +0000 (+0000) Subject: ixgbe: Do not allocate too many netdev txqueues X-Git-Tag: v2.6.34-rc1~233^2~70 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c85a26189660e1cfd1f50989468313c544487950;p=pandora-kernel.git 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 Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- Reading git-diff-tree failed