Subject: Re: [net-next PATCH v1 3/9] netdev-genl: spec: Extend netdev netlink spec in YAML for NAPI

From: Jakub Kicinski <[email-masked]>
Date: Mon, 31 Jul 2023 12:36:51 -0700

On Fri, 28 Jul 2023 17:47:07 -0700 Amritha Nambiar wrote:
> +  -
> +    name: napi
> +    attributes:
> +      -
> +        name: ifindex
> +        doc: netdev ifindex
> +        type: u32
> +        checks:
> +          min: 1
> +      -
> +        name: napi-info
> +        doc: napi information such as napi-id, napi queues etc.
> +        type: nest
> +        multi-attr: true
> +        nested-attributes: napi-info-entry

Every NAPI instance should be dumped as a separate object. We can
implemented filtered dump to get NAPIs of a single netdev.