DPDK patches and discussions
 help / color / mirror / Atom feed
From: Chaoyong He <chaoyong.he@corigine.com>
To: dev@dpdk.org
Cc: oss-drivers@corigine.com, Chaoyong He <chaoyong.he@corigine.com>,
	Shujing Dong <shujing.dong@corigine.com>,
	Long Wu <long.wu@corigine.com>,
	Peng Zhang <peng.zhang@corigine.com>
Subject: [PATCH 22/25] drivers: add the datapath update logic
Date: Tue, 17 Oct 2023 13:45:42 +0800	[thread overview]
Message-ID: <20231017054545.1692509-23-chaoyong.he@corigine.com> (raw)
In-Reply-To: <20231017054545.1692509-1-chaoyong.he@corigine.com>

Add the vDPA datapath update logic.

Signed-off-by: Chaoyong He <chaoyong.he@corigine.com>
Signed-off-by: Shujing Dong <shujing.dong@corigine.com>
Reviewed-by: Long Wu <long.wu@corigine.com>
Reviewed-by: Peng Zhang <peng.zhang@corigine.com>
---
 drivers/common/nfp/nfp_common_ctrl.h |   1 +
 drivers/vdpa/nfp/nfp_vdpa.c          | 315 +++++++++++++++++++++++++++
 drivers/vdpa/nfp/nfp_vdpa_core.c     |  78 +++++++
 drivers/vdpa/nfp/nfp_vdpa_core.h     |  15 ++
 4 files changed, 409 insertions(+)

diff --git a/drivers/common/nfp/nfp_common_ctrl.h b/drivers/common/nfp/nfp_common_ctrl.h
index 3c8cd916cf..f92ce50fc0 100644
--- a/drivers/common/nfp/nfp_common_ctrl.h
+++ b/drivers/common/nfp/nfp_common_ctrl.h
@@ -238,6 +238,7 @@ struct nfp_net_fw_ver {
 #define NFP_NET_CFG_CTRL_IPSEC            (0x1 << 1) /**< IPsec offload */
 #define NFP_NET_CFG_CTRL_IPSEC_SM_LOOKUP  (0x1 << 3) /**< SA short match lookup */
 #define NFP_NET_CFG_CTRL_IPSEC_LM_LOOKUP  (0x1 << 4) /**< SA long match lookup */
+#define NFP_NET_CFG_CTRL_IN_ORDER         (0x1 << 11) /**< Virtio in-order flag */
 
 #define NFP_NET_CFG_CAP_WORD1           0x00a4
 
diff --git a/drivers/vdpa/nfp/nfp_vdpa.c b/drivers/vdpa/nfp/nfp_vdpa.c
index 00d8f7e007..465ee4841d 100644
--- a/drivers/vdpa/nfp/nfp_vdpa.c
+++ b/drivers/vdpa/nfp/nfp_vdpa.c
@@ -4,6 +4,7 @@
  */
 
 #include <pthread.h>
+#include <sys/ioctl.h>
 
 #include <nfp_common_pci.h>
 #include <nfp_dev.h>
@@ -15,6 +16,9 @@
 
 #define NFP_VDPA_DRIVER_NAME nfp_vdpa
 
+#define MSIX_IRQ_SET_BUF_LEN (sizeof(struct vfio_irq_set) + \
+		sizeof(int) * (NFP_VDPA_MAX_QUEUES * 2 + 1))
+
 struct nfp_vdpa_dev {
 	struct rte_pci_device *pci_dev;
 	struct rte_vdpa_device *vdev;
@@ -25,7 +29,15 @@ struct nfp_vdpa_dev {
 	int vfio_dev_fd;
 	int iommu_group;
 
+	int vid;
 	uint16_t max_queues;
+	uint32_t started;
+	uint32_t dev_attached;
+	uint32_t running;
+	rte_spinlock_t lock;
+
+	/** Eventfd for used ring interrupt */
+	int intr_fd[NFP_VDPA_MAX_QUEUES * 2];
 };
 
 struct nfp_vdpa_dev_node {
@@ -112,6 +124,302 @@ nfp_vdpa_vfio_teardown(struct nfp_vdpa_dev *device)
 	rte_vfio_container_destroy(device->vfio_container_fd);
 }
 
+static int
+nfp_vdpa_dma_do_unmap(struct rte_vhost_memory *mem,
+		uint32_t times,
+		int vfio_container_fd)
+{
+	uint32_t i;
+	int ret = 0;
+	struct rte_vhost_mem_region *region;
+
+	for (i = 0; i < times; i++) {
+		region = &mem->regions[i];
+
+		ret = rte_vfio_container_dma_unmap(vfio_container_fd,
+				region->host_user_addr, region->guest_phys_addr,
+				region->size);
+		if (ret < 0) {
+			/* Here should not return, even error happened. */
+			DRV_VDPA_LOG(ERR, "DMA unmap failed. Times: %u", i);
+		}
+	}
+
+	return ret;
+}
+
+static int
+nfp_vdpa_dma_do_map(struct rte_vhost_memory *mem,
+		uint32_t times,
+		int vfio_container_fd)
+{
+	int ret;
+	uint32_t i;
+	struct rte_vhost_mem_region *region;
+
+	for (i = 0; i < times; i++) {
+		region = &mem->regions[i];
+
+		ret = rte_vfio_container_dma_map(vfio_container_fd,
+				region->host_user_addr, region->guest_phys_addr,
+				region->size);
+		if (ret < 0) {
+			DRV_VDPA_LOG(ERR, "DMA map failed.");
+			nfp_vdpa_dma_do_unmap(mem, i, vfio_container_fd);
+			return ret;
+		}
+	}
+
+	return 0;
+}
+
+static int
+nfp_vdpa_dma_map(struct nfp_vdpa_dev *device,
+		bool do_map)
+{
+	int ret;
+	int vfio_container_fd;
+	struct rte_vhost_memory *mem = NULL;
+
+	ret = rte_vhost_get_mem_table(device->vid, &mem);
+	if (ret < 0) {
+		DRV_VDPA_LOG(ERR, "Failed to get memory layout.");
+		return ret;
+	}
+
+	vfio_container_fd = device->vfio_container_fd;
+	DRV_VDPA_LOG(DEBUG, "vfio_container_fd %d", vfio_container_fd);
+
+	if (do_map)
+		ret = nfp_vdpa_dma_do_map(mem, mem->nregions, vfio_container_fd);
+	else
+		ret = nfp_vdpa_dma_do_unmap(mem, mem->nregions, vfio_container_fd);
+
+	free(mem);
+
+	return ret;
+}
+
+static uint64_t
+nfp_vdpa_qva_to_gpa(int vid,
+		uint64_t qva)
+{
+	int ret;
+	uint32_t i;
+	uint64_t gpa = 0;
+	struct rte_vhost_memory *mem = NULL;
+	struct rte_vhost_mem_region *region;
+
+	ret = rte_vhost_get_mem_table(vid, &mem);
+	if (ret < 0) {
+		DRV_VDPA_LOG(ERR, "Failed to get memory layout.");
+		return gpa;
+	}
+
+	for (i = 0; i < mem->nregions; i++) {
+		region = &mem->regions[i];
+
+		if (qva >= region->host_user_addr &&
+				qva < region->host_user_addr + region->size) {
+			gpa = qva - region->host_user_addr + region->guest_phys_addr;
+			break;
+		}
+	}
+
+	free(mem);
+
+	return gpa;
+}
+
+static int
+nfp_vdpa_start(struct nfp_vdpa_dev *device)
+{
+	int ret;
+	int vid;
+	uint16_t i;
+	uint64_t gpa;
+	struct rte_vhost_vring vring;
+	struct nfp_vdpa_hw *vdpa_hw = &device->hw;
+
+	vid = device->vid;
+	vdpa_hw->nr_vring = rte_vhost_get_vring_num(vid);
+
+	ret = rte_vhost_get_negotiated_features(vid, &vdpa_hw->req_features);
+	if (ret != 0)
+		return ret;
+
+	for (i = 0; i < vdpa_hw->nr_vring; i++) {
+		ret = rte_vhost_get_vhost_vring(vid, i, &vring);
+		if (ret != 0)
+			return ret;
+
+		gpa = nfp_vdpa_qva_to_gpa(vid, (uint64_t)(uintptr_t)vring.desc);
+		if (gpa == 0) {
+			DRV_VDPA_LOG(ERR, "Fail to get GPA for descriptor ring.");
+			return -1;
+		}
+
+		vdpa_hw->vring[i].desc = gpa;
+
+		gpa = nfp_vdpa_qva_to_gpa(vid, (uint64_t)(uintptr_t)vring.avail);
+		if (gpa == 0) {
+			DRV_VDPA_LOG(ERR, "Fail to get GPA for available ring.");
+			return -1;
+		}
+
+		vdpa_hw->vring[i].avail = gpa;
+
+		gpa = nfp_vdpa_qva_to_gpa(vid, (uint64_t)(uintptr_t)vring.used);
+		if (gpa == 0) {
+			DRV_VDPA_LOG(ERR, "Fail to get GPA for used ring.");
+			return -1;
+		}
+
+		vdpa_hw->vring[i].used = gpa;
+
+		vdpa_hw->vring[i].size = vring.size;
+
+		ret = rte_vhost_get_vring_base(vid, i,
+				&vdpa_hw->vring[i].last_avail_idx,
+				&vdpa_hw->vring[i].last_used_idx);
+		if (ret != 0)
+			return ret;
+	}
+
+	return nfp_vdpa_hw_start(&device->hw, vid);
+}
+
+static void
+nfp_vdpa_stop(struct nfp_vdpa_dev *device)
+{
+	int vid;
+	uint32_t i;
+	struct nfp_vdpa_hw *vdpa_hw = &device->hw;
+
+	nfp_vdpa_hw_stop(vdpa_hw);
+
+	vid = device->vid;
+	for (i = 0; i < vdpa_hw->nr_vring; i++)
+		rte_vhost_set_vring_base(vid, i,
+				vdpa_hw->vring[i].last_avail_idx,
+				vdpa_hw->vring[i].last_used_idx);
+}
+
+static int
+nfp_vdpa_enable_vfio_intr(struct nfp_vdpa_dev *device)
+{
+	int ret;
+	uint16_t i;
+	int *fd_ptr;
+	uint16_t nr_vring;
+	struct vfio_irq_set *irq_set;
+	struct rte_vhost_vring vring;
+	char irq_set_buf[MSIX_IRQ_SET_BUF_LEN];
+
+	nr_vring = rte_vhost_get_vring_num(device->vid);
+
+	irq_set = (struct vfio_irq_set *)irq_set_buf;
+	irq_set->argsz = sizeof(irq_set_buf);
+	irq_set->count = nr_vring + 1;
+	irq_set->flags = VFIO_IRQ_SET_DATA_EVENTFD | VFIO_IRQ_SET_ACTION_TRIGGER;
+	irq_set->index = VFIO_PCI_MSIX_IRQ_INDEX;
+	irq_set->start = 0;
+
+	fd_ptr = (int *)&irq_set->data;
+	fd_ptr[RTE_INTR_VEC_ZERO_OFFSET] = rte_intr_fd_get(device->pci_dev->intr_handle);
+
+	for (i = 0; i < nr_vring; i++)
+		device->intr_fd[i] = -1;
+
+	for (i = 0; i < nr_vring; i++) {
+		rte_vhost_get_vhost_vring(device->vid, i, &vring);
+		fd_ptr[RTE_INTR_VEC_RXTX_OFFSET + i] = vring.callfd;
+	}
+
+	ret = ioctl(device->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set);
+	if (ret != 0) {
+		DRV_VDPA_LOG(ERR, "Error enabling MSI-X interrupts.");
+		return -EIO;
+	}
+
+	return 0;
+}
+
+static int
+nfp_vdpa_disable_vfio_intr(struct nfp_vdpa_dev *device)
+{
+	int ret;
+	struct vfio_irq_set *irq_set;
+	char irq_set_buf[MSIX_IRQ_SET_BUF_LEN];
+
+	irq_set = (struct vfio_irq_set *)irq_set_buf;
+	irq_set->argsz = sizeof(irq_set_buf);
+	irq_set->count = 0;
+	irq_set->flags = VFIO_IRQ_SET_DATA_NONE | VFIO_IRQ_SET_ACTION_TRIGGER;
+	irq_set->index = VFIO_PCI_MSIX_IRQ_INDEX;
+	irq_set->start = 0;
+
+	ret = ioctl(device->vfio_dev_fd, VFIO_DEVICE_SET_IRQS, irq_set);
+	if (ret != 0) {
+		DRV_VDPA_LOG(ERR, "Error disabling MSI-X interrupts.");
+		return -EIO;
+	}
+
+	return 0;
+}
+
+static int
+update_datapath(struct nfp_vdpa_dev *device)
+{
+	int ret;
+
+	rte_spinlock_lock(&device->lock);
+
+	if ((__atomic_load_n(&device->running, __ATOMIC_RELAXED) == 0) &&
+			(__atomic_load_n(&device->started, __ATOMIC_RELAXED) != 0) &&
+			(__atomic_load_n(&device->dev_attached, __ATOMIC_RELAXED) != 0)) {
+		ret = nfp_vdpa_dma_map(device, true);
+		if (ret != 0)
+			goto unlock_exit;
+
+		ret = nfp_vdpa_enable_vfio_intr(device);
+		if (ret != 0)
+			goto dma_map_rollback;
+
+		ret = nfp_vdpa_start(device);
+		if (ret != 0)
+			goto disable_vfio_intr;
+
+		__atomic_store_n(&device->running, 1, __ATOMIC_RELAXED);
+	} else if ((__atomic_load_n(&device->running, __ATOMIC_RELAXED) != 0) &&
+			((__atomic_load_n(&device->started, __ATOMIC_RELAXED) != 0) ||
+			(__atomic_load_n(&device->dev_attached, __ATOMIC_RELAXED) != 0))) {
+
+		nfp_vdpa_stop(device);
+
+		ret = nfp_vdpa_disable_vfio_intr(device);
+		if (ret != 0)
+			goto unlock_exit;
+
+		ret = nfp_vdpa_dma_map(device, false);
+		if (ret != 0)
+			goto unlock_exit;
+
+		__atomic_store_n(&device->running, 0, __ATOMIC_RELAXED);
+	}
+
+	rte_spinlock_unlock(&device->lock);
+	return 0;
+
+disable_vfio_intr:
+	nfp_vdpa_disable_vfio_intr(device);
+dma_map_rollback:
+	nfp_vdpa_dma_map(device, false);
+unlock_exit:
+	rte_spinlock_unlock(&device->lock);
+	return ret;
+}
+
 struct rte_vdpa_dev_ops nfp_vdpa_ops = {
 };
 
@@ -156,6 +464,10 @@ nfp_vdpa_pci_probe(struct rte_pci_device *pci_dev)
 	TAILQ_INSERT_TAIL(&vdpa_dev_list, node, next);
 	pthread_mutex_unlock(&vdpa_list_lock);
 
+	rte_spinlock_init(&device->lock);
+	__atomic_store_n(&device->started, 1, __ATOMIC_RELAXED);
+	update_datapath(device);
+
 	return 0;
 
 vfio_teardown:
@@ -185,6 +497,9 @@ nfp_vdpa_pci_remove(struct rte_pci_device *pci_dev)
 
 	device = node->device;
 
+	__atomic_store_n(&device->started, 0, __ATOMIC_RELAXED);
+	update_datapath(device);
+
 	pthread_mutex_lock(&vdpa_list_lock);
 	TAILQ_REMOVE(&vdpa_dev_list, node, next);
 	pthread_mutex_unlock(&vdpa_list_lock);
diff --git a/drivers/vdpa/nfp/nfp_vdpa_core.c b/drivers/vdpa/nfp/nfp_vdpa_core.c
index a7e15fa88a..db9b8462b4 100644
--- a/drivers/vdpa/nfp/nfp_vdpa_core.c
+++ b/drivers/vdpa/nfp/nfp_vdpa_core.c
@@ -5,6 +5,7 @@
 
 #include "nfp_vdpa_core.h"
 
+#include <nfp_common.h>
 #include <rte_vhost.h>
 
 #include "nfp_vdpa_log.h"
@@ -52,3 +53,80 @@ nfp_vdpa_hw_init(struct nfp_vdpa_hw *vdpa_hw,
 
 	return 0;
 }
+
+static uint32_t
+nfp_vdpa_check_offloads(void)
+{
+	return NFP_NET_CFG_CTRL_SCATTER |
+			NFP_NET_CFG_CTRL_IN_ORDER;
+}
+
+int
+nfp_vdpa_hw_start(struct nfp_vdpa_hw *vdpa_hw,
+		int vid)
+{
+	int ret;
+	uint32_t update;
+	uint32_t new_ctrl;
+	struct timespec wait_tst;
+	struct nfp_hw *hw = &vdpa_hw->super;
+	uint8_t mac_addr[RTE_ETHER_ADDR_LEN];
+
+	nn_cfg_writeq(hw, NFP_NET_CFG_TXR_ADDR(0), vdpa_hw->vring[1].desc);
+	nn_cfg_writeb(hw, NFP_NET_CFG_TXR_SZ(0), rte_log2_u32(vdpa_hw->vring[1].size));
+	nn_cfg_writeq(hw, NFP_NET_CFG_TXR_ADDR(1), vdpa_hw->vring[1].avail);
+	nn_cfg_writeq(hw, NFP_NET_CFG_TXR_ADDR(2), vdpa_hw->vring[1].used);
+
+	nn_cfg_writeq(hw, NFP_NET_CFG_RXR_ADDR(0), vdpa_hw->vring[0].desc);
+	nn_cfg_writeb(hw, NFP_NET_CFG_RXR_SZ(0), rte_log2_u32(vdpa_hw->vring[0].size));
+	nn_cfg_writeq(hw, NFP_NET_CFG_RXR_ADDR(1), vdpa_hw->vring[0].avail);
+	nn_cfg_writeq(hw, NFP_NET_CFG_RXR_ADDR(2), vdpa_hw->vring[0].used);
+
+	rte_wmb();
+
+	nfp_disable_queues(hw);
+	nfp_enable_queues(hw, NFP_VDPA_MAX_QUEUES, NFP_VDPA_MAX_QUEUES);
+
+	new_ctrl = nfp_vdpa_check_offloads();
+
+	nn_cfg_writel(hw, NFP_NET_CFG_MTU, 9216);
+	nn_cfg_writel(hw, NFP_NET_CFG_FLBUFSZ, 10240);
+
+	/* TODO: Temporary set MAC to fixed value fe:1b:ac:05:a5:22 */
+	mac_addr[0] = 0xfe;
+	mac_addr[1] = 0x1b;
+	mac_addr[2] = 0xac;
+	mac_addr[3] = 0x05;
+	mac_addr[4] = 0xa5;
+	mac_addr[5] = (0x22 + vid);
+
+	/* Writing new MAC to the specific port BAR address */
+	nfp_write_mac(hw, (uint8_t *)mac_addr);
+
+	/* Enable device */
+	new_ctrl |= NFP_NET_CFG_CTRL_ENABLE;
+
+	/* Signal the NIC about the change */
+	update = NFP_NET_CFG_UPDATE_MACADDR |
+			NFP_NET_CFG_UPDATE_GEN |
+			NFP_NET_CFG_UPDATE_RING;
+
+	ret = nfp_reconfig(hw, new_ctrl, update);
+	if (ret < 0)
+		return -EIO;
+
+	hw->ctrl = new_ctrl;
+
+	DRV_CORE_LOG(DEBUG, "Enabling the device, sleep 1 seconds...");
+	wait_tst.tv_sec = 1;
+	wait_tst.tv_nsec = 0;
+	nanosleep(&wait_tst, 0);
+
+	return 0;
+}
+
+void
+nfp_vdpa_hw_stop(struct nfp_vdpa_hw *vdpa_hw)
+{
+	nfp_disable_queues(&vdpa_hw->super);
+}
diff --git a/drivers/vdpa/nfp/nfp_vdpa_core.h b/drivers/vdpa/nfp/nfp_vdpa_core.h
index c9403e0ea4..a88de768dd 100644
--- a/drivers/vdpa/nfp/nfp_vdpa_core.h
+++ b/drivers/vdpa/nfp/nfp_vdpa_core.h
@@ -15,6 +15,15 @@
 #define NFP_VDPA_NOTIFY_ADDR_BASE        0x4000
 #define NFP_VDPA_NOTIFY_ADDR_INTERVAL    0x1000
 
+struct nfp_vdpa_vring {
+	uint64_t desc;
+	uint64_t avail;
+	uint64_t used;
+	uint16_t size;
+	uint16_t last_avail_idx;
+	uint16_t last_used_idx;
+};
+
 struct nfp_vdpa_hw {
 	struct nfp_hw super;
 
@@ -22,11 +31,17 @@ struct nfp_vdpa_hw {
 	uint64_t req_features;
 
 	uint8_t *notify_addr[NFP_VDPA_MAX_QUEUES * 2];
+	struct nfp_vdpa_vring vring[NFP_VDPA_MAX_QUEUES * 2];
 
 	uint8_t mac_addr[RTE_ETHER_ADDR_LEN];
 	uint8_t notify_region;
+	uint8_t nr_vring;
 };
 
 int nfp_vdpa_hw_init(struct nfp_vdpa_hw *vdpa_hw, struct rte_pci_device *dev);
 
+int nfp_vdpa_hw_start(struct nfp_vdpa_hw *vdpa_hw, int vid);
+
+void nfp_vdpa_hw_stop(struct nfp_vdpa_hw *vdpa_hw);
+
 #endif /* __NFP_VDPA_CORE_H__ */
-- 
2.39.1


  parent reply	other threads:[~2023-10-17  5:49 UTC|newest]

Thread overview: 121+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-17  5:45 [PATCH 00/25] add the NFP vDPA PMD Chaoyong He
2023-10-17  5:45 ` [PATCH 01/25] drivers: introduce the NFP common library Chaoyong He
2023-10-17  5:45 ` [PATCH 02/25] net/nfp: make VF PMD using of NFP common module Chaoyong He
2023-10-17  5:45 ` [PATCH 03/25] net/nfp: rename common module name Chaoyong He
2023-10-17  5:45 ` [PATCH 04/25] net/nfp: rename ctrl " Chaoyong He
2023-10-17  5:45 ` [PATCH 05/25] net/nfp: extract the cap data field Chaoyong He
2023-10-17  5:45 ` [PATCH 06/25] net/nfp: extract the qcp " Chaoyong He
2023-10-17  5:45 ` [PATCH 07/25] net/nfp: extract the ctrl BAR " Chaoyong He
2023-10-17  5:45 ` [PATCH 08/25] net/nfp: extract the ctrl " Chaoyong He
2023-10-17  5:45 ` [PATCH 09/25] net/nfp: change the parameter of APIs Chaoyong He
2023-10-17  5:45 ` [PATCH 10/25] net/nfp: change the parameter of reconfig Chaoyong He
2023-10-17  5:45 ` [PATCH 11/25] net/nfp: extract the MAC address data field Chaoyong He
2023-10-17  5:45 ` [PATCH 12/25] net/nfp: rename parameter in related logic Chaoyong He
2023-10-17  5:45 ` [PATCH 13/25] drivers: add the common ctrl module Chaoyong He
2023-10-17  5:45 ` [PATCH 14/25] drivers: add the nfp common module Chaoyong He
2023-10-17  5:45 ` [PATCH 15/25] drivers: move queue logic to " Chaoyong He
2023-10-17  5:45 ` [PATCH 16/25] drivers: move platform module to common library Chaoyong He
2023-10-17  5:45 ` [PATCH 17/25] drivers: move device " Chaoyong He
2023-10-17  5:45 ` [PATCH 18/25] drivers/vdpa: introduce the NFP vDPA library Chaoyong He
2023-10-17  5:45 ` [PATCH 19/25] drivers: add the basic framework of vDPA PMD Chaoyong He
2023-10-17  5:45 ` [PATCH 20/25] vdpa/nfp: add the logic of remap PCI memory Chaoyong He
2023-10-17  5:45 ` [PATCH 21/25] vdpa/nfp: add the hardware init logic Chaoyong He
2023-10-17  5:45 ` Chaoyong He [this message]
2023-10-17  5:45 ` [PATCH 23/25] vdpa/nfp: add the notify related logic Chaoyong He
2023-10-17  5:45 ` [PATCH 24/25] vdpa/nfp: add nfp vDPA device operations Chaoyong He
2023-10-17  5:45 ` [PATCH 25/25] doc: add the common and vDPA document Chaoyong He
2023-10-24  2:28 ` [PATCH v2 00/25] add the NFP vDPA PMD Chaoyong He
2023-10-24  2:28   ` [PATCH v2 01/25] drivers: introduce the NFP common library Chaoyong He
2023-10-24  2:28   ` [PATCH v2 02/25] net/nfp: make VF PMD using of NFP common module Chaoyong He
2023-10-25 16:09     ` Ferruh Yigit
2023-10-26  1:34       ` Chaoyong He
2023-10-24  2:28   ` [PATCH v2 03/25] net/nfp: rename common module name Chaoyong He
2023-10-24  2:28   ` [PATCH v2 04/25] net/nfp: rename ctrl " Chaoyong He
2023-10-24  2:28   ` [PATCH v2 05/25] net/nfp: extract the cap data field Chaoyong He
2023-10-24  2:28   ` [PATCH v2 06/25] net/nfp: extract the qcp " Chaoyong He
2023-10-24  2:28   ` [PATCH v2 07/25] net/nfp: extract the ctrl BAR " Chaoyong He
2023-10-24  2:28   ` [PATCH v2 08/25] net/nfp: extract the ctrl " Chaoyong He
2023-10-24  2:28   ` [PATCH v2 09/25] net/nfp: change the parameter of APIs Chaoyong He
2023-10-24  2:28   ` [PATCH v2 10/25] net/nfp: change the parameter of reconfig Chaoyong He
2023-10-24  2:28   ` [PATCH v2 11/25] net/nfp: extract the MAC address data field Chaoyong He
2023-10-24  2:28   ` [PATCH v2 12/25] net/nfp: rename parameter in related logic Chaoyong He
2023-10-24  2:28   ` [PATCH v2 13/25] drivers: add the common ctrl module Chaoyong He
2023-10-24  2:28   ` [PATCH v2 14/25] drivers: add the nfp common module Chaoyong He
2023-10-24  2:28   ` [PATCH v2 15/25] drivers: move queue logic to " Chaoyong He
2023-10-24  2:28   ` [PATCH v2 16/25] drivers: move platform module to common library Chaoyong He
2023-10-24  2:28   ` [PATCH v2 17/25] drivers: move device " Chaoyong He
2023-10-24  2:28   ` [PATCH v2 18/25] drivers/vdpa: introduce the NFP vDPA library Chaoyong He
2023-10-25 16:09     ` Ferruh Yigit
2023-10-26  1:39       ` Chaoyong He
2023-10-24  2:28   ` [PATCH v2 19/25] drivers: add the basic framework of vDPA PMD Chaoyong He
2023-10-25 16:10     ` Ferruh Yigit
2023-10-26  1:39       ` Chaoyong He
2023-10-24  2:28   ` [PATCH v2 20/25] vdpa/nfp: add the logic of remap PCI memory Chaoyong He
2023-10-24  2:28   ` [PATCH v2 21/25] vdpa/nfp: add the hardware init logic Chaoyong He
2023-10-24  2:28   ` [PATCH v2 22/25] drivers: add the datapath update logic Chaoyong He
2023-10-24  2:28   ` [PATCH v2 23/25] vdpa/nfp: add the notify related logic Chaoyong He
2023-10-24  2:28   ` [PATCH v2 24/25] vdpa/nfp: add nfp vDPA device operations Chaoyong He
2023-10-24  2:28   ` [PATCH v2 25/25] doc: add the common and vDPA document Chaoyong He
2023-10-25 16:11     ` Ferruh Yigit
2023-10-26  1:41       ` Chaoyong He
2023-10-25 16:09   ` [PATCH v2 00/25] add the NFP vDPA PMD Ferruh Yigit
2023-10-26  1:33     ` Chaoyong He
2023-10-26  2:50       ` Chaoyong He
2023-10-26 11:30         ` Ferruh Yigit
2023-10-26 11:33           ` Chaoyong He
2023-10-26  6:42   ` [PATCH v3 " Chaoyong He
2023-10-26  6:43     ` [PATCH v3 01/25] drivers: introduce the NFP common library Chaoyong He
2023-10-26  6:43     ` [PATCH v3 02/25] net/nfp: make VF PMD using of NFP common module Chaoyong He
2023-10-26  6:43     ` [PATCH v3 03/25] net/nfp: rename common module name Chaoyong He
2023-10-26  6:43     ` [PATCH v3 04/25] net/nfp: rename ctrl " Chaoyong He
2023-10-26  6:43     ` [PATCH v3 05/25] net/nfp: extract the cap data field Chaoyong He
2023-10-26  6:43     ` [PATCH v3 06/25] net/nfp: extract the qcp " Chaoyong He
2023-10-26  6:43     ` [PATCH v3 07/25] net/nfp: extract the ctrl BAR " Chaoyong He
2023-10-26  6:43     ` [PATCH v3 08/25] net/nfp: extract the ctrl " Chaoyong He
2023-10-26  6:43     ` [PATCH v3 09/25] net/nfp: change the parameter of APIs Chaoyong He
2023-10-26  6:43     ` [PATCH v3 10/25] net/nfp: change the parameter of reconfig Chaoyong He
2023-10-26  6:43     ` [PATCH v3 11/25] net/nfp: extract the MAC address data field Chaoyong He
2023-10-26  6:43     ` [PATCH v3 12/25] net/nfp: rename parameter in related logic Chaoyong He
2023-10-26  6:43     ` [PATCH v3 13/25] drivers: add the common ctrl module Chaoyong He
2023-10-26  6:43     ` [PATCH v3 14/25] drivers: add the nfp common module Chaoyong He
2023-10-26  6:43     ` [PATCH v3 15/25] drivers: move queue logic to " Chaoyong He
2023-10-26  6:43     ` [PATCH v3 16/25] drivers: move platform module to common library Chaoyong He
2023-10-26  6:43     ` [PATCH v3 17/25] drivers: move device " Chaoyong He
2023-10-26  6:43     ` [PATCH v3 18/25] drivers/vdpa: introduce the NFP vDPA library Chaoyong He
2023-10-26  6:43     ` [PATCH v3 19/25] drivers: add the basic framework of vDPA PMD Chaoyong He
2023-10-26  6:43     ` [PATCH v3 20/25] vdpa/nfp: add the logic of remap PCI memory Chaoyong He
2023-10-26  6:43     ` [PATCH v3 21/25] vdpa/nfp: add the hardware init logic Chaoyong He
2023-10-26  6:43     ` [PATCH v3 22/25] drivers: add the datapath update logic Chaoyong He
2023-10-26  6:43     ` [PATCH v3 23/25] vdpa/nfp: add the notify related logic Chaoyong He
2023-10-26  6:43     ` [PATCH v3 24/25] vdpa/nfp: add nfp vDPA device operations Chaoyong He
2023-10-26  6:43     ` [PATCH v3 25/25] doc: add a entry in the release notes Chaoyong He
2023-10-26 14:55       ` Ferruh Yigit
2023-10-26 14:47     ` [PATCH v3 00/25] add the NFP vDPA PMD Ferruh Yigit
2023-10-26 14:55     ` Ferruh Yigit
2023-10-27  1:23       ` Chaoyong He
2023-10-27  2:59     ` [PATCH v4 00/24] " Chaoyong He
2023-10-27  2:59       ` [PATCH v4 01/24] common/nfp: introduce driver Chaoyong He
2023-10-27  2:59       ` [PATCH v4 02/24] net/nfp: make VF PMD use NFP common driver Chaoyong He
2023-10-27  2:59       ` [PATCH v4 03/24] net/nfp: rename net common module Chaoyong He
2023-10-27  2:59       ` [PATCH v4 04/24] net/nfp: rename ctrl module Chaoyong He
2023-10-27  2:59       ` [PATCH v4 05/24] net/nfp: extract cap data field Chaoyong He
2023-10-27  2:59       ` [PATCH v4 06/24] net/nfp: extract qcp " Chaoyong He
2023-10-27  2:59       ` [PATCH v4 07/24] net/nfp: extract ctrl BAR " Chaoyong He
2023-10-27  2:59       ` [PATCH v4 08/24] net/nfp: extract ctrl " Chaoyong He
2023-10-27  2:59       ` [PATCH v4 09/24] net/nfp: change parameter of functions Chaoyong He
2023-10-27  2:59       ` [PATCH v4 10/24] net/nfp: change parameter of reconfig Chaoyong He
2023-10-27  2:59       ` [PATCH v4 11/24] net/nfp: extract MAC address data field Chaoyong He
2023-10-27  2:59       ` [PATCH v4 12/24] net/nfp: rename parameter in related logic Chaoyong He
2023-10-27  2:59       ` [PATCH v4 13/24] common/nfp: add common ctrl module Chaoyong He
2023-10-27  2:59       ` [PATCH v4 14/24] common/nfp: add common module Chaoyong He
2023-10-27  2:59       ` [PATCH v4 15/24] common/nfp: move queue logic Chaoyong He
2023-10-27  2:59       ` [PATCH v4 16/24] common/nfp: move platform module Chaoyong He
2023-10-27  2:59       ` [PATCH v4 17/24] common/nfp: move device module Chaoyong He
2023-10-27  2:59       ` [PATCH v4 18/24] vdpa/nfp: introduce driver Chaoyong He
2023-10-27  2:59       ` [PATCH v4 19/24] vdpa/nfp: add basic framework Chaoyong He
2023-10-27  2:59       ` [PATCH v4 20/24] vdpa/nfp: add remap PCI memory Chaoyong He
2023-10-27  2:59       ` [PATCH v4 21/24] vdpa/nfp: add hardware init Chaoyong He
2023-10-27  2:59       ` [PATCH v4 22/24] vdpa/nfp: add datapath update Chaoyong He
2023-10-27  3:00       ` [PATCH v4 23/24] vdpa/nfp: add notify related logic Chaoyong He
2023-10-27  3:00       ` [PATCH v4 24/24] vdpa/nfp: add device operations Chaoyong He
2023-10-27 13:38       ` [PATCH v4 00/24] add the NFP vDPA PMD Ferruh Yigit

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=20231017054545.1692509-23-chaoyong.he@corigine.com \
    --to=chaoyong.he@corigine.com \
    --cc=dev@dpdk.org \
    --cc=long.wu@corigine.com \
    --cc=oss-drivers@corigine.com \
    --cc=peng.zhang@corigine.com \
    --cc=shujing.dong@corigine.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).