From: dpdklab@iol.unh.edu
To: test-report@dpdk.org
Cc: dpdk-test-reports@iol.unh.edu
Subject: |WARNING| pw113424-113429 [PATCH] [6/6] net/hns3: delete the unused code
Date: Fri, 24 Jun 2022 05:21:31 -0400 (EDT) [thread overview]
Message-ID: <20220624092132.020724AF@noxus.dpdklab.iol.unh.edu> (raw)
[-- Attachment #1: Type: text/plain, Size: 1675 bytes --]
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/113424
_apply patch failure_
Submitter: Dongdong Liu <liudongdong3@huawei.com>
Date: Friday, June 24 2022 08:59:51
Applied on: CommitID:42fbb8e85d1f0b6c1d397d4e7559bc5877ba985e
Apply patch set 113424-113429 failed:
Checking patch drivers/net/hns3/hns3_cmd.c...
Checking patch drivers/net/hns3/hns3_ethdev.c...
error: while searching for:
{
int ret;
if (hw->mac.media_type == HNS3_MEDIA_TYPE_COPPER) {
#if defined(RTE_HNS3_ONLY_1630_FPGA)
struct hns3_pf *pf = HNS3_DEV_HW_TO_PF(hw);
if (pf->is_tmp_phy)
return 0;
#endif
ret = hns3_set_copper_port_link_speed(hw, cfg);
} else {
ret = hns3_set_fiber_port_link_speed(hw, cfg);
}
if (ret) {
hns3_err(hw, "failed to set %s port link speed, ret = %d.",
error: patch failed: drivers/net/hns3/hns3_ethdev.c:4970
Applied patch drivers/net/hns3/hns3_cmd.c cleanly.
Applying patch drivers/net/hns3/hns3_ethdev.c with 1 reject...
Rejected hunk #1.
diff a/drivers/net/hns3/hns3_ethdev.c b/drivers/net/hns3/hns3_ethdev.c (rejected hunks)
@@ -4970,17 +4970,10 @@ hns3_set_port_link_speed(struct hns3_hw *hw,
{
int ret;
- if (hw->mac.media_type == HNS3_MEDIA_TYPE_COPPER) {
-#if defined(RTE_HNS3_ONLY_1630_FPGA)
- struct hns3_pf *pf = HNS3_DEV_HW_TO_PF(hw);
- if (pf->is_tmp_phy)
- return 0;
-#endif
-
+ if (hw->mac.media_type == HNS3_MEDIA_TYPE_COPPER)
ret = hns3_set_copper_port_link_speed(hw, cfg);
- } else {
+ else
ret = hns3_set_fiber_port_link_speed(hw, cfg);
- }
if (ret) {
hns3_err(hw, "failed to set %s port link speed, ret = %d.",
https://lab.dpdk.org/results/dashboard/patchsets/22789/
UNH-IOL DPDK Community Lab
reply other threads:[~2022-06-24 9:21 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=20220624092132.020724AF@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).