Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/74072/?format=api
http://patchwork.dpdk.org/api/patches/74072/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20200715092703.17936-3-ktejasree@marvell.com/", "project": { "id": 1, "url": "http://patchwork.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": "<20200715092703.17936-3-ktejasree@marvell.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20200715092703.17936-3-ktejasree@marvell.com", "date": "2020-07-15T09:26:56", "name": "[v2,2/9] net/octeontx2: move otx2_sec_session struct to otx2_security.h", "commit_ref": null, "pull_url": null, "state": "changes-requested", "archived": true, "hash": "68768a55ef7a5cb746a654187aceb1f99649058c", "submitter": { "id": 1789, "url": "http://patchwork.dpdk.org/api/people/1789/?format=api", "name": "Tejasree Kondoj", "email": "ktejasree@marvell.com" }, "delegate": { "id": 6690, "url": "http://patchwork.dpdk.org/api/users/6690/?format=api", "username": "akhil", "first_name": "akhil", "last_name": "goyal", "email": "gakhil@marvell.com" }, "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20200715092703.17936-3-ktejasree@marvell.com/mbox/", "series": [ { "id": 11041, "url": "http://patchwork.dpdk.org/api/series/11041/?format=api", "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=11041", "date": "2020-07-15T09:26:54", "name": "add OCTEON TX2 lookaside IPsec support", "version": 2, "mbox": "http://patchwork.dpdk.org/series/11041/mbox/" } ], "comments": "http://patchwork.dpdk.org/api/patches/74072/comments/", "check": "success", "checks": "http://patchwork.dpdk.org/api/patches/74072/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 dpdk.org (dpdk.org [92.243.14.124])\n\tby inbox.dpdk.org (Postfix) with ESMTP id 558F4A0540;\n\tWed, 15 Jul 2020 10:33:57 +0200 (CEST)", "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 718201C113;\n\tWed, 15 Jul 2020 10:33:51 +0200 (CEST)", "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id CE2121C113\n for <dev@dpdk.org>; Wed, 15 Jul 2020 10:33:49 +0200 (CEST)", "from pps.filterd (m0045851.ppops.net [127.0.0.1])\n by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id\n 06F8UL2Q028870; Wed, 15 Jul 2020 01:33:49 -0700", "from sc-exch01.marvell.com ([199.233.58.181])\n by mx0b-0016f401.pphosted.com with ESMTP id 328mmhsv5h-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Wed, 15 Jul 2020 01:33:49 -0700", "from DC5-EXCH02.marvell.com (10.69.176.39) by SC-EXCH01.marvell.com\n (10.93.176.81) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Wed, 15 Jul 2020 01:33:47 -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.2 via Frontend\n Transport; Wed, 15 Jul 2020 01:33:47 -0700", "from hyd1554T5810.caveonetworks.com.com (unknown [10.29.57.11])\n by maili.marvell.com (Postfix) with ESMTP id CB5753F703F;\n Wed, 15 Jul 2020 01:33:44 -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=pfpt0818;\n bh=O/Ea4Y+EKdyttE091dvexh/gnhoIxDM9v8a9JSw8d3w=;\n b=p20Upu5Ao6FR9KmzA3ukaaomPkdOFk4FzF7P1ZXY91LiUbc0aY6ouQ274GGn2LTn06k6\n by9qFX7ri1F3l55aG/f7WKLQZbcdC7whpUTSpeR/mrAS/kjvco3JyV5diRsNZsEH2DkV\n kLFoyKkqlPUm+CyXGZX+uyVnj3s5Qg1eJ4VPS8dsqHemuQQbTNdZYWwL7XYIhdgS0XlA\n BGnJUiY6RP97vgDEzT7fBoNkUgnBMLEeyM6MXSKfzrjI3z+WupbgU8AxL1UkJ7AfJfRe\n xiK2bhBfiYMu6S/8cOyqY52MaYGvac6Ozj6wz3+lFkG8M1OaCjVCpxHjZWn6Dmup1k+D yA==", "From": "Tejasree Kondoj <ktejasree@marvell.com>", "To": "Akhil Goyal <akhil.goyal@nxp.com>, Radu Nicolau <radu.nicolau@intel.com>", "CC": "Tejasree Kondoj <ktejasree@marvell.com>, Narayana Prasad\n <pathreya@marvell.com>, Anoob Joseph <anoobj@marvell.com>, Vamsi Attunuru\n <vattunuru@marvell.com>, <dev@dpdk.org>", "Date": "Wed, 15 Jul 2020 14:56:56 +0530", "Message-ID": "<20200715092703.17936-3-ktejasree@marvell.com>", "X-Mailer": "git-send-email 2.27.0", "In-Reply-To": "<20200715092703.17936-1-ktejasree@marvell.com>", "References": "<20200715092703.17936-1-ktejasree@marvell.com>", "MIME-Version": "1.0", "Content-Transfer-Encoding": "8bit", "Content-Type": "text/plain", "X-Proofpoint-Virus-Version": "vendor=fsecure engine=2.50.10434:6.0.235, 18.0.687\n definitions=2020-07-15_06:2020-07-15,\n 2020-07-15 signatures=0", "Subject": "[dpdk-dev] [PATCH v2 2/9] net/octeontx2: move otx2_sec_session\n\tstruct to otx2_security.h", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "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": "This patch moves otx2_sec_session structure to otx2_security.h\nto make it common for inline and lookaside protocol.\n\nSigned-off-by: Tejasree Kondoj <ktejasree@marvell.com>\n---\n drivers/crypto/octeontx2/otx2_security.h | 20 ++++++++++++++++++++\n drivers/net/octeontx2/otx2_ethdev_sec.c | 1 +\n drivers/net/octeontx2/otx2_ethdev_sec.h | 10 ----------\n drivers/net/octeontx2/otx2_ethdev_sec_tx.h | 1 +\n 4 files changed, 22 insertions(+), 10 deletions(-)\n create mode 100644 drivers/crypto/octeontx2/otx2_security.h", "diff": "diff --git a/drivers/crypto/octeontx2/otx2_security.h b/drivers/crypto/octeontx2/otx2_security.h\nnew file mode 100644\nindex 0000000000..9790c709d6\n--- /dev/null\n+++ b/drivers/crypto/octeontx2/otx2_security.h\n@@ -0,0 +1,20 @@\n+/* SPDX-License-Identifier: BSD-3-Clause\n+ * Copyright (C) 2020 Marvell International Ltd.\n+ */\n+\n+#ifndef __OTX2_SECURITY_H__\n+#define __OTX2_SECURITY_H__\n+\n+#include \"otx2_ethdev_sec.h\"\n+\n+union otx2_sec_session_ipsec {\n+\tstruct otx2_sec_session_ipsec_ip ip;\n+};\n+\n+struct otx2_sec_session {\n+\tunion otx2_sec_session_ipsec ipsec;\n+\tvoid *userdata;\n+\t/**< Userdata registered by the application */\n+} __rte_cache_aligned;\n+\n+#endif /* __OTX2_SECURITY_H__ */\ndiff --git a/drivers/net/octeontx2/otx2_ethdev_sec.c b/drivers/net/octeontx2/otx2_ethdev_sec.c\nindex 5f6140f70b..c2ad32cf0c 100644\n--- a/drivers/net/octeontx2/otx2_ethdev_sec.c\n+++ b/drivers/net/octeontx2/otx2_ethdev_sec.c\n@@ -19,6 +19,7 @@\n #include \"otx2_ethdev_sec.h\"\n #include \"otx2_ipsec_fp.h\"\n #include \"otx2_sec_idev.h\"\n+#include \"otx2_security.h\"\n \n #define AH_HDR_LEN\t12\n #define AES_GCM_IV_LEN\t8\ndiff --git a/drivers/net/octeontx2/otx2_ethdev_sec.h b/drivers/net/octeontx2/otx2_ethdev_sec.h\nindex e24358a05a..22025d0d0c 100644\n--- a/drivers/net/octeontx2/otx2_ethdev_sec.h\n+++ b/drivers/net/octeontx2/otx2_ethdev_sec.h\n@@ -116,16 +116,6 @@ struct otx2_sec_session_ipsec_ip {\n \tstruct otx2_cpt_qp *qp;\n };\n \n-struct otx2_sec_session_ipsec {\n-\tstruct otx2_sec_session_ipsec_ip ip;\n-};\n-\n-struct otx2_sec_session {\n-\tstruct otx2_sec_session_ipsec ipsec;\n-\tvoid *userdata;\n-\t/**< Userdata registered by the application */\n-} __rte_cache_aligned;\n-\n int otx2_eth_sec_ctx_create(struct rte_eth_dev *eth_dev);\n \n void otx2_eth_sec_ctx_destroy(struct rte_eth_dev *eth_dev);\ndiff --git a/drivers/net/octeontx2/otx2_ethdev_sec_tx.h b/drivers/net/octeontx2/otx2_ethdev_sec_tx.h\nindex 2e35a8c773..f8130ca624 100644\n--- a/drivers/net/octeontx2/otx2_ethdev_sec_tx.h\n+++ b/drivers/net/octeontx2/otx2_ethdev_sec_tx.h\n@@ -9,6 +9,7 @@\n #include <rte_mbuf.h>\n \n #include \"otx2_ethdev_sec.h\"\n+#include \"otx2_security.h\"\n \n struct otx2_ipsec_fp_out_hdr {\n \tuint32_t ip_id;\n", "prefixes": [ "v2", "2/9" ] }{ "id": 74072, "url": "