Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/103192/?format=api
https://patches.dpdk.org/api/patches/103192/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/patch/20211028165228.14603-2-marchana@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": "<20211028165228.14603-2-marchana@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20211028165228.14603-2-marchana@marvell.com", "date": "2021-10-28T16:52:23", "name": "[1/6] common/cnxk: add null auth with IPsec", "commit_ref": null, "pull_url": null, "state": "accepted", "archived": true, "hash": "581bc7209a55963110b86b13130755a1297bb35d", "submitter": { "id": 1515, "url": "https://patches.dpdk.org/api/people/1515/?format=api", "name": "Archana Muniganti", "email": "marchana@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/20211028165228.14603-2-marchana@marvell.com/mbox/", "series": [ { "id": 20108, "url": "https://patches.dpdk.org/api/series/20108/?format=api", "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=20108", "date": "2021-10-28T16:52:22", "name": "add cnxk lookaside IPsec additional features", "version": 1, "mbox": "https://patches.dpdk.org/series/20108/mbox/" } ], "comments": "https://patches.dpdk.org/api/patches/103192/comments/", "check": "success", "checks": "https://patches.dpdk.org/api/patches/103192/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 30411A0547;\n\tThu, 28 Oct 2021 18:52:48 +0200 (CEST)", "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id C4909410FA;\n\tThu, 28 Oct 2021 18:52:45 +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 82A3B410F7\n for <dev@dpdk.org>; Thu, 28 Oct 2021 18:52:44 +0200 (CEST)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 19SA5XK1022095\n for <dev@dpdk.org>; Thu, 28 Oct 2021 09:52:43 -0700", "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com with ESMTP id 3byd2fcpx2-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Thu, 28 Oct 2021 09:52:42 -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.18;\n Thu, 28 Oct 2021 09:52:40 -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.18 via Frontend\n Transport; Thu, 28 Oct 2021 09:52:40 -0700", "from hyd1409.caveonetworks.com.com (unknown [10.29.45.15])\n by maili.marvell.com (Postfix) with ESMTP id B99673F7065;\n Thu, 28 Oct 2021 09:52:38 -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=cWAq6xKNxzG6b/ElOmp527NoIqtFITW2ZBtU8AENVyI=;\n b=jQY+si5d5JVgknW7fs3e9NgpSqwT8iTkPHG249zo6u3vBefjbt4FqiNUnLypBUQS/AOZ\n kleH6+EyD4g+yi+v8n/lkvDh9JGaQd1Xsvh0JJW2Onv+zZCqgkalEbpYbSiEyYDuszr3\n EQSLahpsdJxDuF1OnT0fYrvLi+ht0lIoBwBm/vJAvSbfTIUZu56XeVqZnFgOgu7c3vHe\n pct9EN+M+SH05Dv0FLWkvqvk3qiCJTautIOr3ffV9q/w73gwgGGD+sHS29EZzoY+rW0f\n XP+8WhFnTC4jcpdVtkI86378A0rfBNs9ogiZbQdgYe2iikhCjRRg4IBFa4gz4XYH08mX xA==", "From": "Archana Muniganti <marchana@marvell.com>", "To": "<gakhil@marvell.com>", "CC": "Anoob Joseph <anoobj@marvell.com>, <ktejasree@marvell.com>,\n <adwivedi@marvell.com>, <dev@dpdk.org>", "Date": "Thu, 28 Oct 2021 22:22:23 +0530", "Message-ID": "<20211028165228.14603-2-marchana@marvell.com>", "X-Mailer": "git-send-email 2.22.0", "In-Reply-To": "<20211028165228.14603-1-marchana@marvell.com>", "References": "<20211028165228.14603-1-marchana@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-ORIG-GUID": "Q9Bw7_jyLS4LQmTusfCCZfqdMsVkR5z4", "X-Proofpoint-GUID": "Q9Bw7_jyLS4LQmTusfCCZfqdMsVkR5z4", "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475\n definitions=2021-10-28_04,2021-10-26_01,2020-04-07_01", "Subject": "[dpdk-dev] [PATCH 1/6] common/cnxk: add null auth with IPsec", "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", "Sender": "\"dev\" <dev-bounces@dpdk.org>" }, "content": "From: Anoob Joseph <anoobj@marvell.com>\n\nAdd support for null auth with IPsec operations on cn10k.\n\nSigned-off-by: Anoob Joseph <anoobj@marvell.com>\n---\n drivers/common/cnxk/cnxk_security.c | 18 ++++++++++--------\n 1 file changed, 10 insertions(+), 8 deletions(-)", "diff": "diff --git a/drivers/common/cnxk/cnxk_security.c b/drivers/common/cnxk/cnxk_security.c\nindex ae3baf62ca..30562b46e3 100644\n--- a/drivers/common/cnxk/cnxk_security.c\n+++ b/drivers/common/cnxk/cnxk_security.c\n@@ -116,8 +116,18 @@ ot_ipsec_sa_common_param_fill(union roc_ot_ipsec_sa_word2 *w2,\n \t\t}\n \n \t\tswitch (auth_xfrm->auth.algo) {\n+\t\tcase RTE_CRYPTO_AUTH_NULL:\n+\t\t\tw2->s.auth_type = ROC_IE_OT_SA_AUTH_NULL;\n+\t\t\tbreak;\n \t\tcase RTE_CRYPTO_AUTH_SHA1_HMAC:\n \t\t\tw2->s.auth_type = ROC_IE_OT_SA_AUTH_SHA1;\n+\t\t\tipsec_hmac_opad_ipad_gen(auth_xfrm, hmac_opad_ipad);\n+\n+\t\t\ttmp_key = (uint64_t *)hmac_opad_ipad;\n+\t\t\tfor (i = 0; i < (int)(ROC_CTX_MAX_OPAD_IPAD_LEN /\n+\t\t\t\t\t sizeof(uint64_t));\n+\t\t\t i++)\n+\t\t\t\ttmp_key[i] = rte_be_to_cpu_64(tmp_key[i]);\n \t\t\tbreak;\n \t\tdefault:\n \t\t\treturn -ENOTSUP;\n@@ -125,14 +135,6 @@ ot_ipsec_sa_common_param_fill(union roc_ot_ipsec_sa_word2 *w2,\n \n \t\tkey = cipher_xfrm->cipher.key.data;\n \t\tlength = cipher_xfrm->cipher.key.length;\n-\n-\t\tipsec_hmac_opad_ipad_gen(auth_xfrm, hmac_opad_ipad);\n-\n-\t\ttmp_key = (uint64_t *)hmac_opad_ipad;\n-\t\tfor (i = 0;\n-\t\t i < (int)(ROC_CTX_MAX_OPAD_IPAD_LEN / sizeof(uint64_t));\n-\t\t i++)\n-\t\t\ttmp_key[i] = rte_be_to_cpu_64(tmp_key[i]);\n \t}\n \n \t/* Set encapsulation type */\n", "prefixes": [ "1/6" ] }{ "id": 103192, "url": "