From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id DE97942601 for ; Thu, 21 Sep 2023 04:42:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D6EDD4014F; Thu, 21 Sep 2023 04:42:39 +0200 (CEST) Received: from mail-yb1-f226.google.com (mail-yb1-f226.google.com [209.85.219.226]) by mails.dpdk.org (Postfix) with ESMTP id 43BE94014F for ; Thu, 21 Sep 2023 04:42:38 +0200 (CEST) Received: by mail-yb1-f226.google.com with SMTP id 3f1490d57ef6-d815a5eee40so581790276.2 for ; Wed, 20 Sep 2023 19:42:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; t=1695264157; x=1695868957; darn=dpdk.org; h=cc:to:from:subject:message-id:date:from:to:cc:subject:date :message-id:reply-to; bh=G1NgEspFbvvR8V+lWMt68dNdTyhi6KIxHnTWAPPZm6A=; b=aie3oqjbhweS2Tso0YrCgVzSXzEspFixl2VYELIz9WKw8X5FLAlgYzAoPRB6fggLI4 LrkDziqBQR/rnEGPu1y9qH03t5V0pDsK/M00YBj/lhQDSVtM6wlrtGMaXKgbBUA0CLTM TK8OZ2RPUuIp4Pz9SJAlw5PLyfa95srnCe97k= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695264157; x=1695868957; h=cc:to:from:subject:message-id:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=G1NgEspFbvvR8V+lWMt68dNdTyhi6KIxHnTWAPPZm6A=; b=C8Ti0asW3oRwxeI5qpbWpj2vhUsN0ink2rM1usQ2i5ahDUI+eAGc8YZyBpQGIKnytN p5ltCprICJ8NLtJwf2bY3QzRxLer0n+seLAzwW9qbMWphrmgk5Zo1l0Evry9wcpyXOfU OVBbleEc1+RAVTxZ/KN+5KmPilGMDBOZGyVcH5TEyMVRSK0bqHAv0YoRxSg1i0iQ0XP9 T5MoFEwtYivIdvGsZmvyu2QaqAi/VjxkCvrOXC5cMMglo9yNdQMrq4eguv7/eIV34w6r y+xYxMDlRw5xhs9PiPS6oE6B4MjDSM6G6Pm7/PWzzHm4yGRiZymt409g14f8DKGiW3pw 0XvA== X-Gm-Message-State: AOJu0YyIRP4IVAHRv8nVFP1yoqUmnu5Efp1NH8S+Acxr28Z199dRKKUq mH0DmX68ot2IPVNPyaJ7OBFuV0tZLgkiDcf8gu2MTk1WKZM3nM8i1+4ToxL5kQT7yw6s9JqNSg= = X-Google-Smtp-Source: AGHT+IEaf7yjDGUmNHRxLmY9s9xsmJ2Bp2PQlUKnpF6V5fTdu6ZEoxmhA/qC4p3QVy0/LR2ofzalRdfx1olF X-Received: by 2002:a05:6902:569:b0:d85:b09e:b9c9 with SMTP id a9-20020a056902056900b00d85b09eb9c9mr3437553ybt.52.1695264157666; Wed, 20 Sep 2023 19:42:37 -0700 (PDT) Received: from postal.iol.unh.edu (postal.iol.unh.edu. [2606:4100:3880:1234::84]) by smtp-relay.gmail.com with ESMTPS id b24-20020a639318000000b0056969e34a85sm18195pge.6.2023.09.20.19.42.37 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Sep 2023 19:42:37 -0700 (PDT) X-Relaying-Domain: iol.unh.edu Date: Wed, 20 Sep 2023 19:42:37 -0700 (PDT) Message-ID: <650bad9d.630a0220.3b64f.0c0aSMTPIN_ADDED_MISSING@mx.google.com> Received: from [172.21.0.2] (unknown [172.18.0.240]) by postal.iol.unh.edu (Postfix) with ESMTP id C3110605C351; Wed, 20 Sep 2023 22:42:36 -0400 (EDT) Subject: |WARNING| pw131752-131754 [PATCH] [v2, 3/3] test/security: add unittest for inline ingress oop From: dpdklab@iol.unh.edu To: test-report@dpdk.org Cc: dpdk-test-reports@iol.unh.edu Content-Type: text/plain X-BeenThere: test-report@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: automatic DPDK test reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: test-report-bounces@dpdk.org Test-Label: iol-testing Test-Status: WARNING http://dpdk.org/patch/131752 _apply patch failure_ Submitter: Nithin Dabilpuram Date: Thursday, September 21 2023 02:15:48 Applied on: CommitID:31e60e81f025e9fffa69b68bffe5cfaa22d5c098 Apply patch set 131752-131754 failed: Checking patch doc/guides/rel_notes/deprecation.rst... Hunk #1 succeeded at 154 (offset 7 lines). Checking patch doc/guides/rel_notes/release_23_11.rst... error: while searching for: Enabled support for QAT 2.0c (4944) devices in QAT crypto driver. Removed Items ------------- error: patch failed: doc/guides/rel_notes/release_23_11.rst:86 error: while searching for: ``rte_crypto_auth_algorithm_strings``, ``rte_crypto_aead_algorithm_strings`` and ``rte_crypto_asym_xform_strings``. API Changes ----------- error: patch failed: doc/guides/rel_notes/release_23_11.rst:109 Hunk #3 succeeded at 129 (offset -18 lines). Checking patch lib/pipeline/rte_swx_ipsec.c... Checking patch lib/security/rte_security.c... Checking patch lib/security/rte_security.h... Hunk #2 succeeded at 821 (offset -6 lines). Hunk #3 succeeded at 850 (offset -6 lines). Checking patch lib/security/rte_security_driver.h... Checking patch lib/security/version.map... Applied patch doc/guides/rel_notes/deprecation.rst cleanly. Applying patch doc/guides/rel_notes/release_23_11.rst with 2 rejects... Rejected hunk #1. Rejected hunk #2. Hunk #3 applied cleanly. Applied patch lib/pipeline/rte_swx_ipsec.c cleanly. Applied patch lib/security/rte_security.c cleanly. Applied patch lib/security/rte_security.h cleanly. Applied patch lib/security/rte_security_driver.h cleanly. Applied patch lib/security/version.map cleanly. hint: Use 'git am --show-current-patch' to see the failed patch diff a/doc/guides/rel_notes/release_23_11.rst b/doc/guides/rel_notes/release_23_11.rst (rejected hunks) @@ -86,6 +86,10 @@ New Features Enabled support for QAT 2.0c (4944) devices in QAT crypto driver. +* **Added out of place processing support for inline ingress security session.** + + Similar to out of place processing support for lookaside security session, added + the same support for inline ingress security session. Removed Items ------------- @@ -109,6 +113,8 @@ Removed Items ``rte_crypto_auth_algorithm_strings``, ``rte_crypto_aead_algorithm_strings`` and ``rte_crypto_asym_xform_strings``. +* security: Removed deprecated field ``reserved_opts`` from struct + ``rte_security_ipsec_sa_options``. API Changes ----------- Checking patch app/test/test_cryptodev_security_ipsec.c... Checking patch app/test/test_cryptodev_security_ipsec.h... Checking patch app/test/test_security_inline_proto.c... error: while searching for: return test_ipsec_inline_proto_process(&td_inb, NULL, 1, false, &flags); } static int test_ipsec_inline_proto_display_list(void) { error: patch failed: app/test/test_security_inline_proto.c:2075 Hunk #5 succeeded at 3225 (offset -20 lines). Applied patch app/test/test_cryptodev_security_ipsec.c cleanly. Applied patch app/test/test_cryptodev_security_ipsec.h cleanly. Applying patch app/test/test_security_inline_proto.c with 1 reject... Hunk #1 applied cleanly. Hunk #2 applied cleanly. Hunk #3 applied cleanly. Rejected hunk #4. Hunk #5 applied cleanly. hint: Use 'git am --show-current-patch' to see the failed patch diff a/app/test/test_security_inline_proto.c b/app/test/test_security_inline_proto.c (rejected hunks) @@ -2075,6 +2135,26 @@ test_ipsec_inline_proto_known_vec_inb(const void *test_data) return test_ipsec_inline_proto_process(&td_inb, NULL, 1, false, &flags); } +static int +test_ipsec_inline_proto_oop_inb(const void *test_data) +{ + const struct ipsec_test_data *td = test_data; + struct ipsec_test_flags flags; + struct ipsec_test_data td_inb; + + memset(&flags, 0, sizeof(flags)); + flags.inb_oop = true; + + if (td->ipsec_xform.direction == RTE_SECURITY_IPSEC_SA_DIR_EGRESS) + test_ipsec_td_in_from_out(td, &td_inb); + else + memcpy(&td_inb, td, sizeof(td_inb)); + + td_inb.ipsec_xform.options.ingress_oop = true; + + return test_ipsec_inline_proto_process(&td_inb, NULL, 1, false, &flags); +} + static int test_ipsec_inline_proto_display_list(void) { https://lab.dpdk.org/results/dashboard/patchsets/27677/ UNH-IOL DPDK Community Lab