automatic DPDK test reports
 help / color / mirror / Atom feed
From: qemudev@loongson.cn
To: test-report@dpdk.org
Cc: Chaoyong He <chaoyong.he@corigine.com>, zhoumin@loongson.cn
Subject: |WARNING| pw146350-146358 [PATCH 1/9] net/nfp: extract the function to allocate the PHY
Date: Mon, 21 Oct 2024 14:02:33 +0800	[thread overview]
Message-ID: <202410210602.49L62Xmv859912@localhost.localdomain> (raw)
In-Reply-To: <20241021063301.4146214-2-chaoyong.he@corigine.com>

Test-Label: loongarch-compilation
Test-Status: WARNING
http://dpdk.org/patch/146350

_apply patch failure_

Submitter: Chaoyong He <chaoyong.he@corigine.com>
Date: Mon, 21 Oct 2024 14:32:53 +0800
DPDK git baseline: Repo:dpdk-next-net
  Branch: main
  CommitID: 5bb17458f32befba8a2cccd9553ea65cd8b99581

Apply patch set 146350-146358 failed:

Checking patch drivers/net/nfp/flower/nfp_flower_representor.c...
error: while searching for:
	}

	/* Create a rte_eth_dev for every phyport representor */
	for (i = 0; i < app_fw_flower->num_phyport_reprs; i++) {
		id = nfp_function_id_get(pf_dev, i);
		eth_port = &nfp_eth_table->ports[id];
		flower_repr.repr_type = NFP_REPR_TYPE_PHYS_PORT;
		flower_repr.port_id = nfp_flower_get_phys_port_id(eth_port->index);
		flower_repr.nfp_idx = eth_port->index;
		flower_repr.vf_id = i + 1;
		flower_repr.idx = id;

		/* Copy the real mac of the interface to the representor struct */
		rte_ether_addr_copy(&eth_port->mac_addr, &flower_repr.mac_addr);
		snprintf(flower_repr.name, sizeof(flower_repr.name),
				"%s_repr_p%d", pci_name, id);

		/*
		 * Create a eth_dev for this representor.
		 * This will also allocate private memory for the device.
		 */
		repr_init.flower_repr = &flower_repr;
		ret = rte_eth_dev_create(&pci_dev->device, flower_repr.name,
				sizeof(struct nfp_flower_representor),
				NULL, NULL, nfp_flower_repr_init, &repr_init);
		if (ret != 0) {
			PMD_INIT_LOG(ERR, "Could not create eth_dev for repr.");
			break;
		}
	}

	if (i < app_fw_flower->num_phyport_reprs)
		goto repr_free;

	/*
	 * Now allocate eth_dev's for VF representors.

error: patch failed: drivers/net/nfp/flower/nfp_flower_representor.c:855
error: drivers/net/nfp/flower/nfp_flower_representor.c: patch does not apply


       reply	other threads:[~2024-10-22  6:22 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20241021063301.4146214-2-chaoyong.he@corigine.com>
2024-10-21  6:02 ` qemudev [this message]
2024-10-21  6:35 ` |SUCCESS| pw146350 " checkpatch
2024-10-22  3:08 ` |WARNING| pw146350-146358 " qemudev

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=202410210602.49L62Xmv859912@localhost.localdomain \
    --to=qemudev@loongson.cn \
    --cc=chaoyong.he@corigine.com \
    --cc=test-report@dpdk.org \
    --cc=zhoumin@loongson.cn \
    /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).