Subject: Re: [net-next PATCH v6 05/10] netdev-genl: spec: Extend netdev netlink spec in YAML for NAPI

From: Jakub Kicinski <[email-masked]>
Date: Tue, 24 Oct 2023 15:47:31 -0700

On Mon, 23 Oct 2023 18:33:44 -0700 Amritha Nambiar wrote:
> +    name: napi
> +    attributes:
> +      -
> +        name: ifindex
> +        doc: netdev ifindex

ifindex of the netdevice to which NAPI instance belongs.

> +        type: u32
> +        checks:
> +          min: 1
> +      -
> +        name: napi-id
> +        doc: napi id

ID of the NAPI instance.

> +        type: u32
>    -
>      name: queue
>      attributes:
> @@ -168,6 +181,23 @@ operations:
>            attributes:
>              - ifindex
>          reply: *queue-get-op
> +    -
> +      name: napi-get
> +      doc: napi information such as napi-id

Get information about NAPI instances configured on the system.