DPDK patches and discussions
 help / color / mirror / Atom feed
From: Marvin Liu <yong.liu@intel.com>
To: tiwei.bie@intel.com, maxime.coquelin@redhat.com, dev@dpdk.org
Cc: Marvin Liu <yong.liu@intel.com>
Subject: [dpdk-dev] [PATCH v1 12/14] vhost: optimize Tx function of packed ring
Date: Fri,  6 Sep 2019 00:14:19 +0800	[thread overview]
Message-ID: <20190905161421.55981-13-yong.liu@intel.com> (raw)
In-Reply-To: <20190905161421.55981-1-yong.liu@intel.com>

Optimize vhost device tx function like rx function.

Signed-off-by: Marvin Liu <yong.liu@intel.com>

diff --git a/lib/librte_vhost/virtio_net.c b/lib/librte_vhost/virtio_net.c
index 8032229a0..554617292 100644
--- a/lib/librte_vhost/virtio_net.c
+++ b/lib/librte_vhost/virtio_net.c
@@ -302,17 +302,6 @@ update_enqueue_shadow_packed(struct vhost_virtqueue *vq, uint16_t desc_idx,
 	vq->enqueue_shadow_count += count;
 }
 
-static __rte_always_inline void
-update_shadow_packed(struct vhost_virtqueue *vq,
-			 uint16_t desc_idx, uint32_t len, uint16_t count)
-{
-	uint16_t i = vq->shadow_used_idx++;
-
-	vq->shadow_used_packed[i].id  = desc_idx;
-	vq->shadow_used_packed[i].len = len;
-	vq->shadow_used_packed[i].count = count;
-}
-
 static __rte_always_inline void
 update_dequeue_shadow_packed(struct vhost_virtqueue *vq, uint16_t buf_id,
 	uint16_t count)
@@ -394,7 +383,7 @@ flush_enqueue_packed(struct virtio_net *dev,
 	}
 }
 
-static __rte_unused void
+static __rte_always_inline void
 flush_dequeue_packed(struct virtio_net *dev, struct vhost_virtqueue *vq)
 {
 	if (!vq->shadow_used_idx)
@@ -1866,7 +1855,7 @@ vhost_dequeue_burst_packed(struct virtio_net *dev, struct vhost_virtqueue *vq,
 	return 0;
 }
 
-static __rte_unused int
+static __rte_always_inline int
 virtio_dev_tx_burst_packed(struct virtio_net *dev, struct vhost_virtqueue *vq,
 	struct rte_mempool *mbuf_pool, struct rte_mbuf **pkts)
 {
@@ -1957,7 +1946,7 @@ vhost_dequeue_single_packed(struct virtio_net *dev, struct vhost_virtqueue *vq,
 	return 0;
 }
 
-static __rte_unused int
+static __rte_always_inline int
 virtio_dev_tx_single_packed(struct virtio_net *dev, struct vhost_virtqueue *vq,
 	struct rte_mempool *mbuf_pool, struct rte_mbuf **pkts)
 {
@@ -1979,7 +1968,7 @@ virtio_dev_tx_single_packed(struct virtio_net *dev, struct vhost_virtqueue *vq,
 	return 0;
 }
 
-static __rte_unused int
+static __rte_always_inline int
 virtio_dev_tx_burst_packed_zmbuf(struct virtio_net *dev,
 					struct vhost_virtqueue *vq,
 					struct rte_mempool *mbuf_pool,
@@ -2047,7 +2036,7 @@ virtio_dev_tx_burst_packed_zmbuf(struct virtio_net *dev,
 	return 0;
 }
 
-static __rte_unused int
+static __rte_always_inline int
 virtio_dev_tx_single_packed_zmbuf(struct virtio_net *dev,
 	struct vhost_virtqueue *vq, struct rte_mempool *mbuf_pool,
 	struct rte_mbuf **pkts)
@@ -2082,119 +2071,7 @@ virtio_dev_tx_single_packed_zmbuf(struct virtio_net *dev,
 	return 0;
 }
 
-static __rte_noinline uint16_t
-virtio_dev_tx_packed(struct virtio_net *dev, struct vhost_virtqueue *vq,
-	struct rte_mempool *mbuf_pool, struct rte_mbuf **pkts, uint16_t count)
-{
-	uint16_t i;
-
-	if (unlikely(dev->dequeue_zero_copy)) {
-		struct zcopy_mbuf *zmbuf, *next;
-
-		for (zmbuf = TAILQ_FIRST(&vq->zmbuf_list);
-		     zmbuf != NULL; zmbuf = next) {
-			next = TAILQ_NEXT(zmbuf, next);
-
-			if (mbuf_is_consumed(zmbuf->mbuf)) {
-				update_shadow_packed(vq, zmbuf->desc_idx, 0,
-						     zmbuf->desc_count);
-
-				TAILQ_REMOVE(&vq->zmbuf_list, zmbuf, next);
-				restore_mbuf(zmbuf->mbuf);
-				rte_pktmbuf_free(zmbuf->mbuf);
-				put_zmbuf(zmbuf);
-				vq->nr_zmbuf -= 1;
-			}
-		}
-
-		if (likely(vq->shadow_used_idx)) {
-			flush_dequeue_shadow_packed(dev, vq);
-			vhost_vring_call_packed(dev, vq);
-		}
-	}
-
-	VHOST_LOG_DEBUG(VHOST_DATA, "(%d) %s\n", dev->vid, __func__);
-
-	count = RTE_MIN(count, MAX_PKT_BURST);
-	VHOST_LOG_DEBUG(VHOST_DATA, "(%d) about to dequeue %u buffers\n",
-			dev->vid, count);
-
-	for (i = 0; i < count; i++) {
-		struct buf_vector buf_vec[BUF_VECTOR_MAX];
-		uint16_t buf_id;
-		uint32_t dummy_len;
-		uint16_t desc_count, nr_vec = 0;
-		int err;
-
-		if (unlikely(fill_vec_buf_packed(dev, vq,
-						vq->last_avail_idx, &desc_count,
-						buf_vec, &nr_vec,
-						&buf_id, &dummy_len,
-						VHOST_ACCESS_RO) < 0))
-			break;
-
-		if (likely(dev->dequeue_zero_copy == 0))
-			update_shadow_packed(vq, buf_id, 0, desc_count);
-
-		pkts[i] = rte_pktmbuf_alloc(mbuf_pool);
-		if (unlikely(pkts[i] == NULL)) {
-			RTE_LOG(ERR, VHOST_DATA,
-				"Failed to allocate memory for mbuf.\n");
-			break;
-		}
-
-		err = copy_desc_to_mbuf(dev, vq, buf_vec, nr_vec, pkts[i],
-				mbuf_pool);
-		if (unlikely(err)) {
-			rte_pktmbuf_free(pkts[i]);
-			break;
-		}
-
-		if (unlikely(dev->dequeue_zero_copy)) {
-			struct zcopy_mbuf *zmbuf;
-
-			zmbuf = get_zmbuf(vq);
-			if (!zmbuf) {
-				rte_pktmbuf_free(pkts[i]);
-				break;
-			}
-			zmbuf->mbuf = pkts[i];
-			zmbuf->desc_idx = buf_id;
-			zmbuf->desc_count = desc_count;
-
-			/*
-			 * Pin lock the mbuf; we will check later to see
-			 * whether the mbuf is freed (when we are the last
-			 * user) or not. If that's the case, we then could
-			 * update the used ring safely.
-			 */
-			rte_mbuf_refcnt_update(pkts[i], 1);
-
-			vq->nr_zmbuf += 1;
-			TAILQ_INSERT_TAIL(&vq->zmbuf_list, zmbuf, next);
-		}
-
-		vq->last_avail_idx += desc_count;
-		if (vq->last_avail_idx >= vq->size) {
-			vq->last_avail_idx -= vq->size;
-			vq->avail_wrap_counter ^= 1;
-		}
-	}
-
-	if (likely(dev->dequeue_zero_copy == 0)) {
-		do_data_copy_dequeue(vq);
-		if (unlikely(i < count))
-			vq->shadow_used_idx = i;
-		if (likely(vq->shadow_used_idx)) {
-			flush_dequeue_shadow_packed(dev, vq);
-			vhost_vring_call_packed(dev, vq);
-		}
-	}
-
-	return i;
-}
-
-static __rte_unused void
+static __rte_always_inline void
 free_zmbuf(struct vhost_virtqueue *vq)
 {
 	struct zcopy_mbuf *next = NULL;
@@ -2235,6 +2112,105 @@ free_zmbuf(struct vhost_virtqueue *vq)
 	}
 }
 
+static __rte_noinline uint16_t
+virtio_dev_tx_packed_zmbuf(struct virtio_net *dev, struct vhost_virtqueue *vq,
+	struct rte_mempool *mbuf_pool, struct rte_mbuf **pkts, uint32_t count)
+{
+	uint32_t pkt_idx = 0;
+	uint32_t pkt_num;
+	uint32_t remained = count;
+	int ret;
+
+	free_zmbuf(vq);
+
+	do {
+		if (remained >= PACKED_DESCS_BURST) {
+			ret = virtio_dev_tx_burst_packed_zmbuf(dev, vq,
+							       mbuf_pool,
+							       &pkts[pkt_idx]);
+
+			if (!ret) {
+				pkt_num = PACKED_DESCS_BURST;
+				pkt_idx += pkt_num;
+				remained -= pkt_num;
+				continue;
+			}
+		}
+
+		if (virtio_dev_tx_single_packed_zmbuf(dev, vq, mbuf_pool,
+						      &pkts[pkt_idx]))
+			break;
+
+		pkt_num = 1;
+		pkt_idx += pkt_num;
+		remained -= pkt_num;
+	} while (remained);
+
+	if (pkt_idx)
+		vhost_vring_call_packed(dev, vq);
+
+	return pkt_idx;
+}
+
+static __rte_noinline uint16_t
+virtio_dev_tx_packed(struct virtio_net *dev, struct vhost_virtqueue *vq,
+	struct rte_mempool *mbuf_pool, struct rte_mbuf **pkts, uint32_t count)
+{
+	uint32_t pkt_idx = 0;
+	uint32_t pkt_num;
+	uint32_t remained = count;
+	uint16_t fetch_idx;
+	int ret;
+	struct vring_packed_desc *descs = vq->desc_packed;
+
+	do {
+		if ((vq->last_avail_idx & 0x7) == 0) {
+			fetch_idx = vq->last_avail_idx + 8;
+			rte_prefetch0((void *)(uintptr_t)&descs[fetch_idx]);
+		}
+
+		if (remained >= PACKED_DESCS_BURST) {
+			ret = virtio_dev_tx_burst_packed(dev, vq, mbuf_pool,
+							 &pkts[pkt_idx]);
+
+			if (!ret) {
+				pkt_num = PACKED_DESCS_BURST;
+				flush_dequeue_packed(dev, vq);
+				pkt_idx += pkt_num;
+				remained -= pkt_num;
+				continue;
+			}
+		}
+
+		/*
+		 * If remained descs can't bundled into one burst, just skip to
+		 * next round.
+		 */
+		if (((vq->last_avail_idx & PACKED_BURST_MASK) + remained) <
+			PACKED_DESCS_BURST)
+			break;
+
+		if (virtio_dev_tx_single_packed(dev, vq, mbuf_pool,
+						&pkts[pkt_idx]))
+			break;
+
+		pkt_num = 1;
+		pkt_idx += pkt_num;
+		remained -= pkt_num;
+		flush_dequeue_packed(dev, vq);
+
+	} while (remained);
+
+	if (pkt_idx) {
+		if (vq->shadow_used_idx)
+			do_data_copy_dequeue(vq);
+
+		vhost_vring_call_packed(dev, vq);
+	}
+
+	return pkt_idx;
+}
+
 uint16_t
 rte_vhost_dequeue_burst(int vid, uint16_t queue_id,
 	struct rte_mempool *mbuf_pool, struct rte_mbuf **pkts, uint16_t count)
@@ -2308,9 +2284,14 @@ rte_vhost_dequeue_burst(int vid, uint16_t queue_id,
 		count -= 1;
 	}
 
-	if (vq_is_packed(dev))
-		count = virtio_dev_tx_packed(dev, vq, mbuf_pool, pkts, count);
-	else
+	if (vq_is_packed(dev)) {
+		if (unlikely(dev->dequeue_zero_copy))
+			count = virtio_dev_tx_packed_zmbuf(dev, vq, mbuf_pool,
+							   pkts, count);
+		else
+			count = virtio_dev_tx_packed(dev, vq, mbuf_pool, pkts,
+						     count);
+	} else
 		count = virtio_dev_tx_split(dev, vq, mbuf_pool, pkts, count);
 
 out:
-- 
2.17.1


  parent reply	other threads:[~2019-09-05  8:37 UTC|newest]

Thread overview: 199+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-05 16:14 [dpdk-dev] [PATCH v1 00/14] vhost packed ring performance optimization Marvin Liu
2019-09-05 16:14 ` [dpdk-dev] [PATCH v1 01/14] vhost: add single packet enqueue function Marvin Liu
2019-09-19 16:36   ` [dpdk-dev] [PATCH v2 00/16] vhost packed ring performance optimization Marvin Liu
2019-09-19 16:36     ` [dpdk-dev] [PATCH v2 01/16] vhost: add single packet enqueue function Marvin Liu
2019-09-23  9:09       ` Gavin Hu (Arm Technology China)
2019-09-23  9:15         ` Liu, Yong
2019-09-25 17:13       ` [dpdk-dev] [PATCH v3 00/15] vhost packed ring performance optimization Marvin Liu
2019-09-25 17:13         ` [dpdk-dev] [PATCH v3 01/15] vhost: add single packet enqueue function Marvin Liu
2019-09-25 17:13         ` [dpdk-dev] [PATCH v3 02/15] vhost: unify unroll pragma parameter Marvin Liu
2019-09-26  5:41           ` Tiwei Bie
2019-09-25 17:13         ` [dpdk-dev] [PATCH v3 03/15] vhost: add batch enqueue function for packed ring Marvin Liu
2019-09-25 19:31           ` Mattias Rönnblom
2019-10-09  2:45             ` Liu, Yong
2019-09-25 17:13         ` [dpdk-dev] [PATCH v3 04/15] vhost: add single packet dequeue function Marvin Liu
2019-09-25 17:13         ` [dpdk-dev] [PATCH v3 05/15] vhost: add batch " Marvin Liu
2019-09-25 17:13         ` [dpdk-dev] [PATCH v3 06/15] vhost: flush vhost enqueue shadow ring by batch Marvin Liu
2019-09-25 17:13         ` [dpdk-dev] [PATCH v3 07/15] vhost: add flush function for batch enqueue Marvin Liu
2019-09-26  9:24           ` Gavin Hu (Arm Technology China)
2019-09-25 17:13         ` [dpdk-dev] [PATCH v3 08/15] vhost: buffer vhost dequeue shadow ring Marvin Liu
2019-09-25 17:13         ` [dpdk-dev] [PATCH v3 09/15] vhost: split enqueue and dequeue flush functions Marvin Liu
2019-09-25 17:13         ` [dpdk-dev] [PATCH v3 10/15] vhost: optimize enqueue function of packed ring Marvin Liu
2019-09-26  5:56           ` Tiwei Bie
2019-09-25 17:13         ` [dpdk-dev] [PATCH v3 11/15] vhost: add batch and single zero dequeue functions Marvin Liu
2019-09-25 17:13         ` [dpdk-dev] [PATCH v3 12/15] vhost: optimize dequeue function of packed ring Marvin Liu
2019-09-25 17:13         ` [dpdk-dev] [PATCH v3 13/15] vhost: cache address translation result Marvin Liu
2019-09-26  5:32           ` Tiwei Bie
2019-10-09  2:08             ` Liu, Yong
2019-09-25 17:13         ` [dpdk-dev] [PATCH v3 14/15] vhost: check whether disable software pre-fetch Marvin Liu
2019-09-25 17:13         ` [dpdk-dev] [PATCH v3 15/15] vhost: optimize packed ring dequeue when in-order Marvin Liu
2019-10-09 13:38         ` [dpdk-dev] [PATCH v4 00/14] vhost packed ring performance optimization Marvin Liu
2019-10-09 13:38           ` [dpdk-dev] [PATCH v4 01/14] vhost: add single packet enqueue function Marvin Liu
2019-10-11 12:34             ` Maxime Coquelin
2019-10-09 13:38           ` [dpdk-dev] [PATCH v4 02/14] vhost: unify unroll pragma parameter Marvin Liu
2019-10-11 12:48             ` Maxime Coquelin
2019-10-14  6:57               ` Liu, Yong
2019-10-09 13:38           ` [dpdk-dev] [PATCH v4 03/14] vhost: add batch enqueue function for packed ring Marvin Liu
2019-10-11 12:49             ` Maxime Coquelin
2019-10-11 14:22             ` Maxime Coquelin
2019-10-15  6:15               ` Liu, Yong
2019-10-09 13:38           ` [dpdk-dev] [PATCH v4 04/14] vhost: add single packet dequeue function Marvin Liu
2019-10-11 13:04             ` Maxime Coquelin
2019-10-09 13:38           ` [dpdk-dev] [PATCH v4 05/14] vhost: add batch " Marvin Liu
2019-10-09 13:38           ` [dpdk-dev] [PATCH v4 06/14] vhost: flush vhost enqueue shadow ring by batch Marvin Liu
2019-10-09 13:38           ` [dpdk-dev] [PATCH v4 07/14] vhost: add flush function for batch enqueue Marvin Liu
2019-10-09 13:38           ` [dpdk-dev] [PATCH v4 08/14] vhost: buffer vhost dequeue shadow ring Marvin Liu
2019-10-09 13:38           ` [dpdk-dev] [PATCH v4 09/14] vhost: split enqueue and dequeue flush functions Marvin Liu
2019-10-09 13:38           ` [dpdk-dev] [PATCH v4 10/14] vhost: optimize enqueue function of packed ring Marvin Liu
2019-10-09 13:38           ` [dpdk-dev] [PATCH v4 11/14] vhost: add batch and single zero dequeue functions Marvin Liu
2019-10-09 13:38           ` [dpdk-dev] [PATCH v4 12/14] vhost: optimize dequeue function of packed ring Marvin Liu
2019-10-09 13:38           ` [dpdk-dev] [PATCH v4 13/14] vhost: check whether disable software pre-fetch Marvin Liu
2019-10-11 14:12             ` Maxime Coquelin
2019-10-14  3:08               ` Liu, Yong
2019-10-09 13:38           ` [dpdk-dev] [PATCH v4 14/14] vhost: optimize packed ring dequeue when in-order Marvin Liu
2019-10-15 14:30           ` [dpdk-dev] [PATCH v5 00/13] vhost packed ring performance optimization Marvin Liu
2019-10-15 14:30             ` [dpdk-dev] [PATCH v5 01/13] vhost: add packed ring indexes increasing function Marvin Liu
2019-10-15 14:30             ` [dpdk-dev] [PATCH v5 02/13] vhost: add packed ring single enqueue Marvin Liu
2019-10-15 14:30             ` [dpdk-dev] [PATCH v5 03/13] vhost: try to unroll for each loop Marvin Liu
2019-10-15 14:30             ` [dpdk-dev] [PATCH v5 04/13] vhost: add packed ring batch enqueue Marvin Liu
2019-10-15 14:30             ` [dpdk-dev] [PATCH v5 05/13] vhost: add packed ring single dequeue Marvin Liu
2019-10-15 14:30             ` [dpdk-dev] [PATCH v5 06/13] vhost: add packed ring batch dequeue Marvin Liu
2019-10-15 14:30             ` [dpdk-dev] [PATCH v5 07/13] vhost: flush enqueue updates by batch Marvin Liu
2019-10-15 14:30             ` [dpdk-dev] [PATCH v5 08/13] vhost: flush batched enqueue descs flags directly Marvin Liu
2019-10-15 14:30             ` [dpdk-dev] [PATCH v5 09/13] vhost: buffer packed ring dequeue updates Marvin Liu
2019-10-15 14:30             ` [dpdk-dev] [PATCH v5 10/13] vhost: optimize packed ring enqueue Marvin Liu
2019-10-15 14:30             ` [dpdk-dev] [PATCH v5 11/13] vhost: add packed ring zcopy batch and single dequeue Marvin Liu
2019-10-15 14:30             ` [dpdk-dev] [PATCH v5 12/13] vhost: optimize packed ring dequeue Marvin Liu
2019-10-15 14:30             ` [dpdk-dev] [PATCH v5 13/13] vhost: optimize packed ring dequeue when in-order Marvin Liu
2019-10-15 16:07             ` [dpdk-dev] [PATCH v6 00/13] vhost packed ring performance optimization Marvin Liu
2019-10-15 16:07               ` [dpdk-dev] [PATCH v6 01/13] vhost: add packed ring indexes increasing function Marvin Liu
2019-10-16 10:28                 ` Maxime Coquelin
2019-10-15 16:07               ` [dpdk-dev] [PATCH v6 02/13] vhost: add packed ring single enqueue Marvin Liu
2019-10-15 16:07               ` [dpdk-dev] [PATCH v6 03/13] vhost: try to unroll for each loop Marvin Liu
2019-10-16 10:30                 ` Maxime Coquelin
2019-10-15 16:07               ` [dpdk-dev] [PATCH v6 04/13] vhost: add packed ring batch enqueue Marvin Liu
2019-10-15 11:35                 ` Gavin Hu (Arm Technology China)
2019-10-15 12:45                   ` Liu, Yong
2019-10-15 16:07               ` [dpdk-dev] [PATCH v6 05/13] vhost: add packed ring single dequeue Marvin Liu
2019-10-15 16:07               ` [dpdk-dev] [PATCH v6 06/13] vhost: add packed ring batch dequeue Marvin Liu
2019-10-16 10:36                 ` Maxime Coquelin
2019-10-17  1:30                   ` Liu, Yong
2019-10-15 16:07               ` [dpdk-dev] [PATCH v6 07/13] vhost: flush enqueue updates by batch Marvin Liu
2019-10-16 11:05                 ` Maxime Coquelin
2019-10-15 16:07               ` [dpdk-dev] [PATCH v6 08/13] vhost: flush batched enqueue descs directly Marvin Liu
2019-10-16 11:06                 ` Maxime Coquelin
2019-10-15 16:07               ` [dpdk-dev] [PATCH v6 09/13] vhost: buffer packed ring dequeue updates Marvin Liu
2019-10-16 12:38                 ` Maxime Coquelin
2019-10-15 16:07               ` [dpdk-dev] [PATCH v6 10/13] vhost: optimize packed ring enqueue Marvin Liu
2019-10-16 12:41                 ` Maxime Coquelin
2019-10-15 16:07               ` [dpdk-dev] [PATCH v6 11/13] vhost: add packed ring zcopy batch and single dequeue Marvin Liu
2019-10-17  7:25                 ` Maxime Coquelin
2019-10-15 16:07               ` [dpdk-dev] [PATCH v6 12/13] vhost: optimize packed ring dequeue Marvin Liu
2019-10-17  7:28                 ` Maxime Coquelin
2019-10-15 16:07               ` [dpdk-dev] [PATCH v6 13/13] vhost: optimize packed ring dequeue when in-order Marvin Liu
2019-10-17  7:29                 ` Maxime Coquelin
2019-10-17  7:31               ` [dpdk-dev] [PATCH v6 00/13] vhost packed ring performance optimization Maxime Coquelin
2019-10-17  7:32                 ` Liu, Yong
2019-10-21 15:40               ` [dpdk-dev] [PATCH v7 " Marvin Liu
2019-10-21 15:40                 ` [dpdk-dev] [PATCH v7 01/13] vhost: add packed ring indexes increasing function Marvin Liu
2019-10-21 15:40                 ` [dpdk-dev] [PATCH v7 02/13] vhost: add packed ring single enqueue Marvin Liu
2019-10-21 15:40                 ` [dpdk-dev] [PATCH v7 03/13] vhost: try to unroll for each loop Marvin Liu
2019-10-21 15:40                 ` [dpdk-dev] [PATCH v7 04/13] vhost: add packed ring batch enqueue Marvin Liu
2019-10-21 15:40                 ` [dpdk-dev] [PATCH v7 05/13] vhost: add packed ring single dequeue Marvin Liu
2019-10-21  9:45                   ` Maxime Coquelin
2019-10-21 15:40                 ` [dpdk-dev] [PATCH v7 06/13] vhost: add packed ring batch dequeue Marvin Liu
2019-10-21  9:47                   ` Maxime Coquelin
2019-10-21 14:29                     ` Liu, Yong
2019-10-21 15:40                 ` [dpdk-dev] [PATCH v7 07/13] vhost: flush enqueue updates by cacheline Marvin Liu
2019-10-21 15:40                 ` [dpdk-dev] [PATCH v7 08/13] vhost: flush batched enqueue descs directly Marvin Liu
2019-10-21 15:40                 ` [dpdk-dev] [PATCH v7 09/13] vhost: buffer packed ring dequeue updates Marvin Liu
2019-10-21 15:40                 ` [dpdk-dev] [PATCH v7 10/13] vhost: optimize packed ring enqueue Marvin Liu
2019-10-21 15:40                 ` [dpdk-dev] [PATCH v7 11/13] vhost: add packed ring zcopy batch and single dequeue Marvin Liu
2019-10-21 15:40                 ` [dpdk-dev] [PATCH v7 12/13] vhost: optimize packed ring dequeue Marvin Liu
2019-10-21 15:40                 ` [dpdk-dev] [PATCH v7 13/13] vhost: optimize packed ring dequeue when in-order Marvin Liu
2019-10-21 22:08                 ` [dpdk-dev] [PATCH v8 00/13] vhost packed ring performance optimization Marvin Liu
2019-10-21 22:08                   ` [dpdk-dev] [PATCH v8 01/13] vhost: add packed ring indexes increasing function Marvin Liu
2019-10-21 22:08                   ` [dpdk-dev] [PATCH v8 02/13] vhost: add packed ring single enqueue Marvin Liu
2019-10-21 22:08                   ` [dpdk-dev] [PATCH v8 03/13] vhost: try to unroll for each loop Marvin Liu
2019-10-24  6:16                     ` Maxime Coquelin
2019-10-21 22:08                   ` [dpdk-dev] [PATCH v8 04/13] vhost: add packed ring batch enqueue Marvin Liu
2019-10-21 22:08                   ` [dpdk-dev] [PATCH v8 05/13] vhost: add packed ring single dequeue Marvin Liu
2019-10-21 22:08                   ` [dpdk-dev] [PATCH v8 06/13] vhost: add packed ring batch dequeue Marvin Liu
2019-10-24  6:27                     ` Maxime Coquelin
2019-10-21 22:08                   ` [dpdk-dev] [PATCH v8 07/13] vhost: flush enqueue updates by cacheline Marvin Liu
2019-10-24  6:29                     ` Maxime Coquelin
2019-10-21 22:08                   ` [dpdk-dev] [PATCH v8 08/13] vhost: flush batched enqueue descs directly Marvin Liu
2019-10-21 22:08                   ` [dpdk-dev] [PATCH v8 09/13] vhost: buffer packed ring dequeue updates Marvin Liu
2019-10-21 22:08                   ` [dpdk-dev] [PATCH v8 10/13] vhost: optimize packed ring enqueue Marvin Liu
2019-10-21 22:08                   ` [dpdk-dev] [PATCH v8 11/13] vhost: add packed ring zcopy batch and single dequeue Marvin Liu
2019-10-21 22:08                   ` [dpdk-dev] [PATCH v8 12/13] vhost: optimize packed ring dequeue Marvin Liu
2019-10-21 22:08                   ` [dpdk-dev] [PATCH v8 13/13] vhost: optimize packed ring dequeue when in-order Marvin Liu
2019-10-24  6:49                   ` [dpdk-dev] [PATCH v8 00/13] vhost packed ring performance optimization Maxime Coquelin
2019-10-24  7:18                     ` Liu, Yong
2019-10-24  8:24                       ` Maxime Coquelin
2019-10-24  8:29                         ` Liu, Yong
2019-10-24 16:08                   ` [dpdk-dev] [PATCH v9 " Marvin Liu
2019-10-24 10:18                     ` Maxime Coquelin
2019-10-24 16:08                     ` [dpdk-dev] [PATCH v9 01/13] vhost: add packed ring indexes increasing function Marvin Liu
2019-10-24 16:08                     ` [dpdk-dev] [PATCH v9 02/13] vhost: add packed ring single enqueue Marvin Liu
2019-10-24 16:08                     ` [dpdk-dev] [PATCH v9 03/13] vhost: try to unroll for each loop Marvin Liu
2019-10-24 16:08                     ` [dpdk-dev] [PATCH v9 04/13] vhost: add packed ring batch enqueue Marvin Liu
2019-10-24 16:08                     ` [dpdk-dev] [PATCH v9 05/13] vhost: add packed ring single dequeue Marvin Liu
2019-10-24 16:08                     ` [dpdk-dev] [PATCH v9 06/13] vhost: add packed ring batch dequeue Marvin Liu
2019-10-24 16:08                     ` [dpdk-dev] [PATCH v9 07/13] vhost: flush enqueue updates by cacheline Marvin Liu
2019-10-24 16:08                     ` [dpdk-dev] [PATCH v9 08/13] vhost: flush batched enqueue descs directly Marvin Liu
2019-10-24 16:08                     ` [dpdk-dev] [PATCH v9 09/13] vhost: buffer packed ring dequeue updates Marvin Liu
2019-10-24 16:08                     ` [dpdk-dev] [PATCH v9 10/13] vhost: optimize packed ring enqueue Marvin Liu
2019-10-24 16:08                     ` [dpdk-dev] [PATCH v9 11/13] vhost: add packed ring zcopy batch and single dequeue Marvin Liu
2019-10-24 16:08                     ` [dpdk-dev] [PATCH v9 12/13] vhost: optimize packed ring dequeue Marvin Liu
2019-10-24 16:08                     ` [dpdk-dev] [PATCH v9 13/13] vhost: optimize packed ring dequeue when in-order Marvin Liu
2019-09-19 16:36     ` [dpdk-dev] [PATCH v2 02/16] vhost: unify unroll pragma parameter Marvin Liu
2019-09-23  5:21       ` Tiwei Bie
2019-09-23 10:08       ` Gavin Hu (Arm Technology China)
2019-09-24  3:12         ` Liu, Yong
2019-09-19 16:36     ` [dpdk-dev] [PATCH v2 03/16] vhost: add burst enqueue function for packed ring Marvin Liu
2019-09-23  5:46       ` Tiwei Bie
2019-09-23 11:08       ` Gavin Hu (Arm Technology China)
2019-09-24  3:30         ` Liu, Yong
2019-09-25  9:29           ` Gavin Hu (Arm Technology China)
2019-09-25  9:36             ` Liu, Yong
2019-09-19 16:36     ` [dpdk-dev] [PATCH v2 04/16] vhost: add single packet dequeue function Marvin Liu
2019-09-19 16:36     ` [dpdk-dev] [PATCH v2 05/16] vhost: add burst " Marvin Liu
2019-09-19 16:36     ` [dpdk-dev] [PATCH v2 06/16] vhost: rename flush shadow used ring functions Marvin Liu
2019-09-23  6:05       ` Tiwei Bie
2019-09-19 16:36     ` [dpdk-dev] [PATCH v2 07/16] vhost: flush vhost enqueue shadow ring by burst Marvin Liu
2019-09-19 16:36     ` [dpdk-dev] [PATCH v2 08/16] vhost: add flush function for burst enqueue Marvin Liu
2019-09-25  3:37       ` Gavin Hu (Arm Technology China)
2019-09-25  5:37         ` Liu, Yong
2019-09-25  6:51           ` Liu, Yong
2019-09-25  7:15             ` Gavin Hu (Arm Technology China)
2019-09-19 16:36     ` [dpdk-dev] [PATCH v2 09/16] vhost: buffer vhost dequeue shadow ring Marvin Liu
2019-09-19 16:36     ` [dpdk-dev] [PATCH v2 10/16] vhost: split enqueue and dequeue flush functions Marvin Liu
2019-09-25  4:11       ` Gavin Hu (Arm Technology China)
2019-09-19 16:36     ` [dpdk-dev] [PATCH v2 11/16] vhost: optimize enqueue function of packed ring Marvin Liu
2019-09-19 16:36     ` [dpdk-dev] [PATCH v2 12/16] vhost: add burst and single zero dequeue functions Marvin Liu
2019-09-19 16:36     ` [dpdk-dev] [PATCH v2 13/16] vhost: optimize dequeue function of packed ring Marvin Liu
2019-09-19 16:36     ` [dpdk-dev] [PATCH v2 14/16] vhost: cache address translation result Marvin Liu
2019-09-19 16:36     ` [dpdk-dev] [PATCH v2 15/16] vhost: check whether disable software pre-fetch Marvin Liu
2019-09-19 16:36     ` [dpdk-dev] [PATCH v2 16/16] vhost: optimize packed ring dequeue when in-order Marvin Liu
2019-09-23  9:05     ` [dpdk-dev] [PATCH v2 00/16] vhost packed ring performance optimization Gavin Hu (Arm Technology China)
2019-09-23  9:29       ` Liu, Yong
2019-09-23 16:06   ` [dpdk-dev] [PATCH v1 01/14] vhost: add single packet enqueue function Stephen Hemminger
2019-09-05 16:14 ` [dpdk-dev] [PATCH v1 02/14] vhost: add burst enqueue function for packed ring Marvin Liu
     [not found]   ` <CGME20190905103107eucas1p2296feb0cc7be0538332dc698a72585bb@eucas1p2.samsung.com>
2019-09-05 10:31     ` Ilya Maximets
2019-09-06  1:42       ` Liu, Yong
2019-09-06  9:00         ` Liu, Yong
2019-09-06  9:11         ` Bruce Richardson
2019-09-06  9:23           ` Liu, Yong
2019-09-05 16:14 ` [dpdk-dev] [PATCH v1 03/14] vhost: add single packet dequeue function Marvin Liu
2019-09-05 16:14 ` [dpdk-dev] [PATCH v1 04/14] vhost: add burst " Marvin Liu
2019-09-05 16:14 ` [dpdk-dev] [PATCH v1 05/14] vhost: rename flush shadow used ring functions Marvin Liu
2019-09-05 16:14 ` [dpdk-dev] [PATCH v1 06/14] vhost: flush vhost enqueue shadow ring by burst Marvin Liu
2019-09-05 16:14 ` [dpdk-dev] [PATCH v1 07/14] vhost: add flush function for burst enqueue Marvin Liu
2019-09-05 16:14 ` [dpdk-dev] [PATCH v1 08/14] vhost: buffer vhost dequeue shadow ring Marvin Liu
2019-09-05 16:14 ` [dpdk-dev] [PATCH v1 09/14] vhost: split enqueue and dequeue flush functions Marvin Liu
2019-09-05 16:14 ` [dpdk-dev] [PATCH v1 10/14] vhost: optimize Rx function of packed ring Marvin Liu
2019-09-05 16:14 ` [dpdk-dev] [PATCH v1 11/14] vhost: add burst and single zero dequeue functions Marvin Liu
2019-09-05 16:14 ` Marvin Liu [this message]
2019-09-05 16:14 ` [dpdk-dev] [PATCH v1 13/14] vhost: cache address translation result Marvin Liu
2019-09-05 16:14 ` [dpdk-dev] [PATCH v1 14/14] vhost: check whether disable software pre-fetch Marvin Liu

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=20190905161421.55981-13-yong.liu@intel.com \
    --to=yong.liu@intel.com \
    --cc=dev@dpdk.org \
    --cc=maxime.coquelin@redhat.com \
    --cc=tiwei.bie@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).