automatic DPDK test reports
 help / color / mirror / Atom feed
* |WARNING| pw115690 [PATCH] net/virtio: fix crash when dev is configured twice
@ 2022-08-31  9:01 dpdklab
  0 siblings, 0 replies; 2+ messages in thread
From: dpdklab @ 2022-08-31  9:01 UTC (permalink / raw)
  To: test-report; +Cc: dpdk-test-reports

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

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

_apply patch failure_

Submitter: Alexander Chernavin <achernavin@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

^ permalink raw reply	[flat|nested] 2+ messages in thread
[parent not found: <20220831084059.43918-1-achernavin@netgate.com>]

end of thread, other threads:[~2022-08-31  9:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-31  9:01 |WARNING| pw115690 [PATCH] net/virtio: fix crash when dev is configured twice dpdklab
     [not found] <20220831084059.43918-1-achernavin@netgate.com>
2022-08-31  8:42 ` checkpatch

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