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] [day] [month] [year] [list]
Message-ID: <20240811102745.542f6d02@kmaincent-XPS-13-7390>
Date: Sun, 11 Aug 2024 10:27:45 +0200
From: Kory Maincent <kory.maincent@...tlin.com>
To: Jakub Kicinski <kuba@...nel.org>
Cc: davem@...emloft.net, netdev@...r.kernel.org, edumazet@...gle.com,
 pabeni@...hat.com, donald.hunter@...il.com, ahmed.zaki@...el.com,
 sudheer.mogilappagari@...el.com
Subject: Re: [PATCH net 2/2] ethtool: rss: echo the context number back

On Wed, 24 Jul 2024 16:42:49 -0700
Jakub Kicinski <kuba@...nel.org> wrote:

> The response to a GET request in Netlink should fully identify
> the queried object. RSS_GET accepts context id as an input,
> so it must echo that attribute back to the response.
> 
> After (assuming context 1 has been created):
> 
>   $ ./cli.py --spec netlink/specs/ethtool.yaml \
>              --do rss-get \
> 	     --json '{"header": {"dev-index": 2}, "context": 1}'
>   {'context': 1,
>    'header': {'dev-index': 2, 'dev-name': 'eth0'},
>   [...]

Reviewed-by: Kory Maincent <kory.maincent@...tlin.com>

-- 
Köry Maincent, Bootlin
Embedded Linux and kernel engineering
https://bootlin.com

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ