lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20230822173938.67cb148f@kernel.org>
Date: Tue, 22 Aug 2023 17:39:38 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Amritha Nambiar <amritha.nambiar@...el.com>
Cc: netdev@...r.kernel.org, davem@...emloft.net, sridhar.samudrala@...el.com
Subject: Re: [net-next PATCH v2 3/9] netdev-genl: spec: Extend netdev
 netlink spec in YAML for NAPI

On Mon, 21 Aug 2023 16:25:25 -0700 Amritha Nambiar wrote:
> +      -
> +        name: rx-queues
> +        doc: list of rx queues associated with a napi
> +        type: u32
> +        multi-attr: true
> +      -
> +        name: tx-queues
> +        doc: list of tx queues associated with a napi
> +        type: u32
> +        multi-attr: true

Queues should be separate objects, with NAPI ID as their attr.
That's much simpler - since the relation is 1:n it's easier 
to store it on the side of the "1".

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ