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| pw113600 [PATCH] [2/2] net/octeontx_ep: support link status
Date: Fri,  1 Jul 2022 04:31:11 -0400 (EDT)	[thread overview]
Message-ID: <20220701083111.43C45B296@noxus.dpdklab.iol.unh.edu> (raw)

[-- Attachment #1: Type: text/plain, Size: 2618 bytes --]

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

_apply patch failure_

Submitter: Sathesh Edara <sedara@marvell.com>
Date: Friday, July 01 2022 08:00:50 
Applied on: CommitID:7cac53f205ebd04d8ebd3ee6a9dd84f698d4ada3
Apply patch set 113600 failed:

Checking patch doc/guides/nics/features/octeontx_ep.ini...
error: while searching for:
Linux                = Y
x86-64               = Y
Basic stats          = Y
Usage doc            = Y

error: patch failed: doc/guides/nics/features/octeontx_ep.ini:9
Checking patch drivers/net/octeontx_ep/otx_ep_ethdev.c...
error: while searching for:
	return 0;
}

/* Define our ethernet definitions */
static const struct eth_dev_ops otx_ep_eth_dev_ops = {
	.dev_configure		= otx_ep_dev_configure,

error: patch failed: drivers/net/octeontx_ep/otx_ep_ethdev.c:387
error: while searching for:
	.dev_infos_get		= otx_ep_dev_info_get,
	.stats_get		= otx_ep_dev_stats_get,
	.stats_reset		= otx_ep_dev_stats_reset,
};

static int

error: patch failed: drivers/net/octeontx_ep/otx_ep_ethdev.c:399
Applying patch doc/guides/nics/features/octeontx_ep.ini with 1 reject...
Rejected hunk #1.
Applying patch drivers/net/octeontx_ep/otx_ep_ethdev.c with 2 rejects...
Rejected hunk #1.
Rejected hunk #2.
diff a/doc/guides/nics/features/octeontx_ep.ini b/doc/guides/nics/features/octeontx_ep.ini	(rejected hunks)
@@ -9,4 +9,5 @@ SR-IOV               = Y
 Linux                = Y
 x86-64               = Y
 Basic stats          = Y
+Link status          = Y
 Usage doc            = Y
diff a/drivers/net/octeontx_ep/otx_ep_ethdev.c b/drivers/net/octeontx_ep/otx_ep_ethdev.c	(rejected hunks)
@@ -387,6 +387,22 @@ otx_ep_dev_stats_get(struct rte_eth_dev *eth_dev,
 	return 0;
 }
 
+static int
+otx_ep_link_update(struct rte_eth_dev *eth_dev, int wait_to_complete)
+{
+	RTE_SET_USED(wait_to_complete);
+
+	if (!eth_dev->data->dev_started)
+		return 0;
+	struct rte_eth_link link;
+
+	memset(&link, 0, sizeof(link));
+	link.link_status = RTE_ETH_LINK_UP;
+	link.link_speed  = RTE_ETH_SPEED_NUM_10G;
+	link.link_duplex = RTE_ETH_LINK_FULL_DUPLEX;
+	return rte_eth_linkstatus_set(eth_dev, &link);
+}
+
 /* Define our ethernet definitions */
 static const struct eth_dev_ops otx_ep_eth_dev_ops = {
 	.dev_configure		= otx_ep_dev_configure,
@@ -399,6 +415,7 @@ static const struct eth_dev_ops otx_ep_eth_dev_ops = {
 	.dev_infos_get		= otx_ep_dev_info_get,
 	.stats_get		= otx_ep_dev_stats_get,
 	.stats_reset		= otx_ep_dev_stats_reset,
+	.link_update		= otx_ep_link_update,
 };
 
 static int

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

UNH-IOL DPDK Community Lab

                 reply	other threads:[~2022-07-01  8:31 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=20220701083111.43C45B296@noxus.dpdklab.iol.unh.edu \
    --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).