Test-Label: iol-testing Test-Status: WARNING http://dpdk.org/patch/106454 _apply patch failure_ Submitter: Satheesh Paul Date: Tuesday, January 25 2022 04:19:36 Applied on: CommitID:8a5a91401dc23ddab1ddea3667a17a615a25077f Apply patch set 106454 failed: Checking patch drivers/common/cnxk/roc_npc.c... Checking patch drivers/common/cnxk/roc_npc.h... Hunk #1 succeeded at 211 (offset -98 lines). Checking patch drivers/common/cnxk/roc_npc_mcam.c... Hunk #1 succeeded at 698 (offset -82 lines). Checking patch drivers/common/cnxk/roc_npc_priv.h... Hunk #1 succeeded at 397 (offset -16 lines). Checking patch drivers/common/cnxk/version.map... Hunk #1 succeeded at 309 (offset -2 lines). Checking patch drivers/net/cnxk/cnxk_ethdev.c... error: while searching for: int count, i, j, rc; void *rxq; /* Disable switch hdr pkind */ roc_nix_switch_hdr_set(&dev->nix, 0, 0, 0, 0); /* Stop link change events */ if (!roc_nix_is_vf_or_sdp(&dev->nix)) error: patch failed: drivers/net/cnxk/cnxk_ethdev.c:1407 Hunk #2 succeeded at 1480 (offset -5 lines). Hunk #3 succeeded at 1730 (offset -11 lines). Checking patch drivers/net/cnxk/cnxk_ethdev_ops.c... Checking patch drivers/net/cnxk/cnxk_rte_flow.c... Applied patch drivers/common/cnxk/roc_npc.c cleanly. Applied patch drivers/common/cnxk/roc_npc.h cleanly. Applied patch drivers/common/cnxk/roc_npc_mcam.c cleanly. Applied patch drivers/common/cnxk/roc_npc_priv.h cleanly. Applied patch drivers/common/cnxk/version.map cleanly. Applying patch drivers/net/cnxk/cnxk_ethdev.c with 1 reject... Rejected hunk #1. Hunk #2 applied cleanly. Hunk #3 applied cleanly. Applied patch drivers/net/cnxk/cnxk_ethdev_ops.c cleanly. Applied patch drivers/net/cnxk/cnxk_rte_flow.c cleanly. diff a/drivers/net/cnxk/cnxk_ethdev.c b/drivers/net/cnxk/cnxk_ethdev.c (rejected hunks) @@ -1407,8 +1407,10 @@ cnxk_nix_dev_stop(struct rte_eth_dev *eth_dev) int count, i, j, rc; void *rxq; - /* Disable switch hdr pkind */ - roc_nix_switch_hdr_set(&dev->nix, 0, 0, 0, 0); + /* Disable all the NPC entries */ + rc = roc_npc_mcam_enable_all_entries(&dev->npc, 0); + if (rc) + return rc; /* Stop link change events */ if (!roc_nix_is_vf_or_sdp(&dev->nix)) https://lab.dpdk.org/results/dashboard/patchsets/20800/ UNH-IOL DPDK Community Lab