[virtio-dev] Re: [PATCH v19] virtio-net: support inner header hash

2023-06-27 Thread Jason Wang
On Wed, Jun 28, 2023 at 12:23 PM Parav Pandit wrote: > > > > From: Jason Wang > > Sent: Tuesday, June 27, 2023 11:46 PM > > > > Having it in the config space, then a type agnostic provisioning through > > config > > space + feature bits just works fine. > > > Provisioning is far simpler thing

[virtio-dev] RE: [PATCH v19] virtio-net: support inner header hash

2023-06-27 Thread Parav Pandit
> From: Jason Wang > Sent: Tuesday, June 27, 2023 11:46 PM > > Having it in the config space, then a type agnostic provisioning through > config > space + feature bits just works fine. > Provisioning is far simpler thing to do in device specific way than asking device to store this value in

[virtio-dev] Re: [PATCH v19] virtio-net: support inner header hash

2023-06-27 Thread Jason Wang
On Wed, Jun 28, 2023 at 12:35 AM Heng Qi wrote: > > 1. Currently, a received encapsulated packet has an outer and an inner > header, but > the virtio device is unable to calculate the hash for the inner header. The > same > flow can traverse through different tunnels, resulting in the

[virtio-dev] Re: [virtio-comment] [RFC PATCH] admin-queue: bind the group member to the device

2023-06-27 Thread Jason Wang
On Tue, Jun 27, 2023 at 6:54 PM Xuan Zhuo wrote: > > On Tue, 27 Jun 2023 17:00:06 +0800, Jason Wang wrote: > > On Tue, Jun 27, 2023 at 4:28 PM Xuan Zhuo > > wrote: > > > > > > > > > Thanks Parav for pointing it out. We may have some gaps on the case. > > > > > > Let me introduce our case,

[virtio-dev] Re: [virtio-comment] [RFC PATCH] admin-queue: bind the group member to the device

2023-06-27 Thread Xuan Zhuo
On Tue, 27 Jun 2023 12:02:41 -0400, "Michael S. Tsirkin" wrote: > On Tue, Jun 27, 2023 at 04:23:05PM +0800, Xuan Zhuo wrote: > > So, this is how I understand the process of creating vf: > > > > 1. Create a PCI VF, at this time there may be no backend virtio device, or > > there > > is only

[virtio-dev] [PATCH v7 4/4] transport-pci: Introduce group legacy group member config region access

2023-06-27 Thread Parav Pandit
This patch links how in a PCI transport a group owner can access group member (PCI VFs) legacy registers using a legacy registers access commands using administration virtqueue infrastructure. Additionally it extend the PCI notification capability through which a PCI VF device indicates to the

[virtio-dev] [PATCH v7 1/4] admin: Split opcode table rows with a line

2023-06-27 Thread Parav Pandit
Currently all opcode appears to be in a single row. Separate them with a line similar to other tables. Signed-off-by: Parav Pandit --- changelog: v2->v3: - new patch --- admin.tex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/admin.tex b/admin.tex index 2efd4d7..e51f9e6 100644 ---

[virtio-dev] [PATCH v7 3/4] admin: Add group member legacy register access commands

2023-06-27 Thread Parav Pandit
Introduce group member legacy common configuration and legacy device configuration access read/write commands. Group member legacy registers access commands enable group owner driver software to access legacy registers on behalf of the guest virtual machine. Usecase: 1. A

[virtio-dev] [PATCH v7 2/4] admin: Fix section numbering

2023-06-27 Thread Parav Pandit
Requirements are put one additional level down. Fix it. Signed-off-by: Parav Pandit --- changelog: v4->v5: - new patch --- admin.tex | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/admin.tex b/admin.tex index e51f9e6..fd3b97d 100644 --- a/admin.tex +++ b/admin.tex @@

[virtio-dev] [PATCH v7 0/4] admin: Introduce legacy registers access using AQ

2023-06-27 Thread Parav Pandit
This short series introduces legacy registers access commands for the owner group member access the legacy registers of the member VFs. This short series introduces legacy region access commands by the group owner device for its member devices. Currently it is applicable to the PCI PF and VF

[virtio-dev] Re: [virtio-comment] [RFC PATCH] admin-queue: bind the group member to the device

2023-06-27 Thread Michael S. Tsirkin
On Tue, Jun 27, 2023 at 04:23:05PM +0800, Xuan Zhuo wrote: > So, this is how I understand the process of creating vf: > > 1. Create a PCI VF, at this time there may be no backend virtio device, or > there > is only a default backend. It does not fully meet our expectations. > 2. Create

[virtio-dev] RE: [virtio-comment] [RFC PATCH] admin-queue: bind the group member to the device

2023-06-27 Thread Parav Pandit
> From: Xuan Zhuo > Sent: Tuesday, June 27, 2023 4:23 AM > > Thanks Parav for pointing it out. We may have some gaps on the case. > > Let me introduce our case, which I think it is simple and should be easy to > understand. > > First, the user (customer) purchased a bare metal machine. > >

[virtio-dev] Re: [virtio-comment] Re: [virtio-dev] Re: [virtio-comment] [RFC PATCH] admin-queue: bind the group member to the device

2023-06-27 Thread Zhu, Lingshan
On 6/27/2023 4:14 PM, Xuan Zhuo wrote: On Tue, 27 Jun 2023 10:57:13 +0800, "Zhu, Lingshan" wrote: On 6/26/2023 6:50 PM, Xuan Zhuo wrote: On Mon, 26 Jun 2023 17:56:01 +0800, "Zhu, Lingshan" wrote: On 6/26/2023 5:16 PM, Xuan Zhuo wrote: On Mon, 26 Jun 2023 16:59:48 +0800, "Zhu,

[virtio-dev] Re: [virtio-comment] [RFC PATCH] admin-queue: bind the group member to the device

2023-06-27 Thread Jason Wang
On Tue, Jun 27, 2023 at 4:28 PM Xuan Zhuo wrote: > > > Thanks Parav for pointing it out. We may have some gaps on the case. > > Let me introduce our case, which I think it is simple and should be easy to > understand. > > First, the user (customer) purchased a bare metal machine. > > ## Bare

[virtio-dev] Re: [virtio-comment] [RFC PATCH] admin-queue: bind the group member to the device

2023-06-27 Thread Jason Wang
On Mon, Jun 26, 2023 at 2:22 PM Xuan Zhuo wrote: > > The VFs of the SR-IOV are created by the user inside the guest OS, so the > virtio > devices don't know about these VFs. Because each VF may be assigned a > different role > by the user, the virtio device can not choose one VF to bind random.