[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <253r0vkuojw.fsf@mtr-vdi-124.i-did-not-set--mail-host-address--so-tickle-me>
Date: Tue, 24 Jan 2023 14:04:03 +0200
From: Aurelien Aptel <aaptel@...dia.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: linux-nvme@...ts.infradead.org, netdev@...r.kernel.org,
sagi@...mberg.me, hch@....de, kbusch@...nel.org, axboe@...com,
chaitanyak@...dia.com, davem@...emloft.net,
aurelien.aptel@...il.com, smalin@...dia.com, malin1024@...il.com,
ogerlitz@...dia.com, yorayz@...dia.com, borisp@...dia.com
Subject: Re: [PATCH v9 02/25] net/ethtool: add new stringset
ETH_SS_ULP_DDP_{CAPS,STATS}
Jakub Kicinski <kuba@...nel.org> writes:
> Not at all, but the names are really mostly for human consumption.
> If any programmer wants to use the stats (and assuming they use C/C++)
> it will be more convenient for them to use attribute ids from the enum.
> Without having to resolve them using stat names.
>
> This is how other stats are implemented in ethtool-netlink.
Ok, we will expose the enum to uAPI.
Thanks
Powered by blists - more mailing lists