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: <20250109134617.GW5556@nvidia.com>
Date: Thu, 9 Jan 2025 09:46:17 -0400
From: Jason Gunthorpe <jgg@...dia.com>
To: Wathsala Wathawana Vithanage <wathsala.vithanage@....com>
Cc: Jeremy Linton <Jeremy.Linton@....com>,
	Jonathan Cameron <Jonathan.Cameron@...wei.com>,
	"linux-acpi@...r.kernel.org" <linux-acpi@...r.kernel.org>,
	"linux-pci@...r.kernel.org" <linux-pci@...r.kernel.org>,
	"acpica-devel@...ts.linux.dev" <acpica-devel@...ts.linux.dev>,
	"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>,
	"lenb@...nel.org" <lenb@...nel.org>,
	"robert.moore@...el.com" <robert.moore@...el.com>,
	"bhelgaas@...gle.com" <bhelgaas@...gle.com>,
	"wei.huang2@....com" <wei.huang2@....com>,
	Honnappa Nagarahalli <Honnappa.Nagarahalli@....com>,
	Dhruv Tripathi <Dhruv.Tripathi@....com>,
	Rob Herring <Rob.Herring@....com>, nd <nd@....com>
Subject: Re: [RFC 0/2] GENL interface for ACPI _DSM methods


> > > This RFC is only about acquiring the steering tag from the ACPI _DSM,
> > > which the DPDK user space driver will set in the queue context
> > > of the device it manages.
> > > Setting of the steering tag part happens in the DPDK device driver.
> > > Are you suggesting that I should instead pass a CPU and a cache ID to
> > > VFIO and let VFIO decide what's right for the application?
> > 
> > I think that would be better, yes. Get VFIO to give you the steering tag
> > information, and any related control of the config space you may need, via an
> > IOCTL.
> 
> Sounds good, I like that idea.

Yeah, remember there is a broad complexity here. Some devices want to
setup their steering tag information through the MSI-X table, for
instance. VFIO is the right place to assist DPDK with all of these
cases that need kernel involvement.

Jason

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ