From: "Pei, Andy" <andy.pei@intel.com>
To: "Xia, Chenbo" <chenbo.xia@intel.com>, "dev@dpdk.org" <dev@dpdk.org>
Cc: "maxime.coquelin@redhat.com" <maxime.coquelin@redhat.com>,
"Cao, Gang" <gang.cao@intel.com>,
"Liu, Changpeng" <changpeng.liu@intel.com>,
"Xu, Rosen" <rosen.xu@intel.com>,
"Xiao, QimaiX" <qimaix.xiao@intel.com>
Subject: RE: [PATCH v8 01/13] vdpa/ifc: add support for virtio blk device
Date: Mon, 23 May 2022 04:33:47 +0000 [thread overview]
Message-ID: <DM5PR11MB173968F1A00E0D3FC3557A178FD49@DM5PR11MB1739.namprd11.prod.outlook.com> (raw)
In-Reply-To: <SN6PR11MB3504A943FE93A8F0E599BB5B9CD49@SN6PR11MB3504.namprd11.prod.outlook.com>
Hi Chenbo,
Thanks for your reply, my reply is inline.
> -----Original Message-----
> From: Xia, Chenbo <chenbo.xia@intel.com>
> Sent: Monday, May 23, 2022 11:42 AM
> To: Pei, Andy <andy.pei@intel.com>; dev@dpdk.org
> Cc: maxime.coquelin@redhat.com; Cao, Gang <gang.cao@intel.com>; Liu,
> Changpeng <changpeng.liu@intel.com>; Xu, Rosen <rosen.xu@intel.com>;
> Xiao, QimaiX <qimaix.xiao@intel.com>
> Subject: RE: [PATCH v8 01/13] vdpa/ifc: add support for virtio blk device
>
> Hi Andy,
>
> > -----Original Message-----
> > From: Pei, Andy <andy.pei@intel.com>
> > Sent: Wednesday, May 18, 2022 8:14 PM
> > To: dev@dpdk.org
> > Cc: Xia, Chenbo <chenbo.xia@intel.com>; maxime.coquelin@redhat.com;
> > Cao, Gang <gang.cao@intel.com>; Liu, Changpeng
> > <changpeng.liu@intel.com>; Xu, Rosen <rosen.xu@intel.com>; Xiao,
> > QimaiX <qimaix.xiao@intel.com>
> > Subject: [PATCH v8 01/13] vdpa/ifc: add support for virtio blk device
> >
> > Re-use the vdpa/ifc code, distinguish blk and net device by pci_device_id.
> > Blk and net device are implemented with proper feature and ops.
> >
> > Signed-off-by: Andy Pei <andy.pei@intel.com>
> > ---
> > drivers/vdpa/ifc/base/ifcvf.h | 16 +++++++-
> > drivers/vdpa/ifc/ifcvf_vdpa.c | 91
> > +++++++++++++++++++++++++++++++++++++++----
> > 2 files changed, 98 insertions(+), 9 deletions(-)
> >
> > diff --git a/drivers/vdpa/ifc/base/ifcvf.h
> > b/drivers/vdpa/ifc/base/ifcvf.h index 573a35f..483d38b 100644
> > --- a/drivers/vdpa/ifc/base/ifcvf.h
> > +++ b/drivers/vdpa/ifc/base/ifcvf.h
> > @@ -5,8 +5,17 @@
> > #ifndef _IFCVF_H_
> > #define _IFCVF_H_
> >
> > +#include <linux/virtio_blk.h>
> > #include "ifcvf_osdep.h"
> >
> > +#define IFCVF_NET 0
> > +#define IFCVF_BLK 1
> > +
> > +/* for BLK */
> > +#define IFCVF_BLK_TRANSITIONAL_DEVICE_ID 0x1001
> > +#define IFCVF_BLK_MODERN_DEVICE_ID 0x1042
> > +#define IFCVF_BLK_DEVICE_ID 0x0002
> > +
> > #define IFCVF_VENDOR_ID 0x1AF4
> > #define IFCVF_DEVICE_ID 0x1041
> > #define IFCVF_SUBSYS_VENDOR_ID 0x8086
>
> Let's rename IFCVF_DEVICE_ID to IFCVF_NET_DEVICE_ID as it's only used for
> net now.
>
Sure, I will do it in next version.
> > @@ -126,13 +135,18 @@ struct ifcvf_hw {
> > u8 notify_region;
> > u32 notify_off_multiplier;
> > struct ifcvf_pci_common_cfg *common_cfg;
> > - struct ifcvf_net_config *dev_cfg;
> > + union {
> > + struct ifcvf_net_config *net_cfg;
> > + struct virtio_blk_config *blk_cfg;
> > + void *dev_cfg;
> > + };
> > u8 *isr;
> > u16 *notify_base;
> > u16 *notify_addr[IFCVF_MAX_QUEUES * 2];
> > u8 *lm_cfg;
> > struct vring_info vring[IFCVF_MAX_QUEUES * 2];
> > u8 nr_vring;
> > + int device_type;
> > struct ifcvf_pci_mem_resource
> mem_resource[IFCVF_PCI_MAX_RESOURCE];
> > };
> >
> > diff --git a/drivers/vdpa/ifc/ifcvf_vdpa.c
> > b/drivers/vdpa/ifc/ifcvf_vdpa.c index 9f05595..be0efd3 100644
> > --- a/drivers/vdpa/ifc/ifcvf_vdpa.c
> > +++ b/drivers/vdpa/ifc/ifcvf_vdpa.c
> > @@ -75,6 +75,12 @@ struct internal_list {
> > struct ifcvf_internal *internal;
> > };
> >
> > +/* vdpa device info includes device features and devcic operation. */
> > +struct rte_vdpa_dev_info {
> > + uint64_t features;
> > + struct rte_vdpa_dev_ops *ops;
> > +};
> > +
> > TAILQ_HEAD(internal_list_head, internal_list); static struct
> > internal_list_head internal_list =
> > TAILQ_HEAD_INITIALIZER(internal_list);
> > @@ -1167,6 +1173,48 @@ struct internal_list {
> > return 0;
> > }
> >
> > +static int16_t
> > +ifcvf_pci_get_device_type(struct rte_pci_device *pci_dev) {
> > + uint16_t pci_device_id = pci_dev->id.device_id;
> > + uint16_t device_id;
> > +
> > + if (pci_device_id < 0x1000 || pci_device_id > 0x107f) {
> > + DRV_LOG(ERR, "Probe device is not a virtio device\n");
> > + return -1;
> > + }
> > +
> > + if (pci_device_id < 0x1040) {
> > + /* Transitional devices: use the PCI subsystem device id as
> > + * virtio device id, same as legacy driver always did.
> > + */
> > + device_id = pci_dev->id.subsystem_device_id;
> > + } else {
> > + /* Modern devices: simply use PCI device id,
> > + * but start from 0x1040.
> > + */
> > + device_id = pci_device_id - 0x1040;
> > + }
> > +
> > + return device_id;
> > +}
> > +
> > +struct rte_vdpa_dev_info dev_info[] = {
> > + {
> > + .features = (1ULL << VIRTIO_NET_F_GUEST_ANNOUNCE) |
> > + (1ULL << VIRTIO_NET_F_CTRL_VQ) |
> > + (1ULL << VIRTIO_NET_F_STATUS) |
> > + (1ULL << VHOST_USER_F_PROTOCOL_FEATURES) |
> > + (1ULL << VHOST_F_LOG_ALL),
> > + .ops = &ifcvf_ops,
>
> Rename ifcvf_ops -> ifcvf_net_ops
>
> Overall the patch LGTM. With above fixed:
>
> Reviewed-by: Chenbo Xia <chenbo.xia@intel.com>
>
OK, I will do this in next version.
> > + },
> > + {
> > + .features = (1ULL << VHOST_USER_F_PROTOCOL_FEATURES)
> |
> > + (1ULL << VHOST_F_LOG_ALL),
> > + .ops = NULL,
> > + },
> > +};
> > +
> > static int
> > ifcvf_pci_probe(struct rte_pci_driver *pci_drv __rte_unused,
> > struct rte_pci_device *pci_dev)
> > @@ -1178,6 +1226,7 @@ struct internal_list {
> > int sw_fallback_lm = 0;
> > struct rte_kvargs *kvlist = NULL;
> > int ret = 0;
> > + int16_t device_id;
> >
> > if (rte_eal_process_type() != RTE_PROC_PRIMARY)
> > return 0;
> > @@ -1227,13 +1276,24 @@ struct internal_list {
> > internal->configured = 0;
> > internal->max_queues = IFCVF_MAX_QUEUES;
> > features = ifcvf_get_features(&internal->hw);
> > - internal->features = (features &
> > - ~(1ULL << VIRTIO_F_IOMMU_PLATFORM)) |
> > - (1ULL << VIRTIO_NET_F_GUEST_ANNOUNCE) |
> > - (1ULL << VIRTIO_NET_F_CTRL_VQ) |
> > - (1ULL << VIRTIO_NET_F_STATUS) |
> > - (1ULL << VHOST_USER_F_PROTOCOL_FEATURES) |
> > - (1ULL << VHOST_F_LOG_ALL);
> > +
> > + device_id = ifcvf_pci_get_device_type(pci_dev);
> > + if (device_id < 0) {
> > + DRV_LOG(ERR, "failed to get device %s type", pci_dev-
> >name);
> > + goto error;
> > + }
> > +
> > + if (device_id == VIRTIO_ID_NET) {
> > + internal->hw.device_type = IFCVF_NET;
> > + internal->features = features &
> > + ~(1ULL <<
> VIRTIO_F_IOMMU_PLATFORM);
> > + internal->features |= dev_info[IFCVF_NET].features;
> > + } else if (device_id == VIRTIO_ID_BLOCK) {
> > + internal->hw.device_type = IFCVF_BLK;
> > + internal->features = features &
> > + ~(1ULL <<
> VIRTIO_F_IOMMU_PLATFORM);
> > + internal->features |= dev_info[IFCVF_BLK].features;
> > + }
> >
> > list->internal = internal;
> >
> > @@ -1245,7 +1305,8 @@ struct internal_list {
> > }
> > internal->sw_lm = sw_fallback_lm;
> >
> > - internal->vdev = rte_vdpa_register_device(&pci_dev->device,
> > &ifcvf_ops);
> > + internal->vdev = rte_vdpa_register_device(&pci_dev->device,
> > + dev_info[internal->hw.device_type].ops);
> > if (internal->vdev == NULL) {
> > DRV_LOG(ERR, "failed to register device %s", pci_dev->name);
> > goto error;
> > @@ -1313,6 +1374,20 @@ struct internal_list {
> > .subsystem_device_id = IFCVF_SUBSYS_DEVICE_ID,
> > },
> >
> > + { .class_id = RTE_CLASS_ANY_ID,
> > + .vendor_id = IFCVF_VENDOR_ID,
> > + .device_id = IFCVF_BLK_TRANSITIONAL_DEVICE_ID,
> > + .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
> > + .subsystem_device_id = IFCVF_BLK_DEVICE_ID,
> > + },
> > +
> > + { .class_id = RTE_CLASS_ANY_ID,
> > + .vendor_id = IFCVF_VENDOR_ID,
> > + .device_id = IFCVF_BLK_MODERN_DEVICE_ID,
> > + .subsystem_vendor_id = IFCVF_SUBSYS_VENDOR_ID,
> > + .subsystem_device_id = IFCVF_BLK_DEVICE_ID,
> > + },
> > +
> > { .vendor_id = 0, /* sentinel */
> > },
> > };
> > --
> > 1.8.3.1
next prev parent reply other threads:[~2022-05-23 4:34 UTC|newest]
Thread overview: 263+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-25 6:47 [PATCH 00/15] add virtio_blk device support to vdpa/ifc Andy Pei
2022-01-25 6:47 ` [PATCH 01/15] vdpa/ifc: add support for virtio blk device Andy Pei
2022-01-25 9:37 ` [PATCH v2 00/15] add virtio_blk device support to vdpa/ifc Andy Pei
2022-01-25 9:37 ` [PATCH v2 01/15] vdpa/ifc: add support for virtio blk device Andy Pei
2022-01-25 9:37 ` [PATCH v2 02/15] vhost: add vdpa ops for " Andy Pei
2022-01-25 9:37 ` [PATCH v2 03/15] vdpa/ifc: add blk ops for ifc device Andy Pei
2022-01-25 9:37 ` [PATCH v2 04/15] vdpa/ifc: add vdpa interrupt for blk device Andy Pei
2022-01-25 9:37 ` [PATCH v2 05/15] vdpa/ifc: add blk dev sw live migration Andy Pei
2022-01-25 9:37 ` [PATCH v2 06/15] example/vdpa:add vdpa blk support in example Andy Pei
2022-01-25 9:37 ` [PATCH v2 07/15] usertools: add support for virtio blk device Andy Pei
2022-01-25 9:37 ` [PATCH v2 08/15] vdpa/ifc: set_vring_state op is mandatory, add set_vring_state for " Andy Pei
2022-01-25 9:37 ` [PATCH v2 09/15] vdpa/ifc: add some log at VDPA launch before qemu connect Andy Pei
2022-01-25 9:37 ` [PATCH v2 10/15] vdpa/ifc: read virtio max_queues from hardware Andy Pei
2022-01-25 9:37 ` [PATCH v2 11/15] vdpa: add config space change interrupt register and handle for virtio_blk Andy Pei
2022-01-25 9:37 ` [PATCH v2 12/15] vdpa/ifc: add is_blk flag to ifcvf_hw, and init is_blk during probe Andy Pei
2022-01-25 9:37 ` [PATCH v2 13/15] vdpa/ifc/base: for blk device, live migration register is different from net device Andy Pei
2022-01-25 9:37 ` [PATCH v2 14/15] vdpa/ifc: make sure hardware last_avail_idx and last_used_idx is the same when blk device pause Andy Pei
2022-01-25 9:37 ` [PATCH v2 15/15] vhost: make sure each queue callfd is configured Andy Pei
2022-01-27 7:13 ` Xia, Chenbo
2022-01-29 3:11 ` Pei, Andy
2022-01-29 3:03 ` [PATCH v3 00/15] add virtio_blk device support to vdpa/ifc Andy Pei
2022-01-29 3:03 ` [PATCH v3 01/15] vdpa/ifc: add support for virtio blk device Andy Pei
2022-03-22 8:57 ` Maxime Coquelin
2022-01-29 3:03 ` [PATCH v3 02/15] vhost: add vdpa ops for " Andy Pei
2022-03-22 9:12 ` Maxime Coquelin
2022-01-29 3:03 ` [PATCH v3 03/15] vdpa/ifc: add blk ops for ifc device Andy Pei
2022-03-22 9:58 ` Maxime Coquelin
2022-01-29 3:03 ` [PATCH v3 04/15] vdpa/ifc: add vdpa interrupt for blk device Andy Pei
2022-03-22 10:04 ` Maxime Coquelin
2022-03-23 7:07 ` Pei, Andy
2022-03-23 7:42 ` Pei, Andy
2022-01-29 3:03 ` [PATCH v3 05/15] vdpa/ifc: add blk dev sw live migration Andy Pei
2022-03-22 11:10 ` Maxime Coquelin
2022-03-23 9:08 ` Pei, Andy
2022-01-29 3:03 ` [PATCH v3 06/15] example/vdpa:add vdpa blk support in example Andy Pei
2022-03-22 11:29 ` Maxime Coquelin
2022-03-23 9:31 ` Pei, Andy
2022-01-29 3:03 ` [PATCH v3 07/15] usertools: add support for virtio blk device Andy Pei
2022-01-29 3:03 ` [PATCH v3 08/15] vdpa/ifc: set_vring_state op is mandatory, add set_vring_state for " Andy Pei
2022-01-29 3:03 ` [PATCH v3 09/15] vdpa/ifc: add some log at VDPA launch before qemu connect Andy Pei
2022-01-29 3:03 ` [PATCH v3 10/15] vdpa/ifc: read virtio max_queues from hardware Andy Pei
2022-01-29 3:03 ` [PATCH v3 11/15] vdpa: add config space change interrupt register and handle for virtio_blk Andy Pei
2022-01-29 3:03 ` [PATCH v3 12/15] vdpa/ifc: add is_blk flag to ifcvf_hw, and init is_blk during probe Andy Pei
2022-01-29 3:03 ` [PATCH v3 13/15] vdpa/ifc/base: for blk device, live migration register is different from net device Andy Pei
2022-01-29 3:03 ` [PATCH v3 14/15] vdpa/ifc: make sure hardware last_avail_idx and last_used_idx are the same when blk device pause Andy Pei
2022-01-29 3:03 ` [PATCH v3 15/15] vhost: make sure each queue callfd is configured Andy Pei
2022-03-27 14:51 ` [PATCH v4 00/16] add virtio_blk device support to vdpa/ifc Andy Pei
2022-03-27 14:51 ` [PATCH v4 01/16] vdpa/ifc: add support for virtio blk device Andy Pei
2022-03-27 14:51 ` [PATCH v4 02/16] vhost: add vdpa ops for " Andy Pei
2022-03-27 14:51 ` [PATCH v4 03/16] vhost: add support for VHOST_USER_GET_CONFIG and VHOST_USER_SET_CONFIG Andy Pei
2022-03-27 14:51 ` [PATCH v4 04/16] vdpa/ifc: add blk ops for ifc device Andy Pei
2022-03-27 14:51 ` [PATCH v4 05/16] vdpa/ifc: add vdpa interrupt for blk device Andy Pei
2022-03-27 14:51 ` [PATCH v4 06/16] vdpa/ifc: add block device SW live-migration Andy Pei
2022-03-27 14:51 ` [PATCH v4 07/16] example/vdpa:add vdpa blk support in example Andy Pei
2022-03-27 14:51 ` [PATCH v4 08/16] usertools: add support for virtio blk device Andy Pei
2022-03-27 20:01 ` Stephen Hemminger
2022-03-27 14:51 ` [PATCH v4 09/16] vdpa/ifc: set_vring_state op is mandatory, add set_vring_state for " Andy Pei
2022-03-27 14:51 ` [PATCH v4 10/16] vdpa/ifc: add some log at VDPA lauch before qemu connect Andy Pei
2022-03-27 14:51 ` [PATCH v4 11/16] vdpa/ifc: read virtio max_queues from hardware Andy Pei
2022-03-27 14:51 ` [PATCH v4 12/16] vdpa: add config space change interrupt register and handle for virtio_blk Andy Pei
2022-03-27 14:51 ` [PATCH v4 13/16] vdpa/ifc: add is_blk flag to ifcvf_hw, and init is_blk during probe Andy Pei
2022-03-27 14:51 ` [PATCH v4 14/16] vdpa/ifc/base: for blk device, live migration register is different from net device Andy Pei
2022-03-27 14:51 ` [PATCH v4 15/16] vdpa/ifc: make sure hardware last_avail_idx and last_used_idx is the same when blk device pause Andy Pei
2022-03-27 14:51 ` [PATCH v4 16/16] vhost: make sure each queue callfd is configured Andy Pei
2022-03-28 7:17 ` [PATCH v5 00/16] add virtio_blk device support to vdpa/ifc Andy Pei
2022-03-28 7:17 ` [PATCH v5 01/16] vdpa/ifc: add support for virtio blk device Andy Pei
2022-03-28 7:17 ` [PATCH v5 02/16] vhost: add vdpa ops for " Andy Pei
2022-03-28 7:17 ` [PATCH v5 03/16] vhost: add support for VHOST_USER_GET_CONFIG and VHOST_USER_SET_CONFIG Andy Pei
2022-04-20 13:53 ` Xia, Chenbo
2022-04-21 8:05 ` Pei, Andy
2022-03-28 7:17 ` [PATCH v5 04/16] vdpa/ifc: add blk ops for ifc device Andy Pei
2022-03-28 7:17 ` [PATCH v5 05/16] vdpa/ifc: add vdpa interrupt for blk device Andy Pei
2022-03-28 7:17 ` [PATCH v5 06/16] vdpa/ifc: add block device SW live-migration Andy Pei
2022-03-28 7:17 ` [PATCH v5 07/16] example/vdpa:add vdpa blk support in example Andy Pei
2022-03-28 7:17 ` [PATCH v5 08/16] usertools: add support for virtio blk device Andy Pei
2022-03-28 7:17 ` [PATCH v5 09/16] vdpa/ifc: set_vring_state op is mandatory, add set_vring_state for " Andy Pei
2022-03-28 7:17 ` [PATCH v5 10/16] vdpa/ifc: add some log at VDPA launch before qemu connect Andy Pei
2022-03-28 7:17 ` [PATCH v5 11/16] vdpa/ifc: read virtio max_queues from hardware Andy Pei
2022-03-28 7:17 ` [PATCH v5 12/16] vdpa: add config space change interrupt register and handle for virtio_blk Andy Pei
2022-03-28 7:17 ` [PATCH v5 13/16] vdpa/ifc: add is_blk flag to ifcvf_hw, and init is_blk during probe Andy Pei
2022-03-28 7:17 ` [PATCH v5 14/16] vdpa/ifc/base: for blk device, live migration register is different from net device Andy Pei
2022-03-28 7:17 ` [PATCH v5 15/16] vdpa/ifc: make sure hardware last_avail_idx and last_used_idx is the same when blk device pause Andy Pei
2022-03-28 7:17 ` [PATCH v5 16/16] vhost: make sure each queue callfd is configured Andy Pei
2022-04-21 8:33 ` [PATCH v6 00/16] add virtio_blk device support to vdpa/ifc Andy Pei
2022-04-21 8:33 ` [PATCH v6 01/16] vdpa/ifc: add support for virtio blk device Andy Pei
2022-04-21 8:33 ` [PATCH v6 02/16] vhost: add vDPA ops for " Andy Pei
2022-04-21 8:33 ` [PATCH v6 03/16] vhost: add vhost msg support Andy Pei
2022-04-25 12:42 ` Xia, Chenbo
2022-04-26 8:55 ` Pei, Andy
2022-04-26 9:17 ` Xia, Chenbo
2022-04-27 4:12 ` Pei, Andy
2022-04-25 13:04 ` David Marchand
2022-04-26 8:08 ` Pei, Andy
2022-04-21 8:33 ` [PATCH v6 04/16] vdpa/ifc: add blk ops for ifc device Andy Pei
2022-04-21 8:33 ` [PATCH v6 05/16] vdpa/ifc: add vDPA interrupt for blk device Andy Pei
2022-04-25 12:58 ` Xia, Chenbo
2022-04-26 9:56 ` Pei, Andy
2022-04-21 8:33 ` [PATCH v6 06/16] vdpa/ifc: add block device SW live-migration Andy Pei
2022-04-25 13:10 ` Xia, Chenbo
2022-04-26 10:07 ` Pei, Andy
2022-04-21 8:33 ` [PATCH v6 07/16] examples/vdpa: add vDPA blk support in example Andy Pei
2022-04-25 13:38 ` Xia, Chenbo
2022-04-27 4:11 ` Pei, Andy
2022-04-21 8:33 ` [PATCH v6 08/16] usertools: add support for virtio blk device Andy Pei
2022-04-25 13:53 ` Xia, Chenbo
2022-04-26 4:13 ` Pei, Andy
2022-04-21 8:33 ` [PATCH v6 09/16] vdpa/ifc: add set vring state for " Andy Pei
2022-04-21 8:33 ` [PATCH v6 10/16] vdpa/ifc: add some log at vDPA launch before qemu connect Andy Pei
2022-04-21 8:33 ` [PATCH v6 11/16] vdpa/ifc: read virtio max queues from hardware Andy Pei
2022-04-21 8:33 ` [PATCH v6 12/16] vdpa/ifc: add interrupt and handle for virtio blk Andy Pei
2022-04-21 8:33 ` [PATCH v6 13/16] vdpa/ifc: add is blk flag to ifcvf HW struct Andy Pei
2022-04-21 8:33 ` [PATCH v6 14/16] vdpa/ifc/base: access correct register for blk device Andy Pei
2022-04-21 8:33 ` [PATCH v6 15/16] vdpa/ifc: blk device pause without no inflight IO Andy Pei
2022-04-21 8:33 ` [PATCH v6 16/16] vhost: make sure each queue callfd is configured Andy Pei
2022-04-27 8:29 ` [PATCH v7 00/18] add virtio_blk device support to vdpa/ifc Andy Pei
2022-04-27 8:29 ` [PATCH v7 01/18] vdpa/ifc: add support for virtio blk device Andy Pei
2022-04-27 8:29 ` [PATCH v7 02/18] vhost: add vDPA ops for " Andy Pei
2022-04-27 8:29 ` [PATCH v7 03/18] vhost: add vhost msg support Andy Pei
2022-05-11 14:24 ` Xia, Chenbo
2022-05-12 3:50 ` Pei, Andy
2022-04-27 8:29 ` [PATCH v7 04/18] vdpa/ifc: add blk ops for ifc device Andy Pei
2022-04-27 8:29 ` [PATCH v7 05/18] vdpa/ifc: add vDPA interrupt for blk device Andy Pei
2022-05-11 14:35 ` Xia, Chenbo
2022-05-12 3:49 ` Pei, Andy
2022-04-27 8:29 ` [PATCH v7 06/18] vdpa/ifc: add block device SW live-migration Andy Pei
2022-05-12 12:55 ` Xia, Chenbo
2022-05-13 3:32 ` Pei, Andy
2022-04-27 8:29 ` [PATCH v7 07/18] vhost: add API to get vDPA device type Andy Pei
2022-05-12 13:14 ` Xia, Chenbo
2022-05-13 4:15 ` Pei, Andy
2022-04-27 8:29 ` [PATCH v7 08/18] vdpa/ifc: add get device type ops to ifc driver Andy Pei
2022-05-12 13:21 ` Xia, Chenbo
2022-05-12 13:40 ` Xia, Chenbo
2022-05-13 7:38 ` Pei, Andy
2022-04-27 8:29 ` [PATCH v7 09/18] examples/vdpa: add vDPA blk support in example Andy Pei
2022-05-12 13:34 ` Xia, Chenbo
2022-05-13 8:16 ` Pei, Andy
2022-04-27 8:29 ` [PATCH v7 10/18] usertools: add support for virtio blk device Andy Pei
2022-04-27 8:29 ` [PATCH v7 11/18] vdpa/ifc: add set vring state for " Andy Pei
2022-05-12 13:44 ` Xia, Chenbo
2022-04-27 8:30 ` [PATCH v7 12/18] vdpa/ifc: add some log at vDPA launch before qemu connect Andy Pei
2022-05-12 13:53 ` Xia, Chenbo
2022-05-13 8:34 ` Pei, Andy
2022-05-13 8:40 ` Xia, Chenbo
2022-05-13 15:37 ` Stephen Hemminger
2022-05-16 1:03 ` Pei, Andy
2022-04-27 8:30 ` [PATCH v7 13/18] vdpa/ifc: read virtio max queues from hardware Andy Pei
2022-05-12 13:55 ` Xia, Chenbo
2022-05-13 8:58 ` Pei, Andy
2022-04-27 8:30 ` [PATCH v7 14/18] vdpa/ifc: add interrupt and handle for virtio blk Andy Pei
2022-05-13 2:52 ` Xia, Chenbo
2022-05-13 10:10 ` Pei, Andy
2022-04-27 8:30 ` [PATCH v7 15/18] vdpa/ifc: add is blk flag to ifcvf HW struct Andy Pei
2022-05-13 2:55 ` Xia, Chenbo
2022-05-16 3:05 ` Pei, Andy
2022-04-27 8:30 ` [PATCH v7 16/18] vdpa/ifc/base: access correct register for blk device Andy Pei
2022-05-13 2:57 ` Xia, Chenbo
2022-05-16 4:19 ` Pei, Andy
2022-04-27 8:30 ` [PATCH v7 17/18] vdpa/ifc: blk device pause without no inflight IO Andy Pei
2022-05-13 2:59 ` Xia, Chenbo
2022-05-16 4:20 ` Pei, Andy
2022-04-27 8:30 ` [PATCH v7 18/18] vhost: make sure each queue callfd is configured Andy Pei
2022-05-13 3:10 ` Xia, Chenbo
2022-05-18 12:13 ` [PATCH v8 00/13] add virtio_blk device support to vdpa/ifc Andy Pei
2022-05-18 12:13 ` [PATCH v8 01/13] vdpa/ifc: add support for virtio blk device Andy Pei
2022-05-23 3:41 ` Xia, Chenbo
2022-05-23 4:33 ` Pei, Andy [this message]
2022-05-18 12:13 ` [PATCH v8 02/13] vhost: add vDPA ops for " Andy Pei
2022-05-23 3:46 ` Xia, Chenbo
2022-05-23 4:38 ` Pei, Andy
2022-05-18 12:13 ` [PATCH v8 03/13] vhost: add vhost msg support for get/set config Andy Pei
2022-05-23 3:54 ` Xia, Chenbo
2022-05-23 4:49 ` Pei, Andy
2022-05-18 12:13 ` [PATCH v8 04/13] vdpa/ifc: add blk ops for ifc device Andy Pei
2022-05-23 4:07 ` Xia, Chenbo
2022-05-23 5:04 ` Pei, Andy
2022-05-18 12:13 ` [PATCH v8 05/13] vdpa/ifc: add vDPA interrupt relay for blk device Andy Pei
2022-05-23 4:10 ` Xia, Chenbo
2022-05-18 12:13 ` [PATCH v8 06/13] vdpa/ifc: add block device SW live-migration Andy Pei
2022-05-23 5:25 ` Xia, Chenbo
2022-05-23 5:31 ` Pei, Andy
2022-05-18 12:13 ` [PATCH v8 07/13] vhost: add API to get vDPA device type Andy Pei
2022-05-23 7:26 ` Xia, Chenbo
2022-05-23 8:23 ` Pei, Andy
2022-05-18 12:13 ` [PATCH v8 08/13] vdpa/ifc: add get device type ops to ifc driver Andy Pei
2022-05-23 7:30 ` Xia, Chenbo
2022-05-23 8:31 ` Pei, Andy
2022-05-18 12:13 ` [PATCH v8 09/13] examples/vdpa: add add virtio blk support Andy Pei
2022-05-23 7:40 ` Xia, Chenbo
2022-05-23 8:38 ` Pei, Andy
2022-05-18 12:13 ` [PATCH v8 10/13] usertools: add support for virtio blk device Andy Pei
2022-05-23 7:43 ` Xia, Chenbo
2022-05-23 8:49 ` Pei, Andy
2022-05-18 12:13 ` [PATCH v8 11/13] vdpa/ifc: add log for config space of virtio blk Andy Pei
2022-05-23 7:46 ` Xia, Chenbo
2022-05-18 12:13 ` [PATCH v8 12/13] vdpa/ifc: add interrupt handling for config space Andy Pei
2022-05-23 7:54 ` Xia, Chenbo
2022-05-18 12:13 ` [PATCH v8 13/13] vdpa/ifc/base: access correct register for blk device Andy Pei
2022-05-23 7:55 ` Xia, Chenbo
2022-05-23 9:03 ` Pei, Andy
2022-05-23 9:35 ` [PATCH v9 00/13] add virtio_blk device support to vdpa/ifc Andy Pei
2022-05-23 9:35 ` [PATCH v9 01/13] vdpa/ifc: add support for virtio blk device Andy Pei
2022-05-24 2:37 ` Xia, Chenbo
2022-05-23 9:35 ` [PATCH v9 02/13] vhost: add vDPA ops for " Andy Pei
2022-05-24 2:38 ` Xia, Chenbo
2022-05-23 9:35 ` [PATCH v9 03/13] vhost: add vhost msg support for get/set config Andy Pei
2022-05-24 2:52 ` Xia, Chenbo
2022-05-24 3:24 ` Pei, Andy
2022-05-23 9:35 ` [PATCH v9 04/13] vdpa/ifc: add blk ops for ifc device Andy Pei
2022-05-24 2:55 ` Xia, Chenbo
2022-05-24 3:27 ` Pei, Andy
2022-05-23 9:35 ` [PATCH v9 05/13] vdpa/ifc: add vDPA interrupt relay for blk device Andy Pei
2022-05-24 2:58 ` Xia, Chenbo
2022-05-23 9:35 ` [PATCH v9 06/13] vdpa/ifc: add block device SW live-migration Andy Pei
2022-05-24 3:00 ` Xia, Chenbo
2022-05-23 9:35 ` [PATCH v9 07/13] vhost: add API to get vDPA device type Andy Pei
2022-05-24 3:01 ` Xia, Chenbo
2022-05-23 9:35 ` [PATCH v9 08/13] vdpa/ifc: add get device type ops to ifc driver Andy Pei
2022-05-24 3:02 ` Xia, Chenbo
2022-05-23 9:35 ` [PATCH v9 09/13] examples/vdpa: add virtio blk support Andy Pei
2022-05-24 3:03 ` Xia, Chenbo
2022-05-23 9:35 ` [PATCH v9 10/13] usertools: add support for virtio blk device Andy Pei
2022-05-24 3:05 ` Xia, Chenbo
2022-05-23 9:35 ` [PATCH v9 11/13] vdpa/ifc: add log for config space of virtio blk Andy Pei
2022-05-24 3:06 ` Xia, Chenbo
2022-05-23 9:35 ` [PATCH v9 12/13] vdpa/ifc: add interrupt handling for config space Andy Pei
2022-05-24 3:09 ` Xia, Chenbo
2022-05-23 9:35 ` [PATCH v9 13/13] vdpa/ifc/base: access correct register for blk device Andy Pei
2022-05-24 3:10 ` Xia, Chenbo
2022-05-24 3:11 ` Pei, Andy
2022-05-24 2:48 ` [PATCH v10 00/13] add virtio_blk device support to vdpa/ifc Andy Pei
2022-05-24 2:48 ` [PATCH v10 01/13] vdpa/ifc: add support for virtio blk device Andy Pei
2022-05-24 2:48 ` [PATCH v10 02/13] vhost: add vDPA ops for " Andy Pei
2022-05-24 2:48 ` [PATCH v10 03/13] vhost: add vhost msg support for get/set config Andy Pei
2022-05-24 3:49 ` Xia, Chenbo
2022-05-24 2:48 ` [PATCH v10 04/13] vdpa/ifc: add blk ops for ifc device Andy Pei
2022-05-24 6:28 ` Xia, Chenbo
2022-05-24 6:30 ` Pei, Andy
2022-05-24 2:48 ` [PATCH v10 05/13] vdpa/ifc: add vDPA interrupt relay for blk device Andy Pei
2022-05-24 2:48 ` [PATCH v10 06/13] vdpa/ifc: add block device SW live-migration Andy Pei
2022-05-24 2:48 ` [PATCH v10 07/13] vhost: add API to get vDPA device type Andy Pei
2022-05-24 2:48 ` [PATCH v10 08/13] vdpa/ifc: add get device type ops to ifc driver Andy Pei
2022-05-24 2:48 ` [PATCH v10 09/13] examples/vdpa: add virtio blk support Andy Pei
2022-05-24 2:48 ` [PATCH v10 10/13] usertools: add support for virtio blk device Andy Pei
2022-05-24 2:48 ` [PATCH v10 11/13] vdpa/ifc: add log for config space of virtio blk Andy Pei
2022-05-24 2:48 ` [PATCH v10 12/13] vdpa/ifc: add interrupt handling for config space Andy Pei
2022-05-24 2:48 ` [PATCH v10 13/13] vdpa/ifc/base: access correct register for blk device Andy Pei
2022-06-01 10:10 ` [PATCH v10 00/13] add virtio_blk device support to vdpa/ifc Maxime Coquelin
2022-06-01 13:57 ` Pei, Andy
2022-01-25 6:47 ` [PATCH 02/15] vhost: add vdpa ops for blk device Andy Pei
2022-01-25 6:47 ` [PATCH 03/15] vdpa/ifc: add blk ops for ifc device Andy Pei
2022-01-25 6:47 ` [PATCH 04/15] vdpa/ifc: add vdpa interrupt for blk device Andy Pei
2022-01-25 6:47 ` [PATCH 05/15] vdpa/ifc: add blk dev sw live migration Andy Pei
2022-01-25 6:47 ` [PATCH 06/15] example/vdpa:add vdpa blk support in example Andy Pei
2022-01-25 6:47 ` [PATCH 07/15] usertools: add support for virtio blk device Andy Pei
2022-01-25 6:47 ` [PATCH 08/15] vdpa/ifc: set_vring_state op is mandatory, add set_vring_state for " Andy Pei
2022-01-25 6:47 ` [PATCH 09/15] vdpa/ifc: add some log at VDPA lauch before qemu connect Andy Pei
2022-01-25 6:47 ` [PATCH 10/15] vdpa/ifc: read virtio max_queues from hardware Andy Pei
2022-01-25 6:47 ` [PATCH 11/15] vdpa: add config space change interrupt register and handle for virtio_blk Andy Pei
2022-01-25 6:47 ` [PATCH 12/15] vdpa/ifc: add is_blk flag to ifcvf_hw, and init is_blk during probe Andy Pei
2022-01-25 6:47 ` [PATCH 13/15] vdpa/ifc/base: for blk device, live migration register is different from net device Andy Pei
2022-01-25 6:47 ` [PATCH 14/15] vdpa/ifc: make sure hardware last_avail_idx and last_used_idx is the same when blk device pause Andy Pei
2022-01-25 6:47 ` [PATCH 15/15] vhost: make sure each queue callfd is configured Andy Pei
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=DM5PR11MB173968F1A00E0D3FC3557A178FD49@DM5PR11MB1739.namprd11.prod.outlook.com \
--to=andy.pei@intel.com \
--cc=changpeng.liu@intel.com \
--cc=chenbo.xia@intel.com \
--cc=dev@dpdk.org \
--cc=gang.cao@intel.com \
--cc=maxime.coquelin@redhat.com \
--cc=qimaix.xiao@intel.com \
--cc=rosen.xu@intel.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;
as well as URLs for NNTP newsgroup(s).