get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 99897,
    "url": "https://patches.dpdk.org/api/patches/99897/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/1632826799-454-7-git-send-email-anoobj@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": "<1632826799-454-7-git-send-email-anoobj@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1632826799-454-7-git-send-email-anoobj@marvell.com",
    "date": "2021-09-28T10:59:59",
    "name": "[v4,6/6] examples/ipsec-secgw: clear soft expiry configuration",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "b055067556c36c37f6618ec4bff8bdc569d996e0",
    "submitter": {
        "id": 1205,
        "url": "https://patches.dpdk.org/api/people/1205/?format=api",
        "name": "Anoob Joseph",
        "email": "anoobj@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/1632826799-454-7-git-send-email-anoobj@marvell.com/mbox/",
    "series": [
        {
            "id": 19223,
            "url": "https://patches.dpdk.org/api/series/19223/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=19223",
            "date": "2021-09-28T10:59:53",
            "name": "Add SA lifetime in security",
            "version": 4,
            "mbox": "https://patches.dpdk.org/series/19223/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/99897/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/99897/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 EF3C7A0032;\n\tTue, 28 Sep 2021 13:00:53 +0200 (CEST)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 29EF141103;\n\tTue, 28 Sep 2021 13:00:50 +0200 (CEST)",
            "from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com\n [67.231.148.174])\n by mails.dpdk.org (Postfix) with ESMTP id 90164410F2\n for <dev@dpdk.org>; Tue, 28 Sep 2021 13:00:48 +0200 (CEST)",
            "from pps.filterd (m0045849.ppops.net [127.0.0.1])\n by mx0a-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id\n 18SAIJHG020814;\n Tue, 28 Sep 2021 04:00:47 -0700",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0a-0016f401.pphosted.com with ESMTP id 3bc16204fk-1\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Tue, 28 Sep 2021 04:00:47 -0700",
            "from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com\n (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.18;\n Tue, 28 Sep 2021 04:00:46 -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.18 via Frontend\n Transport; Tue, 28 Sep 2021 04:00:46 -0700",
            "from HY-LT1002.marvell.com (HY-LT1002.marvell.com [10.28.176.218])\n by maili.marvell.com (Postfix) with ESMTP id 3D7113F7098;\n Tue, 28 Sep 2021 04:00:41 -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=IrYuK6YiLd+anmqUqQGaXMhspE2jzGhUCI4FjoF5hwE=;\n b=LTaXWTx6yq7rPhbLVKXce5qT9bsZh+9hDbw+l0il0x+1vSUDQ1nGwQctVw4d1hFnDuGb\n HlhCa5eMiLtOY7WDkZRQIWQk+KFYBoEvvpa5bq5qmtLJ/k/kj4aJdowua7DfN78JdNG0\n vSBxbne3JIO+Bh3O5nfsJRXnGT9UKzWhvL4q6qdXxQri1mLoDo0MC0Q0cJZSHA5htkTp\n Q1QxnAICPteCWx+o9fsFdI1mtk3nHQCyqVe/VYZSWfLZcx5UlCh6MBV/TQVOEkev155J\n lCkmdDKOOQnuNpVZ7VEEuNoBj0jmMjN4dzmQ2bg0pKuLEmbE3eIqJaZgb5NgKiDaVW6Z JA==",
        "From": "Anoob Joseph <anoobj@marvell.com>",
        "To": "Akhil Goyal <gakhil@marvell.com>, Declan Doherty\n <declan.doherty@intel.com>, Fan Zhang <roy.fan.zhang@intel.com>,\n \"Konstantin Ananyev\" <konstantin.ananyev@intel.com>",
        "CC": "Anoob Joseph <anoobj@marvell.com>, Jerin Jacob <jerinj@marvell.com>,\n Archana Muniganti <marchana@marvell.com>, Tejasree Kondoj\n <ktejasree@marvell.com>, Hemant Agrawal <hemant.agrawal@nxp.com>, \"Radu\n Nicolau\" <radu.nicolau@intel.com>,\n Ciara Power <ciara.power@intel.com>, Gagandeep Singh <g.singh@nxp.com>,\n <dev@dpdk.org>",
        "Date": "Tue, 28 Sep 2021 16:29:59 +0530",
        "Message-ID": "<1632826799-454-7-git-send-email-anoobj@marvell.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "In-Reply-To": "<1632826799-454-1-git-send-email-anoobj@marvell.com>",
        "References": "<1632823662-384-1-git-send-email-anoobj@marvell.com>\n <1632826799-454-1-git-send-email-anoobj@marvell.com>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "Z0NqWLGLDU9JfPyBJ76X5a6bG6supNXt",
        "X-Proofpoint-GUID": "Z0NqWLGLDU9JfPyBJ76X5a6bG6supNXt",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.182.1,Aquarius:18.0.790,Hydra:6.0.391,FMLib:17.0.607.475\n definitions=2021-09-28_05,2021-09-28_01,2020-04-07_01",
        "Subject": "[dpdk-dev] [PATCH v4 6/6] examples/ipsec-secgw: clear soft expiry\n configuration",
        "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": "Soft expiry is not a mandatory IPsec feature. It is verified separately\nwith IPsec unit tests. So configuration of the same is not required.\nAlso, soft expiry tracking can cause perf degradation with some PMDs.\nSince a separate UT is available and the same setting in ipsec-secgw is\nnot verifying the functionality, remove the same by clearing life\nconfiguration.\n\nSigned-off-by: Anoob Joseph <anoobj@marvell.com>\n\n---\n examples/ipsec-secgw/ipsec.c | 1 -\n examples/ipsec-secgw/ipsec.h | 2 --\n 2 files changed, 3 deletions(-)",
    "diff": "diff --git a/examples/ipsec-secgw/ipsec.c b/examples/ipsec-secgw/ipsec.c\nindex 4868294..6817139 100644\n--- a/examples/ipsec-secgw/ipsec.c\n+++ b/examples/ipsec-secgw/ipsec.c\n@@ -49,7 +49,6 @@ set_ipsec_conf(struct ipsec_sa *sa, struct rte_security_ipsec_xform *ipsec)\n \t\t}\n \t\t/* TODO support for Transport */\n \t}\n-\tipsec->life.packets_soft_limit = IPSEC_OFFLOAD_PKTS_SOFTLIMIT;\n \tipsec->replay_win_sz = app_sa_prm.window_size;\n \tipsec->options.esn = app_sa_prm.enable_esn;\n \tipsec->options.udp_encap = sa->udp_encap;\ndiff --git a/examples/ipsec-secgw/ipsec.h b/examples/ipsec-secgw/ipsec.h\nindex 90c81c1..8405c48 100644\n--- a/examples/ipsec-secgw/ipsec.h\n+++ b/examples/ipsec-secgw/ipsec.h\n@@ -23,8 +23,6 @@\n \n #define MAX_DIGEST_SIZE 32 /* Bytes -- 256 bits */\n \n-#define IPSEC_OFFLOAD_PKTS_SOFTLIMIT 0xffffff00\n-\n #define IV_OFFSET\t\t(sizeof(struct rte_crypto_op) + \\\n \t\t\t\tsizeof(struct rte_crypto_sym_op))\n \n",
    "prefixes": [
        "v4",
        "6/6"
    ]
}