Subject: Re: [Intel-wired-lan] [next-queue PATCH v1] igb: Fix limiting the number of queues to number of cpus

From: Vinicius Costa Gomes <[email-masked]>
Date: Thu, 18 Apr 2019 15:40:15 -0700

Hi Alex,

Alexander Duyck <[email-masked]> writes:

> On Thu, Apr 18, 2019 at 1:57 PM Vinicius Costa Gomes
> <[email-masked]> wrote:
>>
>> Hi Jeff,
>>
>> Jeff Kirsher <[email-masked]> writes:
>>
>> > I will discuss the issue with my fellow developers and hopefully we can
>> > come up with a kernel interface that all drivers can use to handle this
>> > issue.
>>
>> Did you have the chance to discuss this issue?
>>
>>
>> Cheers,
>> --
>> Vinicius
>
> Is there any reason why you couldn't just use the "ethtool -L" command
> to change the number of queues after creating the interface instead of
> having to use a module parameter? Just wondering since that would be a
> way to change the number of queues, and it should support values
> greater than the number of CPUs if I am not mistaken.

No reason at all. Just not being able to remember about that ethtool
parameter. It indeed works even when the number of CPUs are less than
the number of HW queues. Thanks a lot.

Cheers,
--
Vinicius