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| pw109861-109862 [PATCH] [v4,2/2] net/ice: fix DCF reset
Date: Tue, 19 Apr 2022 07:38:45 -0400 (EDT)	[thread overview]
Message-ID: <20220419113845.172B045145@noxus.dpdklab.iol.unh.edu> (raw)

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

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

_apply patch failure_

Submitter: Kevin Liu <kevinx.liu@intel.com>
Date: Tuesday, April 19 2022 16:01:31 
Applied on: CommitID:76076342ec8ef108a155938d46a88bb493fae60e
Apply patch set 109861-109862 failed:

Checking patch drivers/net/ice/base/ice_common.c...
Checking patch drivers/net/ice/ice_dcf.c...
error: while searching for:
	int ret;

	struct rte_pci_device *pci_dev = RTE_ETH_DEV_TO_PCI(eth_dev);
	struct rte_intr_handle *intr_handle = &pci_dev->intr_handle;

	ice_dcf_disable_irq0(hw);
	rte_intr_disable(intr_handle);

error: patch failed: drivers/net/ice/ice_dcf.c:1429
Checking patch drivers/net/ice/ice_dcf_ethdev.c...
error: while searching for:
	uint32_t i;
	int len, err = 0;

	len = sizeof(struct virtchnl_ether_addr_list);
	len += sizeof(struct virtchnl_ether_addr) * mc_addrs_num;


error: patch failed: drivers/net/ice/ice_dcf_ethdev.c:1028
Hunk #2 succeeded at 891 (offset -832 lines).
Checking patch drivers/net/ice/ice_dcf_parent.c...
Applied patch drivers/net/ice/base/ice_common.c cleanly.
Applying patch drivers/net/ice/ice_dcf.c with 1 reject...
Rejected hunk #1.
Applying patch drivers/net/ice/ice_dcf_ethdev.c with 1 reject...
Rejected hunk #1.
Hunk #2 applied cleanly.
Applied patch drivers/net/ice/ice_dcf_parent.c cleanly.
diff a/drivers/net/ice/ice_dcf.c b/drivers/net/ice/ice_dcf.c	(rejected hunks)
@@ -1429,7 +1429,7 @@ ice_dcf_cap_reset(struct rte_eth_dev *eth_dev, struct ice_dcf_hw *hw)
 	int ret;
 
 	struct rte_pci_device *pci_dev = RTE_ETH_DEV_TO_PCI(eth_dev);
-	struct rte_intr_handle *intr_handle = &pci_dev->intr_handle;
+	struct rte_intr_handle *intr_handle = pci_dev->intr_handle;
 
 	ice_dcf_disable_irq0(hw);
 	rte_intr_disable(intr_handle);
diff a/drivers/net/ice/ice_dcf_ethdev.c b/drivers/net/ice/ice_dcf_ethdev.c	(rejected hunks)
@@ -1028,6 +1028,15 @@ dcf_add_del_mc_addr_list(struct ice_dcf_hw *hw,
 	uint32_t i;
 	int len, err = 0;
 
+	if (hw->resetting) {
+		if (!add)
+			return 0;
+
+		PMD_DRV_LOG(ERR,
+			    "fail to add multicast MACs for VF resetting");
+		return -EIO;
+	}
+
 	len = sizeof(struct virtchnl_ether_addr_list);
 	len += sizeof(struct virtchnl_ether_addr) * mc_addrs_num;
 

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

UNH-IOL DPDK Community Lab

                 reply	other threads:[~2022-04-19 11:38 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=20220419113845.172B045145@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).