get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 105234,
    "url": "http://patches.dpdk.org/api/patches/105234/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20211217124451.7464-1-ndabilpuram@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": "<20211217124451.7464-1-ndabilpuram@marvell.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20211217124451.7464-1-ndabilpuram@marvell.com",
    "date": "2021-12-17T12:44:51",
    "name": "examples/ipsec-secgw: fix default flow rule creation",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "31539c26ed9c0c4ec5e575e8102bbc86acd82d1e",
    "submitter": {
        "id": 1202,
        "url": "http://patches.dpdk.org/api/people/1202/?format=api",
        "name": "Nithin Dabilpuram",
        "email": "ndabilpuram@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/20211217124451.7464-1-ndabilpuram@marvell.com/mbox/",
    "series": [
        {
            "id": 20968,
            "url": "http://patches.dpdk.org/api/series/20968/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=20968",
            "date": "2021-12-17T12:44:51",
            "name": "examples/ipsec-secgw: fix default flow rule creation",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/20968/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/105234/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/105234/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 BDD12A04A2;\n\tFri, 17 Dec 2021 13:45:08 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 434044013F;\n\tFri, 17 Dec 2021 13:45:08 +0100 (CET)",
            "from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com\n [67.231.156.173])\n by mails.dpdk.org (Postfix) with ESMTP id 43A7240040;\n Fri, 17 Dec 2021 13:45:07 +0100 (CET)",
            "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 ESMTP id\n 1BH3nQVQ015000;\n Fri, 17 Dec 2021 04:45:06 -0800",
            "from dc5-exch02.marvell.com ([199.233.59.182])\n by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3d0b373emw-4\n (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT);\n Fri, 17 Dec 2021 04:45:06 -0800",
            "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 Fri, 17 Dec 2021 04:45:04 -0800",
            "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; Fri, 17 Dec 2021 04:45:04 -0800",
            "from hyd1588t430.marvell.com (unknown [10.29.52.204])\n by maili.marvell.com (Postfix) with ESMTP id 370523F70A7;\n Fri, 17 Dec 2021 04:45:01 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com;\n h=from : to : cc :\n subject : date : message-id : mime-version : content-type; s=pfpt0220;\n bh=UKiMWB7cMicIegMqpQj/dTs8O6xMoNtG750x0ixlG9Y=;\n b=PREEzZSDoG4iw66VZji+vRyJayJ3WJswEiYEbiXRGdo22EbsP4Y3N74AvtWtAWCKlsbx\n s9Gfy2DlYp/wQJNXOySxEExdWaDaNbvesUr3xta+TZK/9lPhPsK44zDdBHtFGuUdDT9I\n hzvI2/tQxYUCq6Nln0TmksaKjHahGSRHX2vxPFs/dQLcHrW2uCnRIA6jwkxfqArrgLfZ\n uHad8Jau0XkdUkc9TgIg6RDydDacULRxSZo/yOBZeP/psUA15RqeN4qld1NNiHx+Z1WM\n R1pMMmB5P83pjMrowZ4ob+0X7Lb8sKrgdHs6ZBGhXpTHTO9/FAz/erZn894tjEMVaUTq 5Q==",
        "From": "Nithin Dabilpuram <ndabilpuram@marvell.com>",
        "To": "Radu Nicolau <radu.nicolau@intel.com>, Akhil Goyal <gakhil@marvell.com>",
        "CC": "<dev@dpdk.org>, <jerinj@marvell.com>, Nithin Dabilpuram\n <ndabilpuram@marvell.com>, <adwivedi@marvell.com>, <stable@dpdk.org>",
        "Subject": "[PATCH] examples/ipsec-secgw: fix default flow rule creation",
        "Date": "Fri, 17 Dec 2021 18:14:51 +0530",
        "Message-ID": "<20211217124451.7464-1-ndabilpuram@marvell.com>",
        "X-Mailer": "git-send-email 2.8.4",
        "MIME-Version": "1.0",
        "Content-Type": "text/plain",
        "X-Proofpoint-ORIG-GUID": "15UVMwjXVp68WXmDZEUjc7oN2uGOmlwE",
        "X-Proofpoint-GUID": "15UVMwjXVp68WXmDZEUjc7oN2uGOmlwE",
        "X-Proofpoint-Virus-Version": "vendor=baseguard\n engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.11.62.513\n definitions=2021-12-17_04,2021-12-16_01,2021-12-02_01",
        "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": "Fix default flow rule to create after ethdev start to align\nwit RTE flow spec.\n\nFixes: 513f192b5fd4 (\"examples/ipsec-secgw: add default flow for inline Rx\")\nCc: adwivedi@marvell.com\nCc: stable@dpdk.org\n\nSigned-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com>\n---\n examples/ipsec-secgw/ipsec-secgw.c | 7 ++++---\n 1 file changed, 4 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/examples/ipsec-secgw/ipsec-secgw.c b/examples/ipsec-secgw/ipsec-secgw.c\nindex bf3dbf6..8e2aa46 100644\n--- a/examples/ipsec-secgw/ipsec-secgw.c\n+++ b/examples/ipsec-secgw/ipsec-secgw.c\n@@ -3379,13 +3379,14 @@ main(int32_t argc, char **argv)\n \t\tif ((enabled_port_mask & (1 << portid)) == 0)\n \t\t\tcontinue;\n \n-\t\t/* Create flow before starting the device */\n-\t\tcreate_default_ipsec_flow(portid, req_rx_offloads[portid]);\n-\n \t\tret = rte_eth_dev_start(portid);\n \t\tif (ret < 0)\n \t\t\trte_exit(EXIT_FAILURE, \"rte_eth_dev_start: \"\n \t\t\t\t\t\"err=%d, port=%d\\n\", ret, portid);\n+\n+\t\t/* Create flow after starting the device */\n+\t\tcreate_default_ipsec_flow(portid, req_rx_offloads[portid]);\n+\n \t\t/*\n \t\t * If enabled, put device in promiscuous mode.\n \t\t * This allows IO forwarding mode to forward packets\n",
    "prefixes": []
}