[PATCH v9 02/25] net/ethtool: add new stringset ETH_SS_ULP_DDP_{CAPS,STATS}

Aurelien Aptel aaptel at nvidia.com
Tue Jan 24 04:04:03 PST 2023


Jakub Kicinski <kuba at kernel.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



More information about the Linux-nvme mailing list