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: <8fe057c5095176f7d188c8c5633b7b7b1a80e22f.camel@nvidia.com>
Date: Wed, 7 Jan 2026 11:44:17 +0000
From: Cosmin Ratiu <cratiu@...dia.com>
To: "kuba@...nel.org" <kuba@...nel.org>
CC: "andrew+netdev@...n.ch" <andrew+netdev@...n.ch>, "davem@...emloft.net"
	<davem@...emloft.net>, "linux-kselftest@...r.kernel.org"
	<linux-kselftest@...r.kernel.org>, "shuah@...nel.org" <shuah@...nel.org>,
	"pabeni@...hat.com" <pabeni@...hat.com>, "netdev@...r.kernel.org"
	<netdev@...r.kernel.org>, "edumazet@...gle.com" <edumazet@...gle.com>,
	Carolina Jubran <cjubran@...dia.com>
Subject: Re: [PATCH net-next 1/2] selftests: drv-net: psp: Use first device
 when multiple are present

On Mon, 2026-01-05 at 17:44 -0800, Jakub Kicinski wrote:
> On Mon, 5 Jan 2026 12:04:23 +0200 Cosmin Ratiu wrote:
> > The PSP responder fails when multiple devices are detected. There's
> > an option to select the device id to use (-d) but that's currently
> > not
> > used from the PSP self test.
> > 
> > Change the default behavior of psp_responder to pick the first
> > device instead of giving up altogether.
> 
> We know what ifindex we expect to run against (cfg.remote_ifname)
> we can resolve which PSP device it belongs to either in the C code
> or in the Python script.

I see now that the psp dev dump command exports the netdev ifindex
alongside the psp devid. psp_responder could match that against a
command line argument (replacing -d). I'll concoct something and send
it as next version.

Cosmin.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ