Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/127247/?format=api
https://patches.dpdk.org/api/patches/127247/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20230523194918.1940212-14-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": "<20230523194918.1940212-14-gakhil@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230523194918.1940212-14-gakhil@marvell.com", "date": "2023-05-23T19:49:18", "name": "[13/13] test/security: remove no MACsec support case", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "81f4cae36a7f7d30b6bddd887afc923c4301be4a", "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/20230523194918.1940212-14-gakhil@marvell.com/mbox/", "series": [ { "id": 28140, "url": "https://patches.dpdk.org/api/series/28140/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=28140", "date": "2023-05-23T19:49:05", "name": "Add MACsec unit test cases", "version": 1, "mbox": "https://patches.dpdk.org/series/28140/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/127247/comments/", "check": "fail", "checks": "https://patches.dpdk.org/api/patches/127247/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 6D44842B83;\n\tTue, 23 May 2023 21:51:25 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 29ADE42D40;\n\tTue, 23 May 2023 21:50:43 +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 ECA2F42D41\n for <dev@dpdk.org>; Tue, 23 May 2023 21:50:40 +0200 (CEST)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id\n 34NG9H0d021237; Tue, 23 May 2023 12:50:38 -0700", "from dc5-exch01.marvell.com ([199.233.59.181])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3qpwqk30yk-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Tue, 23 May 2023 12:50:38 -0700", "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Tue, 23 May 2023 12:50:36 -0700", "from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend\n Transport; Tue, 23 May 2023 12:50:36 -0700", "from localhost.localdomain (unknown [10.28.36.102])\n by maili.marvell.com (Postfix) with ESMTP id 8320B3F70A9;\n Tue, 23 May 2023 12:50:33 -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=gpTNqadLwaQDUBute+utB0lopgWYbTl+2Okvlix74Iw=;\n b=f3vsSOFFHaiDLLls1F8afJZPXuFhaFObcqHVhbT+fzuq03Cu20HyBxVh6whfQHHt8Scp\n bu5LjZayEl2lAxTAhxeYxyliVrHQNQltJy3rokmIcajH3fXvgdzpOtEEGc6Z59rI8K+T\n 7bU3u4nI8zOsvmmOaWn8ZrOgiM4wpjYLbr9YYEv8vZog8wURc4kQBDuMFUrkxWFXr/r+\n dEXKYQzY7k9oUQTukbY31Aej7mJardW+rox9bJm0emTKjyZEwOKv+/r2pz8YokQccnp2\n +P37nNvavRFT4M85jcE/Kzoou8wii7xXhauBJ0EthRA4WNdVP5IBGLJJkE32KzXtiZMA oQ==", "From": "Akhil Goyal <gakhil@marvell.com>", "To": "<dev@dpdk.org>, Akhil Goyal <gakhil@marvell.com>", "CC": "<thomas@monjalon.net>, <olivier.matz@6wind.com>, <orika@nvidia.com>,\n <david.marchand@redhat.com>, <hemant.agrawal@nxp.com>,\n <vattunuru@marvell.com>, <ferruh.yigit@amd.com>, <jerinj@marvell.com>,\n <adwivedi@marvell.com>", "Subject": "[PATCH 13/13] test/security: remove no MACsec support case", "Date": "Wed, 24 May 2023 01:19:18 +0530", "Message-ID": "<20230523194918.1940212-14-gakhil@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20230523194918.1940212-1-gakhil@marvell.com>", "References": "<20220928124516.93050-5-gakhil@marvell.com>\n <20230523194918.1940212-1-gakhil@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "70zWoJRxLsPUuGT9POm-v9-xD3kkjvHO", "X-Proofpoint-GUID": "70zWoJRxLsPUuGT9POm-v9-xD3kkjvHO", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26\n definitions=2023-05-23_12,2023-05-23_02,2023-05-22_02", "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": "Removed the test_capability_get_no_support_for_macsec case\nas MACsec is now supported and capability can have valid\nMACsec support.\n\nSigned-off-by: Akhil Goyal <gakhil@marvell.com>\n---\n app/test/test_security.c | 37 -------------------------------------\n 1 file changed, 37 deletions(-)", "diff": "diff --git a/app/test/test_security.c b/app/test/test_security.c\nindex e4ddcefe40..4783cd0663 100644\n--- a/app/test/test_security.c\n+++ b/app/test/test_security.c\n@@ -1828,41 +1828,6 @@ test_capability_get_no_matching_protocol(void)\n \treturn TEST_SUCCESS;\n }\n \n-/**\n- * Test execution of rte_security_capability_get when macsec protocol\n- * is searched and capabilities table contain proper entry.\n- * However macsec records search is not supported in rte_security.\n- */\n-static int\n-test_capability_get_no_support_for_macsec(void)\n-{\n-\tstruct security_unittest_params *ut_params = &unittest_params;\n-\tstruct rte_security_capability_idx idx = {\n-\t\t.action = RTE_SECURITY_ACTION_TYPE_LOOKASIDE_PROTOCOL,\n-\t\t.protocol = RTE_SECURITY_PROTOCOL_MACSEC,\n-\t};\n-\tstruct rte_security_capability capabilities[] = {\n-\t\t{\n-\t\t\t.action = RTE_SECURITY_ACTION_TYPE_LOOKASIDE_PROTOCOL,\n-\t\t\t.protocol = RTE_SECURITY_PROTOCOL_MACSEC,\n-\t\t},\n-\t\t{\n-\t\t\t.action = RTE_SECURITY_ACTION_TYPE_NONE,\n-\t\t},\n-\t};\n-\n-\tmock_capabilities_get_exp.device = NULL;\n-\tmock_capabilities_get_exp.ret = capabilities;\n-\n-\tconst struct rte_security_capability *ret;\n-\tret = rte_security_capability_get(&ut_params->ctx, &idx);\n-\tTEST_ASSERT_MOCK_FUNCTION_CALL_RET(rte_security_capability_get,\n-\t\t\tret, NULL, \"%p\");\n-\tTEST_ASSERT_MOCK_CALLS(mock_capabilities_get_exp, 1);\n-\n-\treturn TEST_SUCCESS;\n-}\n-\n /**\n * Test execution of rte_security_capability_get when capabilities table\n * does not contain entry with matching ipsec proto field\n@@ -2319,8 +2284,6 @@ static struct unit_test_suite security_testsuite = {\n \t\t\t\ttest_capability_get_no_matching_action),\n \t\tTEST_CASE_ST(ut_setup_with_session, ut_teardown,\n \t\t\t\ttest_capability_get_no_matching_protocol),\n-\t\tTEST_CASE_ST(ut_setup_with_session, ut_teardown,\n-\t\t\t\ttest_capability_get_no_support_for_macsec),\n \t\tTEST_CASE_ST(ut_setup_with_session, ut_teardown,\n \t\t\t\ttest_capability_get_ipsec_mismatch_proto),\n \t\tTEST_CASE_ST(ut_setup_with_session, ut_teardown,\n", "prefixes": [ "13/13" ] }{ "id": 127247, "url": "