Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/131633/?format=api
http://patches.dpdk.org/api/patches/131633/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20230919135409.2544309-2-gakhil@marvell.com/", "project": { "id": 1, "url": "http://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": "<20230919135409.2544309-2-gakhil@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20230919135409.2544309-2-gakhil@marvell.com", "date": "2023-09-19T13:54:07", "name": "[v2,1/3] security: add MACsec algo in capability index", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "6617747f0d3c903c7aff1fd0c4a4245a015224ba", "submitter": { "id": 2094, "url": "http://patches.dpdk.org/api/people/2094/?format=api", "name": "Akhil Goyal", "email": "gakhil@marvell.com" }, "delegate": { "id": 6690, "url": "http://patches.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20230919135409.2544309-2-gakhil@marvell.com/mbox/", "series": [ { "id": 29554, "url": "http://patches.dpdk.org/api/series/29554/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29554", "date": "2023-09-19T13:54:06", "name": "MACsec capability verification", "version": 2, "mbox": "http://patches.dpdk.org/series/29554/mbox/" } ], "comments": "http://patches.dpdk.org/api/patches/131633/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/131633/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 22E8442606;\n\tTue, 19 Sep 2023 15:54:25 +0200 (CEST)", "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 6A68040C35;\n\tTue, 19 Sep 2023 15:54:24 +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 EB428406FF\n for <dev@dpdk.org>; Tue, 19 Sep 2023 15:54:22 +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 38J66Jpc023472 for <dev@dpdk.org>; Tue, 19 Sep 2023 06:54:22 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3t5bvkrmn2-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Tue, 19 Sep 2023 06:54:22 -0700", "from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48;\n Tue, 19 Sep 2023 06:54:20 -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, 19 Sep 2023 06:54:19 -0700", "from localhost.localdomain (unknown [10.28.36.102])\n by maili.marvell.com (Postfix) with ESMTP id 3D0383F70AA;\n Tue, 19 Sep 2023 06:54:16 -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=Dd7JqVtz3uFFGe+cdTdKMpqKnUxr1ghAJs53Ny67QDc=;\n b=LQoqIKw6nSO/q/Yi74Whscj40AmLKROkvuJEV7dejNKHI5jw9Bv2VNP9aSNyP1/o6iXO\n KG+J/8qXGvkWJM2+VvP49J1yoGR0hZl+ADYr2di1JBmCcouh4S1RF160kN5yTK9ooj5t\n sIr67A4LhKET3CeBTh836rUObotbMqR2vxJEz/AlhvdTF8vGqH5/s+o72y7DaP9hW5W5\n bir7gqEkhAYLTdFBvL19v63c7yDwAdMjcASGHi1mzHXosFrxJewJxos7Xb1StoM5LYTk\n xk9V/vJN8yd0X1BYDx+srEAj50nIFjJ7tWeeUnBuxct5INN74RPUvXz0YF3qkV7kut52 ZQ==", "From": "Akhil Goyal <gakhil@marvell.com>", "To": "<dev@dpdk.org>", "CC": "<adwivedi@marvell.com>, <jerinj@marvell.com>, <vattunuru@marvell.com>,\n Akhil Goyal <gakhil@marvell.com>", "Subject": "[PATCH v2 1/3] security: add MACsec algo in capability index", "Date": "Tue, 19 Sep 2023 19:24:07 +0530", "Message-ID": "<20230919135409.2544309-2-gakhil@marvell.com>", "X-Mailer": "git-send-email 2.25.1", "In-Reply-To": "<20230919135409.2544309-1-gakhil@marvell.com>", "References": "<20230731034447.929506-1-gakhil@marvell.com>\n <20230919135409.2544309-1-gakhil@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-GUID": "goNc0g4PLLcA9BVaujdBlVEVHOIyXky5", "X-Proofpoint-ORIG-GUID": "goNc0g4PLLcA9BVaujdBlVEVHOIyXky5", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.601,FMLib:17.11.176.26\n definitions=2023-09-19_06,2023-09-19_01,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": "From: Ankur Dwivedi <adwivedi@marvell.com>\n\nThis patch adds the MACsec algorithm field in security capability index\nstructure. This field is compared against the MACsec alg to return the\ncorrect capability.\n\nSigned-off-by: Ankur Dwivedi <adwivedi@marvell.com>\nAcked-by: Akhil Goyal <gakhil@marvell.com>\n---\n lib/security/rte_security.c | 4 ++++\n lib/security/rte_security.h | 3 +++\n 2 files changed, 7 insertions(+)", "diff": "diff --git a/lib/security/rte_security.c b/lib/security/rte_security.c\nindex c4d64bb8e9..2d729b735b 100644\n--- a/lib/security/rte_security.c\n+++ b/lib/security/rte_security.c\n@@ -282,6 +282,10 @@ rte_security_capability_get(struct rte_security_ctx *instance,\n \t\t\t\tif (capability->docsis.direction ==\n \t\t\t\t\t\t\tidx->docsis.direction)\n \t\t\t\t\treturn capability;\n+\t\t\t} else if (idx->protocol ==\n+\t\t\t\t\t\tRTE_SECURITY_PROTOCOL_MACSEC) {\n+\t\t\t\tif (idx->macsec.alg == capability->macsec.alg)\n+\t\t\t\t\treturn capability;\n \t\t\t}\n \t\t}\n \t}\ndiff --git a/lib/security/rte_security.h b/lib/security/rte_security.h\nindex c6550f4d8d..439bbb957f 100644\n--- a/lib/security/rte_security.h\n+++ b/lib/security/rte_security.h\n@@ -1252,6 +1252,9 @@ struct rte_security_capability_idx {\n \t\tstruct {\n \t\t\tenum rte_security_docsis_direction direction;\n \t\t} docsis;\n+\t\tstruct {\n+\t\t\tenum rte_security_macsec_alg alg;\n+\t\t} macsec;\n \t};\n };\n \n", "prefixes": [ "v2", "1/3" ] }{ "id": 131633, "url": "