|WARNING| pw104846 [PATCH] net/kni: reset rte_kni_conf struct before initialization

dpdklab at iol.unh.edu dpdklab at iol.unh.edu
Fri Dec 3 08:48:46 CET 2021


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

_apply patch failure_

Submitter: Harold Huang <baymaxhuang at gmail.com>
Date: Friday, December 03 2021 07:24:29 
Applied on: CommitID:042f5a355a57b31a9f87824173a9d427b21abdb8
Apply patch set 104846 failed:

Checking patch drivers/net/kni/rte_eth_kni.c...
error: while searching for:
 const char *name = dev->device->name + 4; /* remove net_ */

 mb_pool = internals->rx_queues[0].mb_pool;
 strlcpy(conf.name, name, RTE_KNI_NAMESIZE);
 conf.force_bind = 0;
 conf.group_id = port_id;

error: patch failed: drivers/net/kni/rte_eth_kni.c:128
Applying patch drivers/net/kni/rte_eth_kni.c with 1 reject...
Rejected hunk #1.
diff a/drivers/net/kni/rte_eth_kni.c b/drivers/net/kni/rte_eth_kni.c	(rejected hunks)
@@ -128,6 +128,7 @@ eth_kni_start(struct rte_eth_dev *dev)
  const char *name = dev->device->name + 4; /* remove net_ */

  mb_pool = internals->rx_queues[0].mb_pool;
+ memset(&conf, 0, sizeof(conf));
  strlcpy(conf.name, name, RTE_KNI_NAMESIZE);
  conf.force_bind = 0;
  conf.group_id = port_id;

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

UNH-IOL DPDK Community Lab


More information about the test-report mailing list