Re: [PATCH] ixgbe: take online CPU number as MQ max limit when alloc_etherdev_mq()

From: Jeff Kirsher
Date: Mon May 16 2016 - 16:58:53 EST


On Fri, 2016-05-13 at 14:56 +0900, Ethan Zhao wrote:
> Allocating 64 Tx/Rx as default doesn't benefit perfomrnace when less
> CPUs were assigned. especially when DCB is enabled, so we should take
> num_online_cpus() as top limit, and aslo to make sure every TC has
> at least one queue, take the MAX_TRAFFIC_CLASS as bottom limit of queues
> number.
>
> Signed-off-by: Ethan Zhao <ethan.zhao@xxxxxxxxxx>
> ---
> Âdrivers/net/ethernet/intel/ixgbe/ixgbe_main.c | 4 ++++
> Â1 file changed, 4 insertions(+)

Dropping this patch based on Alex's and John's feedback.

Attachment: signature.asc
Description: This is a digitally signed message part