automatic DPDK test reports
 help / color / mirror / Atom feed
From: dpdklab@iol.unh.edu
To: test-report@dpdk.org
Cc: dpdk-test-reports@iol.unh.edu
Subject: |WARNING| pw132503 [PATCH] net/cpfl: reset devargs during the first probe
Date: Wed, 11 Oct 2023 19:26:45 -0700 (PDT)	[thread overview]
Message-ID: <65275965.050a0220.afcd6.42cbSMTPIN_ADDED_MISSING@mx.google.com> (raw)

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

_apply patch failure_

Submitter: Xing, Beilei <beilei.xing@intel.com>
Date: Wednesday, October 11 2023 16:47:20 
Applied on: CommitID:7c50ea8b57e25fe0c1ca01f87685e8e77e7ffadf
Apply patch set 132503 failed:

Checking patch drivers/net/cpfl/cpfl_ethdev.c...
error: while searching for:
	struct rte_kvargs *kvlist;
	int ret;

	cpfl_args->req_vport_nb = 0;

	if (devargs == NULL)
		return 0;

	kvlist = rte_kvargs_parse(devargs->args,
			first ? cpfl_valid_args_first : cpfl_valid_args_again);
	if (kvlist == NULL) {

error: patch failed: drivers/net/cpfl/cpfl_ethdev.c:1611
error: while searching for:
		return -EINVAL;
	}

	cpfl_args->repr_args_num = 0;
	ret = rte_kvargs_process(kvlist, CPFL_REPRESENTOR, &parse_repr, cpfl_args);

	if (ret != 0)

error: patch failed: drivers/net/cpfl/cpfl_ethdev.c:1628
Applying patch drivers/net/cpfl/cpfl_ethdev.c with 2 rejects...
Rejected hunk #1.
Rejected hunk #2.
hint: Use 'git am --show-current-patch' to see the failed patch
diff a/drivers/net/cpfl/cpfl_ethdev.c b/drivers/net/cpfl/cpfl_ethdev.c	(rejected hunks)
@@ -1611,11 +1611,12 @@ cpfl_parse_devargs(struct rte_pci_device *pci_dev, struct cpfl_adapter_ext *adap
 	struct rte_kvargs *kvlist;
 	int ret;
 
-	cpfl_args->req_vport_nb = 0;
-
 	if (devargs == NULL)
 		return 0;
 
+	if (first)
+		memset(cpfl_args, 0, sizeof(struct cpfl_devargs));
+
 	kvlist = rte_kvargs_parse(devargs->args,
 			first ? cpfl_valid_args_first : cpfl_valid_args_again);
 	if (kvlist == NULL) {
@@ -1628,7 +1629,6 @@ cpfl_parse_devargs(struct rte_pci_device *pci_dev, struct cpfl_adapter_ext *adap
 		return -EINVAL;
 	}
 
-	cpfl_args->repr_args_num = 0;
 	ret = rte_kvargs_process(kvlist, CPFL_REPRESENTOR, &parse_repr, cpfl_args);
 
 	if (ret != 0)

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

UNH-IOL DPDK Community Lab

                 reply	other threads:[~2023-10-12  2:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=65275965.050a0220.afcd6.42cbSMTPIN_ADDED_MISSING@mx.google.com \
    --to=dpdklab@iol.unh.edu \
    --cc=dpdk-test-reports@iol.unh.edu \
    --cc=test-report@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).