Re: ixgbe question
From: Eric Dumazet <hidden>
Date: 2009-11-30 13:02:10
David Miller a écrit :
From: John Fastabend <redacted> Date: Tue, 24 Nov 2009 13:14:12 +0000quoted
Believe the below patch will break DCB and FCoE though, both features have the potential to set real_num_tx_queues to greater then the number of CPUs. This could result in real_num_tx_queues > num_tx_queues. The current solution isn't that great though, maybe we should set to the minimum of MAX_TX_QUEUES and num_possible_cpus() * 2 + 8. That should cover the maximum possible queues for DCB, FCoE and their combinations. general multiq = num_possible_cpus() DCB = 8 tx queue's FCoE = 2*num_possible_cpus() FCoE + DCB = 8 tx queues + num_possible_cpusEric, I'm tossing your patch because of this problem, just FYI.
Sure, I guess we need a more generic way to handle this.