[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230315073732.jjcxv2ywkbw6vvuk@lion.mk-sys.cz>
Date: Wed, 15 Mar 2023 08:37:32 +0100
From: Michal Kubecek <mkubecek@...e.cz>
To: Jakub Kicinski <kuba@...nel.org>
Cc: "Mogilappagari, Sudheer" <sudheer.mogilappagari@...el.com>,
Edward Cree <ecree.xilinx@...il.com>,
"netdev@...r.kernel.org" <netdev@...r.kernel.org>,
"Samudrala, Sridhar" <sridhar.samudrala@...el.com>,
"Nguyen, Anthony L" <anthony.l.nguyen@...el.com>
Subject: Re: [PATCH net-next] ethtool: add netlink support for rss set
On Tue, Mar 14, 2023 at 09:24:27PM -0700, Jakub Kicinski wrote:
> On Tue, 14 Mar 2023 23:51:00 +0000 Mogilappagari, Sudheer wrote:
> > How to get devname to be WILDCARD_DEVNAME ?
>
> Isn't it just \* ?
>
> $ ethtool \*
Yes, that's how it's supposed to work:
------------------------------------------------------------------------
mike@...n:~> /usr/sbin/ethtool -l '*'
Channel parameters for eth0:
Pre-set maximums:
RX: n/a
TX: n/a
Other: 1
Combined: 8
Current hardware settings:
RX: n/a
TX: n/a
Other: 1
Combined: 8
Channel parameters for eth1:
Pre-set maximums:
RX: n/a
TX: n/a
Other: 1
Combined: 8
Current hardware settings:
RX: n/a
TX: n/a
Other: 1
Combined: 8
Channel parameters for eth2:
Pre-set maximums:
RX: n/a
TX: n/a
Other: 1
Combined: 2
Current hardware settings:
RX: n/a
TX: n/a
Other: 1
Combined: 2
------------------------------------------------------------------------
In some cases where the output for a single device can consist of
many entries it may also make sense to iterate over something else.
Listing flow rules might be an example.
Michal
Powered by blists - more mailing lists