get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/74182/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 74182,
    "url": "http://patches.dpdk.org/api/patches/74182/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20200716083931.29092-3-ktejasree@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": "<20200716083931.29092-3-ktejasree@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20200716083931.29092-3-ktejasree@marvell.com",
    "date": "2020-07-16T08:39:25",
    "name": "[v3,2/8] net/octeontx2: move otx2_sec_session struct to otx2_security.h",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "68768a55ef7a5cb746a654187aceb1f99649058c",
    "submitter": {
        "id": 1789,
        "url": "http://patches.dpdk.org/api/people/1789/?format=api",
        "name": "Tejasree Kondoj",
        "email": "ktejasree@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/20200716083931.29092-3-ktejasree@marvell.com/mbox/",
    "series": [
        {
            "id": 11079,
            "url": "http://patches.dpdk.org/api/series/11079/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=11079",
            "date": "2020-07-16T08:39:23",
            "name": "add OCTEON TX2 lookaside IPsec support",
            "version": 3,
            "mbox": "http://patches.dpdk.org/series/11079/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/74182/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/74182/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 07319A0546;\n\tThu, 16 Jul 2020 09:45:31 +0200 (CEST)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 923631BED7;\n\tThu, 16 Jul 2020 09:45:30 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id 2C1394F9A\n for <dev@dpdk.org>; Thu, 16 Jul 2020 09:45:29 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id\n 06G7j0An025173; Thu, 16 Jul 2020 00:45:28 -0700",
            "from sc-exch03.marvell.com ([199.233.58.183])\n by mx0a-0016f401.pphosted.com with ESMTP id 327asnnkwc-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Thu, 16 Jul 2020 00:45:28 -0700",
            "from DC5-EXCH01.marvell.com (10.69.176.38) by SC-EXCH03.marvell.com\n (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Thu, 16 Jul 2020 00:45:27 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com\n (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2;\n Thu, 16 Jul 2020 00:45:26 -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; Thu, 16 Jul 2020 00:45:26 -0700",
            "from hyd1554T5810.caveonetworks.com.com (unknown [10.29.57.11])\n by maili.marvell.com (Postfix) with ESMTP id 320D43F7040;\n Thu, 16 Jul 2020 00:45:23 -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=CXw8P5mUDcyOV84XtVZJOKHEd2g7LM+N6TmKCCj6qguedla0U0EB2nL9bX2JL04+g0ya\n URBaVzChuFOk9z6ZxeGUK7+OOONObuEo0xCbbK7+6BtC2ccdsqzgF3lA1Gey50S3iYMi\n VPd8uGXwQn3kTm1WRnDnjd1NuKH0VAmhBa2evfZpDfJu+kn3B1QufxVBJX+eN72GxDks\n h1YdYszCXnn3wCAylgWsA27mKK/cN19VvbohUYP+UMvPNH3Hd0eJdo/SLPD1zHCQE3HH\n guvDecMxzCozQa/WBdDfxCRHC87BaRa/BIFw8jTsfa/ZwDRX7YAqX1MfCkknJlsns0sv mQ==",
        "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": "Thu, 16 Jul 2020 14:09:25 +0530",
        "Message-ID": "<20200716083931.29092-3-ktejasree@marvell.com>",
        "X-Mailer": "git-send-email 2.27.0",
        "In-Reply-To": "<20200716083931.29092-1-ktejasree@marvell.com>",
        "References": "<20200716083931.29092-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-16_04:2020-07-16,\n 2020-07-16 signatures=0",
        "Subject": "[dpdk-dev] [PATCH v3 2/8] 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": [
        "v3",
        "2/8"
    ]
}