[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <1286378402.9417.21.camel@edumazet-laptop>
Date: Wed, 06 Oct 2010 17:20:02 +0200
From: Eric Dumazet <eric.dumazet@...il.com>
To: John Fastabend <john.r.fastabend@...el.com>
Cc: Ben Hutchings <bhutchings@...arflare.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"therbert@...gle.com" <therbert@...gle.com>
Subject: Re: [net-next-2.6 PATCH] net: netif_set_real_num_rx_queues may cap
num_rx_queues at init time
Le mercredi 06 octobre 2010 à 07:52 -0700, John Fastabend a écrit :
> If I update the handful drivers that use netif_set_real_num_rx_queues()
> before the netdevice is registered to explicitly set num_rx_queues this
> would address Eric's concerns and fix drivers that really only want to set
> real_num_rx_queue.
>
John, it seems current API is not very clean/orthogonal.
If you believe a driver can increase real_num_rx_queue, then we should
apply your patch, and refine API if necessary.
We now allocate rx queues in register_netdevice(), maybe we should do
the same for tx queues.
--
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