Test-Label: iol-testing Test-Status: WARNING http://dpdk.org/patch/99316 _apply patch failure_ Submitter: Radu Nicolau Date: Monday, September 20 2021 13:52:02 Applied on: CommitID:4777674c4428f528fa2890d8afab551f6dd54c24 Apply patch set 99316-99321 failed: Checking patch drivers/net/iavf/iavf.h... Checking patch drivers/net/iavf/iavf_ethdev.c... error: while searching for: goto flow_init_err; } iavf_default_rss_disable(adapter); return 0; error: patch failed: drivers/net/iavf/iavf_ethdev.c:2357 Checking patch drivers/net/iavf/iavf_generic_flow.c... Checking patch drivers/net/iavf/iavf_generic_flow.h... Checking patch drivers/net/iavf/iavf_ipsec_crypto.c... .git/rebase-apply/patch:2165: new blank line at EOF. + Checking patch drivers/net/iavf/iavf_ipsec_crypto.h... Checking patch drivers/net/iavf/iavf_ipsec_crypto_capabilities.h... Checking patch drivers/net/iavf/iavf_rxtx.c... Hunk #4 succeeded at 504 (offset -4 lines). Hunk #5 succeeded at 694 (offset -4 lines). Hunk #6 succeeded at 740 (offset -4 lines). Hunk #7 succeeded at 766 (offset -4 lines). Hunk #8 succeeded at 1087 (offset -4 lines). Hunk #9 succeeded at 1469 (offset -4 lines). Hunk #10 succeeded at 1613 (offset -4 lines). Hunk #11 succeeded at 1853 (offset -4 lines). Hunk #12 succeeded at 2167 (offset -4 lines). Hunk #13 succeeded at 2211 (offset -4 lines). Hunk #14 succeeded at 2246 (offset -4 lines). Hunk #15 succeeded at 2257 (offset -4 lines). Hunk #16 succeeded at 2276 (offset -4 lines). Hunk #17 succeeded at 2421 (offset -4 lines). Hunk #18 succeeded at 2460 (offset -4 lines). Hunk #19 succeeded at 2472 (offset -4 lines). Hunk #20 succeeded at 2539 (offset -4 lines). Hunk #21 succeeded at 2547 (offset -4 lines). Checking patch drivers/net/iavf/iavf_rxtx.h... Checking patch drivers/net/iavf/iavf_vchnl.c... .git/rebase-apply/patch:3239: new blank line at EOF. + Checking patch drivers/net/iavf/meson.build... Checking patch drivers/net/iavf/rte_pmd_iavf.h... Checking patch drivers/net/iavf/version.map... Applied patch drivers/net/iavf/iavf.h cleanly. Applying patch drivers/net/iavf/iavf_ethdev.c with 1 reject... Hunk #1 applied cleanly. Hunk #2 applied cleanly. Hunk #3 applied cleanly. Hunk #4 applied cleanly. Hunk #5 applied cleanly. Hunk #6 applied cleanly. Hunk #7 applied cleanly. Rejected hunk #8. Applied patch drivers/net/iavf/iavf_generic_flow.c cleanly. Applied patch drivers/net/iavf/iavf_generic_flow.h cleanly. Applied patch drivers/net/iavf/iavf_ipsec_crypto.c cleanly. Applied patch drivers/net/iavf/iavf_ipsec_crypto.h cleanly. Applied patch drivers/net/iavf/iavf_ipsec_crypto_capabilities.h cleanly. Applied patch drivers/net/iavf/iavf_rxtx.c cleanly. Applied patch drivers/net/iavf/iavf_rxtx.h cleanly. Applied patch drivers/net/iavf/iavf_vchnl.c cleanly. Applied patch drivers/net/iavf/meson.build cleanly. Applied patch drivers/net/iavf/rte_pmd_iavf.h cleanly. Applied patch drivers/net/iavf/version.map cleanly. diff a/drivers/net/iavf/iavf_ethdev.c b/drivers/net/iavf/iavf_ethdev.c (rejected hunks) @@ -2357,6 +2374,24 @@ iavf_dev_init(struct rte_eth_dev *eth_dev) goto flow_init_err; } + /** Check if the IPsec Crypto offload is supported and create + * security_ctx if it is. + */ + if (iavf_ipsec_crypto_supported(adapter)) { + /* Initialize security_ctx only for primary process*/ + ret = iavf_security_ctx_create(adapter); + if (ret) { + PMD_INIT_LOG(ERR, "failed to create ipsec crypto security instance"); + return ret; + } + + ret = iavf_security_init(adapter); + if (ret) { + PMD_INIT_LOG(ERR, "failed to initialized ipsec crypto resources"); + return ret; + } + } + iavf_default_rss_disable(adapter); return 0; Checking patch drivers/net/iavf/iavf.h... error: drivers/net/iavf/iavf.h: does not match index Checking patch drivers/net/iavf/iavf_ethdev.c... error: drivers/net/iavf/iavf_ethdev.c: does not match index Checking patch drivers/net/iavf/iavf_rxtx.h... error: drivers/net/iavf/iavf_rxtx.h: does not match index Checking patch drivers/net/iavf/iavf.h... error: drivers/net/iavf/iavf.h: does not match index Checking patch drivers/net/iavf/iavf_ethdev.c... error: drivers/net/iavf/iavf_ethdev.c: does not match index https://lab.dpdk.org/results/dashboard/patchsets/18865/ UNH-IOL DPDK Community Lab