|WARNING| pw115690 [PATCH] net/virtio: fix crash when dev is configured twice
dpdklab at iol.unh.edu
dpdklab at iol.unh.edu
Wed Aug 31 11:01:43 CEST 2022
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/115690
_apply patch failure_
Submitter: Alexander Chernavin <achernavin at netgate.com>
Date: Wednesday, August 31 2022 08:40:59
Applied on: CommitID:4aee6110bb10b0225fa9562f2e48af233a9058a1
Apply patch set 115690 failed:
Checking patch drivers/net/virtio/virtio_ethdev.c...
error: while searching for:
return ret;
}
if ((rxmode->mq_mode & RTE_ETH_MQ_RX_RSS_FLAG) &&
!virtio_with_feature(hw, VIRTIO_NET_F_RSS)) {
PMD_DRV_LOG(ERR, "RSS support requested but not supported by the device");
error: patch failed: drivers/net/virtio/virtio_ethdev.c:2616
Applying patch drivers/net/virtio/virtio_ethdev.c with 1 reject...
Rejected hunk #1.
diff a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c (rejected hunks)
@@ -2616,6 +2616,13 @@ virtio_dev_configure(struct rte_eth_dev *dev)
return ret;
}
+ /* if queues are not allocated, reinit the device */
+ if (hw->vqs == NULL) {
+ ret = virtio_init_device(dev, hw->req_guest_features);
+ if (ret < 0)
+ return ret;
+ }
+
if ((rxmode->mq_mode & RTE_ETH_MQ_RX_RSS_FLAG) &&
!virtio_with_feature(hw, VIRTIO_NET_F_RSS)) {
PMD_DRV_LOG(ERR, "RSS support requested but not supported by the device");
https://lab.dpdk.org/results/dashboard/patchsets/23358/
UNH-IOL DPDK Community Lab
More information about the test-report
mailing list