[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20091009.005836.201112959.davem@davemloft.net>
Date: Fri, 09 Oct 2009 00:58:36 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: eric.dumazet@...il.com
Cc: jarkao2@...il.com, kaber@...sh.net, netdev@...r.kernel.org
Subject: Re: [RFC] multiqueue changes
From: Eric Dumazet <eric.dumazet@...il.com>
Date: Thu, 08 Oct 2009 14:13:22 +0200
> I am not sure David intent was being able to dynamically adjust
> real_num_tx_queue between 1 and num_tx_queue.
The idea was to allow semi-dynamic adjustment.
Meaning that you could change the number of TX queues, but only in
some quiescent state, such as when the device is down or frozen while
up in some way.
dev->num_tx_queues tracks how many total were allocated. This is
necessary so that even if the real_num_tx_queues is modified while the
device is up, we can still see the correct statistics by gathering
from queues that are now disabled but were enabled beforehand.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists