[PATCH v11 03/25] net/ethtool: add ULP_DDP_{GET,SET} operations for caps and stats
Jakub Kicinski
kuba at kernel.org
Fri Feb 3 19:46:39 PST 2023
On Fri, 3 Feb 2023 15:26:43 +0200 Aurelien Aptel wrote:
> This commit adds:
>
> - 3 new netlink messages:
> * ULP_DDP_GET: returns a bitset of supported and active capabilities
> * ULP_DDP_SET: tries to activate requested bitset and returns results
> * ULP_DDP_NTF: notification for capabilities change
>
> Rename and export bitset_policy for use in ulp_ddp.c.
>
> ULP DDP capabilities handling is similar to netdev features
> handling.
>
> If a ULP_DDP_GET message has requested statistics via the
> ETHTOOL_FLAG_STATS header flag, then statistics are returned to
> userspace.
Acked-by: Jakub Kicinski <kuba at kernel.org>
More information about the Linux-nvme
mailing list