lkml.org 
[lkml]   [2026]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH net-next] e1000e: ethtool: add get_channels support
Date


> On May 4, 2026, at 7:49 PM, Jakub Kicinski <kuba@kernel.org> wrote:
>
> On Mon, 4 May 2026 08:48:23 -0700 Jon Kohler wrote:
>> e1000e hardware supports a single RX/TX queue pair, add basic support
>> for ethtool -l (i.e. get_channels), so that callers indeed see a single
>> queue.
>
> Why? Isn't EOPNOTSUP from ethtool -l implicitly saying that there's
> only one queue?

Perhaps, but I’m not sure that is a guarantee. A good relevant example
is when I added get_channels support to enic, which supports all sorts
of channels, so I don’t think EOPNOTSUP can be 100% consider reliable
in that case. Meaning, if it just so happens that the original author(s)
didn't put in get_channels, that doesn’t necessarily mean there is only
one queue.

And in this case, there is an "other" queue as as well too, as far as
I can tell, so the output is at least semi-interesting.

Jon
\
 
 \ /
  Last update: 2026-05-05 03:20    [W:0.112 / U:4.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and my Meterkast|Read the blog