[PATCH v22 02/20] netlink: add new family to manage ULP_DDP enablement and stats

Jiri Pirko jiri at resnulli.us
Tue Jan 2 02:08:19 PST 2024


Thu, Dec 21, 2023 at 10:33:40PM CET, aaptel at nvidia.com wrote:
>Add a new netlink family to get/set ULP DDP capabilities on a network
>device and to retrieve statistics.
>
>The messages use the genetlink infrastructure and are specified in a
>YAML file which was used to generate some of the files in this commit:
>
>./tools/net/ynl/ynl-gen-c.py --mode kernel \
>    --spec ./Documentation/netlink/specs/ulp_ddp.yaml --header \
>    -o net/core/ulp_ddp_gen_nl.h
>./tools/net/ynl/ynl-gen-c.py --mode kernel \
>    --spec ./Documentation/netlink/specs/ulp_ddp.yaml --source \
>    -o net/core/ulp_ddp_gen_nl.c
>./tools/net/ynl/ynl-gen-c.py --mode uapi \
>    --spec ./Documentation/netlink/specs/ulp_ddp.yaml --header \
>    > include/uapi/linux/ulp_ddp.h
>
>Signed-off-by: Shai Malin <smalin at nvidia.com>
>Signed-off-by: Aurelien Aptel <aaptel at nvidia.com>

Reviewed-by: Jiri Pirko <jiri at nvidia.com>



More information about the Linux-nvme mailing list