automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw123684 [PATCH] net/virtio-user: fix number of vrings calculation
@ 2023-02-10 15:28 dpdklab
  0 siblings, 0 replies; 3+ messages in thread
From: dpdklab @ 2023-02-10 15:28 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]

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

_apply patch failure_

Submitter: Maxime Coquelin <maxime.coquelin@redhat.com>
Date: Friday, February 10 2023 15:10:44 
Applied on: CommitID:183bdfe224760b72d3cd44f5367c80b5ee073327
Apply patch set 123684 failed:

Checking patch drivers/net/virtio/virtio_user/virtio_user_dev.c...
error: while searching for:
	bool packed_ring = !!(dev->device_features & (1ull << VIRTIO_F_RING_PACKED));

	nr_vrings = dev->max_queue_pairs * 2;
	if (dev->hw_cvq)
		nr_vrings++;

	dev->callfds = rte_zmalloc("virtio_user_dev", nr_vrings * sizeof(*dev->callfds), 0);

error: patch failed: drivers/net/virtio/virtio_user/virtio_user_dev.c:575
Applying patch drivers/net/virtio/virtio_user/virtio_user_dev.c with 1 reject...
Rejected hunk #1.
diff a/drivers/net/virtio/virtio_user/virtio_user_dev.c b/drivers/net/virtio/virtio_user/virtio_user_dev.c	(rejected hunks)
@@ -575,7 +575,7 @@ virtio_user_alloc_vrings(struct virtio_user_dev *dev)
 	bool packed_ring = !!(dev->device_features & (1ull << VIRTIO_F_RING_PACKED));
 
 	nr_vrings = dev->max_queue_pairs * 2;
-	if (dev->hw_cvq)
+	if (dev->device_features & (1ull << VIRTIO_NET_F_MQ))
 		nr_vrings++;
 
 	dev->callfds = rte_zmalloc("virtio_user_dev", nr_vrings * sizeof(*dev->callfds), 0);

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

UNH-IOL DPDK Community Lab

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2023-02-10 15:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <20230210151044.229324-1-maxime.coquelin@redhat.com>
2023-02-10 14:57 ` |WARNING| pw123684 [PATCH] net/virtio-user: fix number of vrings calculation qemudev
2023-02-10 15:11 ` |SUCCESS| " checkpatch
2023-02-10 15:28 |WARNING| " dpdklab

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).