|WARNING| pw146350-146358 [PATCH 1/9] net/nfp: extract the function to allocate the PHY

qemudev at loongson.cn qemudev at loongson.cn
Tue Oct 22 05:08:38 CEST 2024


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

_apply patch failure_

Submitter: Chaoyong He <chaoyong.he at 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



More information about the test-report mailing list