[dpdk-test-report] |WARNING| pw97161 [PATCH] net/virtio: turn SW RxQ size to that of split vec. virtqueue

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Fri Aug 20 17:33:51 CEST 2021


Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/97161

_apply patch failure_

Submitter: Andrew Rybchenko <Andrew.Rybchenko at oktetlabs.ru>
Date: Friday, August 20 2021 12:47:52 
Applied on: CommitID:dbf81c338cdcf9737315c57ac4dfd40df4c6b8e9
Apply patch set 97161 failed:

Checking patch drivers/net/virtio/virtio_rxtx.c...
error: while searching for:
	}
	vq->vq_free_thresh = rx_free_thresh;

	if (nb_desc > vq->vq_nentries)
		nb_desc = vq->vq_nentries;
	vq->vq_free_cnt = RTE_MIN(vq->vq_free_cnt, nb_desc);

	rxvq = &vq->rxq;

error: patch failed: drivers/net/virtio/virtio_rxtx.c:706
Applying patch drivers/net/virtio/virtio_rxtx.c with 1 reject...
Rejected hunk #1.
diff a/drivers/net/virtio/virtio_rxtx.c b/drivers/net/virtio/virtio_rxtx.c	(rejected hunks)
@@ -706,8 +706,14 @@ virtio_dev_rx_queue_setup(struct rte_eth_dev *dev,
 	}
 	vq->vq_free_thresh = rx_free_thresh;
 
-	if (nb_desc > vq->vq_nentries)
+	/*
+	 * For split ring vectorized path descriptors number must be
+	 * equal to the ring size.
+	 */
+	if (nb_desc > vq->vq_nentries ||
+	    (!virtio_with_packed_queue(hw) && hw->use_vec_rx)) {
 		nb_desc = vq->vq_nentries;
+	}
 	vq->vq_free_cnt = RTE_MIN(vq->vq_free_cnt, nb_desc);
 
 	rxvq = &vq->rxq;

https://lab.dpdk.org/results/dashboard/patchsets/18282/

UNH-IOL DPDK Community Lab


More information about the test-report mailing list