public inbox for virtio-dev@lists.linux.dev
 help / color / mirror / Atom feed
From: "Michael S. Tsirkin" <mst@redhat.com>
To: Parav Pandit <parav@nvidia.com>
Cc: "virtio-comment@lists.oasis-open.org"
	<virtio-comment@lists.oasis-open.org>,
	"cohuck@redhat.com" <cohuck@redhat.com>,
	"david.edmondson@oracle.com" <david.edmondson@oracle.com>,
	"virtio-dev@lists.oasis-open.org"
	<virtio-dev@lists.oasis-open.org>,
	"sburla@marvell.com" <sburla@marvell.com>,
	"jasowang@redhat.com" <jasowang@redhat.com>,
	Yishai Hadas <yishaih@nvidia.com>,
	Maor Gottlieb <maorg@nvidia.com>,
	Shahaf Shuler <shahafs@nvidia.com>
Subject: [virtio-dev] Re: [PATCH v6 4/4] transport-pci: Introduce group legacy group member config region access
Date: Wed, 21 Jun 2023 11:56:22 -0400	[thread overview]
Message-ID: <20230621115131-mutt-send-email-mst@kernel.org> (raw)
In-Reply-To: <PH0PR12MB54812103E5CB5CF860B9B50CDC5DA@PH0PR12MB5481.namprd12.prod.outlook.com>

On Wed, Jun 21, 2023 at 03:50:00PM +0000, Parav Pandit wrote:
> 
> 
> > From: Parav Pandit
> > Sent: Tuesday, June 20, 2023 10:12 AM
> > 
> > Michael,
> > 
> > > From: Parav Pandit <parav@nvidia.com>
> > > Sent: Monday, June 19, 2023 2:07 PM
> > > We don't need to do it now.
> > >
> > > > Current VF capability is kind of ok I guess ...
> > > >
> > > Already proposed one?
> > >
> > > > If you want admin command to query then it would need to map in PF
> > > memory.
> > > No need.
> > > It is similar to rest of the configuration access commands.
> > >
> > > > I understand two concerns with this:
> > > > - you worry that this forces ordering requirements - it's true and I
> > > >   don't know of a good fix. So if possible use VF BAR by preference?
> > > > - you worry about wasting physical memory space
> > > >   this we can fix by sticking VF# in the kick.
> > > >
> > > > As an alternative, if we can make the new command able to
> > > > communicate offset in PCI BAR or in VF BAR or both then I think
> > > > that's also an acceptable
> > >
> > > A new command proposed was for VF BAR that member driver can ask to
> > > its group owner driver (like rest of the config commands).
> > >
> > 
> > Are you ok with the admin command to query the notification address of the
> > member device bar?
> > 
> > I presented both the proposals.
> > We need to conclude this now without keep flipping between two from version
> > to version.
> > 
> > a. v3 with admin command
> > pros:
> > 1. self-contained via AQ for rest of the control path operations.
> > 2. Can work with future siov device who may want to support legacy 3. Doesn't
> > bake things in low level pci capabilities which is hard to get rid of 4. Able to add
> > new command or new response if some device wants to support this on PF
> > (very unlikely)
> > 
> Given that this has more pros and no objection to it, 
> I will revise v7 today with query admin command like v3.

Not like v3 please. If you want to re-open this:


First I think we need multiple offsets just like notification
capaiblity, sorted by priority. Second I think we need ability to report
offset within owner not member.

So please add ability to report multiple offsets, and add e.g.
a flags field, with bits for owner, member.


> > b. and v6 with capability extension.
> > Cons:
> > 1. Does not have above advantages
> > 
> > Pros:
> > 1. Uses existing PCI capability for the extension
> > 
> > 
> > > A future command can tell for the PF BAR if needed and some device
> > > wants to do such extra implementation.
> > >
> > > > compromize:
> > > > drivers that have trouble mapping VF BAR after querying PF can just
> > > > map PF BAR. WDYT?
> > >
> > > PF BAR for notification can be done later when there is some device
> > > who really have the limitation and wants to do that.
> > > We don't see that additional need as driver notifications are present
> > > on the VF already as listed in the alternative.


---------------------------------------------------------------------
To unsubscribe, e-mail: virtio-dev-unsubscribe@lists.oasis-open.org
For additional commands, e-mail: virtio-dev-help@lists.oasis-open.org


  reply	other threads:[~2023-06-21 15:56 UTC|newest]

Thread overview: 50+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-06-13 17:30 [virtio-dev] [PATCH v6 0/4] admin: Introduce legacy registers access using AQ Parav Pandit
2023-06-13 17:30 ` [virtio-dev] [PATCH v6 1/4] admin: Split opcode table rows with a line Parav Pandit
2023-06-13 17:30 ` [virtio-dev] [PATCH v6 2/4] admin: Fix section numbering Parav Pandit
2023-06-13 17:30 ` [virtio-dev] [PATCH v6 3/4] admin: Add group member legacy register access commands Parav Pandit
2023-06-19 16:20   ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 16:29     ` [virtio-dev] " Parav Pandit
2023-06-19 16:40       ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 16:45         ` [virtio-dev] " Parav Pandit
2023-06-19 17:10           ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 17:21             ` Parav Pandit
2023-06-19 17:33               ` Michael S. Tsirkin
2023-06-19 17:38                 ` Parav Pandit
2023-06-13 17:30 ` [virtio-dev] [PATCH v6 4/4] transport-pci: Introduce group legacy group member config region access Parav Pandit
2023-06-19 16:16   ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 21:07     ` [virtio-dev] " Parav Pandit
2023-06-21 20:05       ` [virtio-dev] Re: [virtio-comment] " Michael S. Tsirkin
2023-06-21 20:22         ` [virtio-dev] " Parav Pandit
2023-06-21 20:31           ` [virtio-dev] " Michael S. Tsirkin
2023-06-21 20:43             ` [virtio-dev] " Parav Pandit
2023-06-19 16:37   ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 16:39     ` [virtio-dev] " Parav Pandit
2023-06-19 17:19       ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 17:26         ` [virtio-dev] " Parav Pandit
2023-06-19 17:37           ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 17:45             ` [virtio-dev] " Parav Pandit
2023-06-19 17:57               ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 18:07                 ` [virtio-dev] " Parav Pandit
2023-06-20 14:12                   ` Parav Pandit
2023-06-21 15:50                     ` Parav Pandit
2023-06-21 15:56                       ` Michael S. Tsirkin [this message]
2023-06-21 16:01                         ` Parav Pandit
2023-06-21 19:43                           ` [virtio-dev] Re: [virtio-comment] " Michael S. Tsirkin
2023-06-21 20:04                             ` [virtio-dev] " Parav Pandit
2023-06-21 20:08                               ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 18:00               ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 18:12                 ` [virtio-dev] " Parav Pandit
2023-06-21 19:47                   ` [virtio-dev] Re: [virtio-comment] " Michael S. Tsirkin
2023-06-19 17:04   ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 17:11     ` Parav Pandit
2023-06-19 17:26       ` Michael S. Tsirkin
2023-06-19 17:35         ` Parav Pandit
2023-06-19 17:46           ` Michael S. Tsirkin
2023-06-20  0:14             ` Parav Pandit
2023-06-20 10:21               ` Michael S. Tsirkin
2023-06-21  1:09                 ` Parav Pandit
2023-06-21  5:05                   ` Michael S. Tsirkin
2023-06-19 12:38 ` [virtio-dev] RE: [PATCH v6 0/4] admin: Introduce legacy registers access using AQ Parav Pandit
2023-06-19 15:18   ` [virtio-dev] " Michael S. Tsirkin
2023-06-19 15:58     ` [virtio-dev] " Parav Pandit
2023-06-19 16:28 ` [virtio-dev] " Michael S. Tsirkin

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=20230621115131-mutt-send-email-mst@kernel.org \
    --to=mst@redhat.com \
    --cc=cohuck@redhat.com \
    --cc=david.edmondson@oracle.com \
    --cc=jasowang@redhat.com \
    --cc=maorg@nvidia.com \
    --cc=parav@nvidia.com \
    --cc=sburla@marvell.com \
    --cc=shahafs@nvidia.com \
    --cc=virtio-comment@lists.oasis-open.org \
    --cc=virtio-dev@lists.oasis-open.org \
    --cc=yishaih@nvidia.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