|WARNING| pw143606-143613 [PATCH 1/8] net/nfp: fix incorrect type declaration of some variables

qemudev at loongson.cn qemudev at loongson.cn
Thu Sep 5 08:00:00 CEST 2024


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

_apply patch failure_

Submitter: Chaoyong He <chaoyong.he at corigine.com>
Date: Thu,  5 Sep 2024 14:25:04 +0800
DPDK git baseline: Repo:dpdk-next-net
  Branch: main
  CommitID: 5cce3d463a99dbb5e7797faaed6c68df6c2b549a

Apply patch set 143606-143613 failed:

Checking patch drivers/net/nfp/nfp_net_common.c...
Hunk #1 succeeded at 776 (offset -1 lines).
error: while searching for:
		uint32_t link_status)
{
	int ret;
	uint32_t nn_link_status;
	struct nfp_net_hw_priv *hw_priv;

	hw_priv = dev->process_private;
	if (link->link_status == RTE_ETH_LINK_UP) {
		if (hw_priv->is_pf) {
			nfp_net_speed_aneg_update(dev, hw, hw_priv, link);
		} else {
			/*
			 * Shift and mask nn_link_status so that it is effectively the value
			 * at offset NFP_NET_CFG_STS_NSP_LINK_RATE.
			 */
			nn_link_status = (link_status >> NFP_NET_CFG_STS_LINK_RATE_SHIFT) &
					NFP_NET_CFG_STS_LINK_RATE_MASK;
			if (nn_link_status < RTE_DIM(nfp_net_link_speed_nfp2rte))
				link->link_speed = nfp_net_link_speed_nfp2rte[nn_link_status];
		}
	}

	ret = rte_eth_linkstatus_set(dev, link);

error: patch failed: drivers/net/nfp/nfp_net_common.c:784
error: drivers/net/nfp/nfp_net_common.c: patch does not apply



More information about the test-report mailing list