Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/111107/?format=api
https://patches.dpdk.org/api/patches/111107/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20220513073201.2320812-3-gakhil@marvell.com/", "project": { "id": 1, "url": "https://patches.dpdk.org/api/projects/1/?format=api", "name": "DPDK", "link_name": "dpdk", "list_id": "dev.dpdk.org", "list_email": "dev@dpdk.org", "web_url": "http://core.dpdk.org", "scm_url": "git://dpdk.org/dpdk", "webscm_url": "http://git.dpdk.org/dpdk", "list_archive_url": "https://inbox.dpdk.org/dev", "list_archive_url_format": "https://inbox.dpdk.org/dev/{}", "commit_url_format": "" }, "msgid": "<20220513073201.2320812-3-gakhil@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20220513073201.2320812-3-gakhil@marvell.com", "date": "2022-05-13T07:31:56", "name": "[v6,2/7] test/security: add inline inbound IPsec cases", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "3c017ab6b95a7bf5ab45728e69a07ac859fe3e56", "submitter": { "id": 2094, "url": "https://patches.dpdk.org/api/people/2094/?format=api", "name": "Akhil Goyal", "email": "gakhil@marvell.com" }, "delegate": { "id": 6690, "url": "https://patches.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "https://patches.dpdk.org/project/dpdk/patch/20220513073201.2320812-3-gakhil@marvell.com/mbox/", "series": [ { "id": 22922, "url": "https://patches.dpdk.org/api/series/22922/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=22922", "date": "2022-05-13T07:31:54", "name": "app/test: add inline IPsec and reassembly cases", "version": 6, "mbox": "https://patches.dpdk.org/series/22922/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/111107/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/111107/checks/", "tags": {}, "related": [], "headers": { "Return-Path": "<dev-bounces@dpdk.org>", "X-Original-To": "patchwork@inbox.dpdk.org", "Delivered-To": "patchwork@inbox.dpdk.org", "Received": [ "from mails.dpdk.org (mails.dpdk.org [217.70.189.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 1D550A00C3;\n\tFri, 13 May 2022 09:32:27 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 0D40142833;\n\tFri, 13 May 2022 09:32:21 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 21D0842833\n for <dev@dpdk.org>; Fri, 13 May 2022 09:32:20 +0200 (CEST)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id\n 24CNcfEO010448;\n Fri, 13 May 2022 00:32:19 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3g1c379fmb-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Fri, 13 May 2022 00:32:19 -0700", "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Fri, 13 May 2022 00:32:17 -0700", "from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.18 via Frontend\n Transport; Fri, 13 May 2022 00:32:17 -0700", "from localhost.localdomain (unknown [10.28.48.55])\n by maili.marvell.com (Postfix) with ESMTP id 0B4253F7063;\n Fri, 13 May 2022 00:32:12 -0700 (PDT)" ], "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : in-reply-to : references : mime-version :\n content-transfer-encoding : content-type; s=pfpt0220;\n bh=sJro9oZY/yvjQFv3w5NAhc6qf/hz4/e6R7buPOgZyc8=;\n b=JeMKhQraNRNuBHUEf8USL+NvTHqtKji9s+aq01+qbc9jY16gngrav2TZ5ctB45TmWPPi\n YWmP9EPzQy5zSee3+SNoY6Y7Bt/Td7uknqHZnkrg6ssfAx/tj1WPpCIjJxMJHW8HtlJo\n xSpmTm2a7AaS+JoeVvXH+7+MlznpAeK6a8XNfZmfEjF8vTLFyNGtEx2f05NA2i0sORDg\n RxKbMhI29ayhVrWfGYpRQdQK5sUUhKKwfDARMbBuvSazXnG0RPrzUnPIay+0s7Zx/tux\n TFKAbAV2EOHaDdJpfk9BGojzk6eCr10siMkyIgstqH7pCnb0FyhVXHzSxZki1aTXV/gb 8A==", "From": "Akhil Goyal <gakhil@marvell.com>", "To": "<dev@dpdk.org>", "CC": "<thomas@monjalon.net>, <david.marchand@redhat.com>,\n <hemant.agrawal@nxp.com>, <anoobj@marvell.com>,\n <konstantin.ananyev@intel.com>, <ciara.power@intel.com>,\n <ferruh.yigit@intel.com>, <andrew.rybchenko@oktetlabs.ru>,\n <ndabilpuram@marvell.com>, <vattunuru@marvell.com>, Akhil Goyal\n <gakhil@marvell.com>, Fan Zhang <roy.fan.zhang@intel.com>", "Subject": "[PATCH v6 2/7] test/security: add inline inbound IPsec cases", "Date": "Fri, 13 May 2022 13:01:56 +0530", "Message-ID": "<20220513073201.2320812-3-gakhil@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20220513073201.2320812-1-gakhil@marvell.com>", "References": "<20220427151054.2536675-1-gakhil@marvell.com>\n <20220513073201.2320812-1-gakhil@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "tgfxmRcY4MnvmJSAPrMtp0_5AiQ5wB8O", "X-Proofpoint-ORIG-GUID": "tgfxmRcY4MnvmJSAPrMtp0_5AiQ5wB8O", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.858,Hydra:6.0.486,FMLib:17.11.64.514\n definitions=2022-05-13_02,2022-05-12_01,2022-02-23_01", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.29", "Precedence": "list", "List-Id": "DPDK patches and discussions <dev.dpdk.org>", "List-Unsubscribe": "<https://mails.dpdk.org/options/dev>,\n <mailto:dev-request@dpdk.org?subject=unsubscribe>", "List-Archive": "<http://mails.dpdk.org/archives/dev/>", "List-Post": "<mailto:dev@dpdk.org>", "List-Help": "<mailto:dev-request@dpdk.org?subject=help>", "List-Subscribe": "<https://mails.dpdk.org/listinfo/dev>,\n <mailto:dev-request@dpdk.org?subject=subscribe>", "Errors-To": "dev-bounces@dpdk.org" }, "content": "Added test cases for inline Inbound protocol offload\nverification with known test vectors from Lookaside mode.\n\nSigned-off-by: Akhil Goyal <gakhil@marvell.com>\nAcked-by: Fan Zhang <roy.fan.zhang@intel.com>\n---\n app/test/test_security_inline_proto.c | 65 +++++++++++++++++++++++++++\n 1 file changed, 65 insertions(+)", "diff": "diff --git a/app/test/test_security_inline_proto.c b/app/test/test_security_inline_proto.c\nindex 4b960ddfe0..4a95b25a0b 100644\n--- a/app/test/test_security_inline_proto.c\n+++ b/app/test/test_security_inline_proto.c\n@@ -824,6 +824,24 @@ test_ipsec_inline_proto_known_vec(const void *test_data)\n \t\t\t\tfalse, &flags);\n }\n \n+static int\n+test_ipsec_inline_proto_known_vec_inb(const void *test_data)\n+{\n+\tconst struct ipsec_test_data *td = test_data;\n+\tstruct ipsec_test_flags flags;\n+\tstruct ipsec_test_data td_inb;\n+\n+\tmemset(&flags, 0, sizeof(flags));\n+\n+\tif (td->ipsec_xform.direction == RTE_SECURITY_IPSEC_SA_DIR_EGRESS)\n+\t\ttest_ipsec_td_in_from_out(td, &td_inb);\n+\telse\n+\t\tmemcpy(&td_inb, td, sizeof(td_inb));\n+\n+\treturn test_ipsec_inline_proto_process(&td_inb, NULL, 1, false, &flags);\n+}\n+\n+\n static struct unit_test_suite inline_ipsec_testsuite = {\n \t.suite_name = \"Inline IPsec Ethernet Device Unit Test Suite\",\n \t.setup = inline_ipsec_testsuite_setup,\n@@ -870,6 +888,53 @@ static struct unit_test_suite inline_ipsec_testsuite = {\n \t\t\tut_setup_inline_ipsec, ut_teardown_inline_ipsec,\n \t\t\ttest_ipsec_inline_proto_known_vec,\n \t\t\t&pkt_null_aes_xcbc),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Inbound known vector (ESP tunnel mode IPv4 AES-GCM 128)\",\n+\t\t\tut_setup_inline_ipsec, ut_teardown_inline_ipsec,\n+\t\t\ttest_ipsec_inline_proto_known_vec_inb, &pkt_aes_128_gcm),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Inbound known vector (ESP tunnel mode IPv4 AES-GCM 192)\",\n+\t\t\tut_setup_inline_ipsec, ut_teardown_inline_ipsec,\n+\t\t\ttest_ipsec_inline_proto_known_vec_inb, &pkt_aes_192_gcm),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Inbound known vector (ESP tunnel mode IPv4 AES-GCM 256)\",\n+\t\t\tut_setup_inline_ipsec, ut_teardown_inline_ipsec,\n+\t\t\ttest_ipsec_inline_proto_known_vec_inb, &pkt_aes_256_gcm),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Inbound known vector (ESP tunnel mode IPv4 AES-CBC 128)\",\n+\t\t\tut_setup_inline_ipsec, ut_teardown_inline_ipsec,\n+\t\t\ttest_ipsec_inline_proto_known_vec_inb, &pkt_aes_128_cbc_null),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Inbound known vector (ESP tunnel mode IPv4 AES-CBC 128 HMAC-SHA256 [16B ICV])\",\n+\t\t\tut_setup_inline_ipsec, ut_teardown_inline_ipsec,\n+\t\t\ttest_ipsec_inline_proto_known_vec_inb,\n+\t\t\t&pkt_aes_128_cbc_hmac_sha256),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Inbound known vector (ESP tunnel mode IPv4 AES-CBC 128 HMAC-SHA384 [24B ICV])\",\n+\t\t\tut_setup_inline_ipsec, ut_teardown_inline_ipsec,\n+\t\t\ttest_ipsec_inline_proto_known_vec_inb,\n+\t\t\t&pkt_aes_128_cbc_hmac_sha384),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Inbound known vector (ESP tunnel mode IPv4 AES-CBC 128 HMAC-SHA512 [32B ICV])\",\n+\t\t\tut_setup_inline_ipsec, ut_teardown_inline_ipsec,\n+\t\t\ttest_ipsec_inline_proto_known_vec_inb,\n+\t\t\t&pkt_aes_128_cbc_hmac_sha512),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Inbound known vector (ESP tunnel mode IPv6 AES-GCM 128)\",\n+\t\t\tut_setup_inline_ipsec, ut_teardown_inline_ipsec,\n+\t\t\ttest_ipsec_inline_proto_known_vec_inb, &pkt_aes_256_gcm_v6),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Inbound known vector (ESP tunnel mode IPv6 AES-CBC 128 HMAC-SHA256 [16B ICV])\",\n+\t\t\tut_setup_inline_ipsec, ut_teardown_inline_ipsec,\n+\t\t\ttest_ipsec_inline_proto_known_vec_inb,\n+\t\t\t&pkt_aes_128_cbc_hmac_sha256_v6),\n+\t\tTEST_CASE_NAMED_WITH_DATA(\n+\t\t\t\"Inbound known vector (ESP tunnel mode IPv4 NULL AES-XCBC-MAC [12B ICV])\",\n+\t\t\tut_setup_inline_ipsec, ut_teardown_inline_ipsec,\n+\t\t\ttest_ipsec_inline_proto_known_vec_inb,\n+\t\t\t&pkt_null_aes_xcbc),\n+\n+\n \n \t\tTEST_CASES_END() /**< NULL terminate unit test array */\n \t},\n", "prefixes": [ "v6", "2/7" ] }{ "id": 111107, "url": "