[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20120620.224900.468755799466232238.davem@davemloft.net>
Date: Wed, 20 Jun 2012 22:49:00 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: yuvalmin@...adcom.com
Cc: bhutchings@...arflare.com, netdev@...r.kernel.org,
eilong@...adcom.com, divy@...lsio.com, ogerlitz@...lanox.com,
jdmason@...zu.us, anirban.chakraborty@...gic.com,
jitendra.kalsaria@...gic.com, ron.mercer@...gic.com,
jeffrey.t.kirsher@...el.com, mason@...i.com, gallatin@...i.com,
sathya.perla@...lex.com, subbu.seetharaman@...lex.com,
ajit.khaparde@...lex.com, mcarlson@...adcom.com, mchan@...adcom.com
Subject: Re: [RFC net-next 00/14] default maximal number of RSS queues in
mq drivers
From: "Yuval Mintz" <yuvalmin@...adcom.com>
Date: Thu, 21 Jun 2012 08:15:36 +0300
> On 06/20/2012 11:48 PM, Ben Hutchings wrote:
>
>> Also, I would recommend encapsulating the calculation of default number
>> of RSS queues in a function, rather than repeating it in every driver.
>> That will make it easier to replace with something more sophisticated
>> and configurable later on.
>>
>> Ben.
>>
>
> Do You also have the notion of where's the correct place to place such a
> function?
I would put the extern declaration into linux/netdevice.h and the
implementation in net/core/dev.c
--
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