automatic DPDK test reports
 help / color / mirror / Atom feed
From: qemudev@loongson.cn
To: test-report@dpdk.org
Cc: <skori@marvell.com>, zhoumin@loongson.cn
Subject: |WARNING| pw156469 [PATCH v10 1/1] ethdev: add support to provide link type
Date: Mon, 8 Sep 2025 16:33:44 +0800	[thread overview]
Message-ID: <202509080833.5888XinV2322055@localhost.localdomain> (raw)
In-Reply-To: <20250908085256.1866407-1-skori@marvell.com>

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

_apply patch failure_

Submitter: Sunil Kumar Kori <skori@marvell.com>
Date: Mon, 8 Sep 2025 14:21:48 +0530
DPDK git baseline: Repo:dpdk-next-net
  Branch: main
  CommitID: 3fb5e8045504d89de66c20b726e41446d507c21d

Apply patch set 156469 failed:

Checking patch app/test/test_ethdev_link.c...
error: while searching for:
		.link_speed = RTE_ETH_SPEED_NUM_2_5G,
		.link_status = RTE_ETH_LINK_UP,
		.link_autoneg = RTE_ETH_LINK_AUTONEG,
		.link_duplex = RTE_ETH_LINK_FULL_DUPLEX
	};
	char text[RTE_ETH_LINK_MAX_STR_LEN];

	ret = rte_eth_link_to_str(text, sizeof(text), &link_status);
	RTE_TEST_ASSERT(ret > 0, "Failed to format default string\n");
	printf("Default link up #1: %s\n", text);
	TEST_ASSERT_BUFFERS_ARE_EQUAL("Link up at 2.5 Gbps FDX Autoneg",
		text, strlen(text), "Invalid default link status string");

	link_status.link_duplex = RTE_ETH_LINK_HALF_DUPLEX;
	link_status.link_autoneg = RTE_ETH_LINK_FIXED;
	link_status.link_speed = RTE_ETH_SPEED_NUM_10M;
	ret = rte_eth_link_to_str(text, sizeof(text), &link_status);
	printf("Default link up #2: %s\n", text);
	RTE_TEST_ASSERT(ret > 0, "Failed to format default string\n");
	TEST_ASSERT_BUFFERS_ARE_EQUAL("Link up at 10 Mbps HDX Fixed",
		text, strlen(text), "Invalid default link status "
		"string with HDX");


error: patch failed: app/test/test_ethdev_link.c:17
error: app/test/test_ethdev_link.c: patch does not apply
Checking patch doc/guides/rel_notes/release_25_11.rst...
error: while searching for:
     Also, make sure to start the actual text at the margin.
     =======================================================


Removed Items
-------------

error: patch failed: doc/guides/rel_notes/release_25_11.rst:55
error: doc/guides/rel_notes/release_25_11.rst: patch does not apply
Checking patch lib/ethdev/rte_ethdev.c...
error: while searching for:
	if (eth_link->link_status == RTE_ETH_LINK_DOWN)
		ret = snprintf(str, len, "Link down");
	else
		ret = snprintf(str, len, "Link up at %s %s %s",
			rte_eth_link_speed_to_str(eth_link->link_speed),
			(eth_link->link_duplex == RTE_ETH_LINK_FULL_DUPLEX) ?
			"FDX" : "HDX",
			(eth_link->link_autoneg == RTE_ETH_LINK_AUTONEG) ?
			"Autoneg" : "Fixed");

	rte_eth_trace_link_to_str(len, eth_link, str, ret);

	return ret;
}

RTE_EXPORT_SYMBOL(rte_eth_stats_get)
int
rte_eth_stats_get(uint16_t port_id, struct rte_eth_stats *stats)

error: patch failed: lib/ethdev/rte_ethdev.c:3285
error: lib/ethdev/rte_ethdev.c: patch does not apply
Checking patch lib/ethdev/rte_ethdev.h...
error: while searching for:
#define RTE_ETH_SPEED_NUM_UNKNOWN UINT32_MAX /**< Unknown */
/**@}*/

/**
 * A structure used to retrieve link-level information of an Ethernet port.
 */

error: patch failed: lib/ethdev/rte_ethdev.h:329
error: lib/ethdev/rte_ethdev.h: patch does not apply


       reply	other threads:[~2025-09-08  9:10 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <20250908085256.1866407-1-skori@marvell.com>
2025-09-08  8:33 ` qemudev [this message]
2025-09-08  8:50 ` |SUCCESS| " checkpatch
2025-09-08  9:11 ` |WARNING| pw156469 [PATCH] [v10, " dpdklab

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=202509080833.5888XinV2322055@localhost.localdomain \
    --to=qemudev@loongson.cn \
    --cc=skori@marvell.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).