* [dpdk-test-report] |WARNING| pw99544 [PATCH] [v2] net/ice: retry getting VF VSI map after it fails
@ 2021-10-06 13:29 dpdklab
0 siblings, 0 replies; only message in thread
From: dpdklab @ 2021-10-06 13:29 UTC (permalink / raw)
To: test-report; +Cc: dpdk-test-reports
[-- Attachment #1: Type: text/plain, Size: 1739 bytes --]
Test-Label: iol-testing
Test-Status: WARNING
http://dpdk.org/patch/99544
_apply patch failure_
Submitter: Yu, DapengX <dapengx.yu@intel.com>
Date: Friday, September 24 2021 08:08:20
Applied on: CommitID:2700326085033fd13339a8de31f58a95d1ee9c3f
Apply patch set 99544 failed:
Checking patch drivers/net/ice/ice_dcf.c...
error: while searching for:
ice_dcf_handle_vsi_update_event(struct ice_dcf_hw *hw)
{
struct rte_pci_device *pci_dev = RTE_ETH_DEV_TO_PCI(hw->eth_dev);
int err = 0;
rte_spinlock_lock(&hw->vc_cmd_send_lock);
rte_intr_disable(&pci_dev->intr_handle);
ice_dcf_disable_irq0(hw);
if (ice_dcf_get_vf_resource(hw) || ice_dcf_get_vf_vsi_map(hw) < 0)
err = -1;
rte_intr_enable(&pci_dev->intr_handle);
ice_dcf_enable_irq0(hw);
error: patch failed: drivers/net/ice/ice_dcf.c:534
Applying patch drivers/net/ice/ice_dcf.c with 1 reject...
Rejected hunk #1.
diff a/drivers/net/ice/ice_dcf.c b/drivers/net/ice/ice_dcf.c (rejected hunks)
@@ -534,15 +534,26 @@ int
ice_dcf_handle_vsi_update_event(struct ice_dcf_hw *hw)
{
struct rte_pci_device *pci_dev = RTE_ETH_DEV_TO_PCI(hw->eth_dev);
- int err = 0;
+ int i = 0;
+ int err = -1;
rte_spinlock_lock(&hw->vc_cmd_send_lock);
rte_intr_disable(&pci_dev->intr_handle);
ice_dcf_disable_irq0(hw);
- if (ice_dcf_get_vf_resource(hw) || ice_dcf_get_vf_vsi_map(hw) < 0)
- err = -1;
+ for (;;) {
+ if (ice_dcf_get_vf_resource(hw) == 0 &&
+ ice_dcf_get_vf_vsi_map(hw) >= 0) {
+ err = 0;
+ break;
+ }
+
+ if (++i >= ICE_DCF_ARQ_MAX_RETRIES)
+ break;
+
+ rte_delay_ms(ICE_DCF_ARQ_CHECK_TIME);
+ }
rte_intr_enable(&pci_dev->intr_handle);
ice_dcf_enable_irq0(hw);
https://lab.dpdk.org/results/dashboard/patchsets/18929/
UNH-IOL DPDK Community Lab
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-10-06 13:29 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-10-06 13:29 [dpdk-test-report] |WARNING| pw99544 [PATCH] [v2] net/ice: retry getting VF VSI map after it fails dpdklab
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).