Subject: Re: [PATCHv2 net-next 1/2] ynl: rename array-nest to indexed-array

From: Jakub Kicinski <[email-masked]>
Date: Fri, 29 Mar 2024 07:13:48 -0700

On Fri, 29 Mar 2024 14:54:22 +0800 Hangbin Liu wrote:
> Some implementations, like bonding, has nest array with same attr type.
> To support all kinds of entries under one nest array. As disscussed[1],
> let's rename array-nest to indexed-array, and assuming the value is
> a nest by passing the type via sub-type.
> 
> [1] https://lore.kernel.org/netdev/[email-masked]/

> diff --git a/Documentation/userspace-api/netlink/genetlink-legacy.rst b/Documentation/userspace-api/netlink/genetlink-legacy.rst
> index 70a77387f6c4..1ee1647d0ee8 100644
> --- a/Documentation/userspace-api/netlink/genetlink-legacy.rst
> +++ b/Documentation/userspace-api/netlink/genetlink-legacy.rst
> @@ -46,10 +46,16 @@ For reference the ``multi-attr`` array may look like this::
>  
>  where ``ARRAY-ATTR`` is the array entry type.
>  
> -array-nest
> +indexed-array
>  ~~~~~~~~~~

Documentation/userspace-api/netlink/genetlink-legacy.rst:50: WARNING: Title underline too short.

indexed-array
~~~~~~~~~~
-- 
pw-bot: cr