public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Jason Gunthorpe <jgg@nvidia.com>
To: Wathsala Wathawana Vithanage <wathsala.vithanage@arm.com>
Cc: Jeremy Linton <Jeremy.Linton@arm.com>,
	Jonathan Cameron <Jonathan.Cameron@huawei.com>,
	"linux-acpi@vger.kernel.org" <linux-acpi@vger.kernel.org>,
	"linux-pci@vger.kernel.org" <linux-pci@vger.kernel.org>,
	"acpica-devel@lists.linux.dev" <acpica-devel@lists.linux.dev>,
	"linux-kernel@vger.kernel.org" <linux-kernel@vger.kernel.org>,
	"lenb@kernel.org" <lenb@kernel.org>,
	"robert.moore@intel.com" <robert.moore@intel.com>,
	"bhelgaas@google.com" <bhelgaas@google.com>,
	"wei.huang2@amd.com" <wei.huang2@amd.com>,
	Honnappa Nagarahalli <Honnappa.Nagarahalli@arm.com>,
	Dhruv Tripathi <Dhruv.Tripathi@arm.com>,
	Rob Herring <Rob.Herring@arm.com>, nd <nd@arm.com>
Subject: Re: [RFC 0/2] GENL interface for ACPI _DSM methods
Date: Thu, 9 Jan 2025 09:46:17 -0400	[thread overview]
Message-ID: <20250109134617.GW5556@nvidia.com> (raw)
In-Reply-To: <PAWPR08MB89099DA1BF11CACBA14E21359F132@PAWPR08MB8909.eurprd08.prod.outlook.com>


> > > 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

      reply	other threads:[~2025-01-09 13:46 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-01-06 16:30 [RFC 0/2] GENL interface for ACPI _DSM methods Wathsala Vithanage
2025-01-06 16:30 ` [RFC PATCH 1/2] ACPI: Add support for invoking select _DSM methods from user space Wathsala Vithanage
2025-01-06 16:30 ` [RFC PATCH 2/2] PCI: Add generic netlink interface to TPH _DSM Wathsala Vithanage
2025-01-06 18:01 ` [RFC 0/2] GENL interface for ACPI _DSM methods Jonathan Cameron
2025-01-07 17:37   ` Jeremy Linton
2025-01-07 17:48     ` Jason Gunthorpe
2025-01-08 19:59       ` Jeremy Linton
2025-01-08 20:50         ` Jason Gunthorpe
2025-01-09  0:34           ` Wathsala Wathawana Vithanage
2025-01-09 13:38             ` Jason Gunthorpe
2025-01-09 13:42               ` Wathsala Wathawana Vithanage
2025-01-09 13:46                 ` Jason Gunthorpe [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20250109134617.GW5556@nvidia.com \
    --to=jgg@nvidia.com \
    --cc=Dhruv.Tripathi@arm.com \
    --cc=Honnappa.Nagarahalli@arm.com \
    --cc=Jeremy.Linton@arm.com \
    --cc=Jonathan.Cameron@huawei.com \
    --cc=Rob.Herring@arm.com \
    --cc=acpica-devel@lists.linux.dev \
    --cc=bhelgaas@google.com \
    --cc=lenb@kernel.org \
    --cc=linux-acpi@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-pci@vger.kernel.org \
    --cc=nd@arm.com \
    --cc=robert.moore@intel.com \
    --cc=wathsala.vithanage@arm.com \
    --cc=wei.huang2@amd.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox