get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 134842,
    "url": "https://patches.dpdk.org/api/patches/134842/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20231205021330.260017-15-stephen@networkplumber.org/",
    "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": "<20231205021330.260017-15-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231205021330.260017-15-stephen@networkplumber.org",
    "date": "2023-12-05T02:09:52",
    "name": "[14/18] examples/ipsec-secgw: replace RTE_LOGTYPE_PORT",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "a13c4ec7ba6c2482bf2f728f0bb9774eb272ffe8",
    "submitter": {
        "id": 27,
        "url": "https://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 24651,
        "url": "https://patches.dpdk.org/api/users/24651/?format=api",
        "username": "dmarchand",
        "first_name": "David",
        "last_name": "Marchand",
        "email": "david.marchand@redhat.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20231205021330.260017-15-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 30446,
            "url": "https://patches.dpdk.org/api/series/30446/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=30446",
            "date": "2023-12-05T02:09:38",
            "name": "Convert static log types in libraries to dynamic",
            "version": 1,
            "mbox": "https://patches.dpdk.org/series/30446/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/134842/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/134842/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 4944C433FD;\n\tTue,  5 Dec 2023 03:15:14 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 3228042DEE;\n\tTue,  5 Dec 2023 03:14:07 +0100 (CET)",
            "from mail-oi1-f181.google.com (mail-oi1-f181.google.com\n [209.85.167.181])\n by mails.dpdk.org (Postfix) with ESMTP id 8D26442DCE\n for <dev@dpdk.org>; Tue,  5 Dec 2023 03:14:01 +0100 (CET)",
            "by mail-oi1-f181.google.com with SMTP id\n 5614622812f47-3b8b6acc3e7so1408542b6e.1\n for <dev@dpdk.org>; Mon, 04 Dec 2023 18:14:01 -0800 (PST)",
            "from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141])\n by smtp.gmail.com with ESMTPSA id\n p26-20020a62b81a000000b0069346777241sm355958pfe.97.2023.12.04.18.14.00\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Mon, 04 Dec 2023 18:14:00 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1701742441;\n x=1702347241; darn=dpdk.org;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:from:to:cc:subject:date\n :message-id:reply-to;\n bh=qFaMnJXQij33jz47oMwRM0yVIwx6CJNiqZDwzlQioIo=;\n b=RT+0LduSJBGUmjOQWHBJcOcjwuubTtR95cm1oJ5M+SLrTesMTVLGAYGl2Qvy7Lxylh\n dQvS9r/zcofXJtzv4cIC24PiR0coaVtV40QO+jfBNOhlPYTkFeixR3sc2/G2O5BNoxQZ\n 5hGZJemAWkNkQa9ZPNrMOpgG8zG7+BHUKJtND4SlKgbVdgn76opK5RvE7yR11+MNiagu\n QsgkVJJOJ6hHKrx7VwGBCwsN8sGxQFsOcINcVgS0ZikHR0Nn4sNoy5EjYL3r2jbJd0pe\n O5Qft/89dHywp/eoPhwQlnbQajwqaktR5c8qoVxlZVgbasrVO05OfYmCubcHmjmvJh5G\n Oh/w==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1701742441; x=1702347241;\n h=content-transfer-encoding:mime-version:references:in-reply-to\n :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc\n :subject:date:message-id:reply-to;\n bh=qFaMnJXQij33jz47oMwRM0yVIwx6CJNiqZDwzlQioIo=;\n b=vBXzXCl+tE7m0qMRwt9YhbSz53aDTd/6Lx6/kPn+QxnYRAPCBF3XJeYdqWaoy4e50i\n b4xr7p3ic95EbL40k4MSQxIFoSdP51Iw+zoCxhmW2/o2gv2dq57+LcWFgnDKyKaG4rkj\n kaYzySw7yit2BzCKhEbzfjDTMj9I33cFJSWFdXqFmwiiCfDTUGLohXIx8/8dmIG0Vxse\n Mkj773FnS4eYgGYvNzaOrRtQq/p6F6JXpPMmUXVmbAKZ6w6cML8IUMirDoeCjKUBgLiN\n Q9Gyynr9Lf9xhwcah4QiIwlTUt1mi/orIqGoFK/Qh5RX1VlLBOrR+K5Xn7oyML5aujbg\n zNXw==",
        "X-Gm-Message-State": "AOJu0YwWSxvYqB4U87pYt8XJa5YfcDWam73TyTTPCGpjs15fmXxI85yC\n 941GWnI5waoX7kHsnTNQ0J5JeomNJt+owDtP1iM=",
        "X-Google-Smtp-Source": "\n AGHT+IE8d7EHHF7pKiwcTDjNgGw/IfzTcN+qVpnV4BzvV2LVLmrLP2UfRmuBn3ak1kOSYJeFGcOa/Q==",
        "X-Received": "by 2002:a05:6808:1817:b0:3b8:b063:5d5e with SMTP id\n bh23-20020a056808181700b003b8b0635d5emr6162316oib.69.1701742440945;\n Mon, 04 Dec 2023 18:14:00 -0800 (PST)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Akhil Goyal <gakhil@marvell.com>, Radu Nicolau <radu.nicolau@intel.com>,\n Aviad Yehezkel <aviadye@mellanox.com>,\n Boris Pismenny <borisp@mellanox.com>,\n Declan Doherty <declan.doherty@intel.com>",
        "Subject": "[PATCH 14/18] examples/ipsec-secgw: replace RTE_LOGTYPE_PORT",
        "Date": "Mon,  4 Dec 2023 18:09:52 -0800",
        "Message-ID": "<20231205021330.260017-15-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.42.0",
        "In-Reply-To": "<20231205021330.260017-1-stephen@networkplumber.org>",
        "References": "<20230329234049.11071-1-stephen@networkplumber.org>\n <20231205021330.260017-1-stephen@networkplumber.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "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": "Looks like some code got copy/paste in to the IPSEC gateway\nexample from another place. Shouldn't be using RTE_LOGTYPE_PORT\nhere.\n\nFixes: ec17993a145a (\"examples/ipsec-secgw: support security offload\")\nAcked-by: Akhil Goyal <gakhil@marvell.com>\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\n---\n examples/ipsec-secgw/sa.c | 6 +++---\n 1 file changed, 3 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/examples/ipsec-secgw/sa.c b/examples/ipsec-secgw/sa.c\nindex 6ae0e49fd7f8..c4bac17cd77c 100644\n--- a/examples/ipsec-secgw/sa.c\n+++ b/examples/ipsec-secgw/sa.c\n@@ -1128,7 +1128,7 @@ check_eth_dev_caps(uint16_t portid, uint32_t inbound, uint32_t tso)\n \tif (inbound) {\n \t\tif ((dev_info.rx_offload_capa &\n \t\t\t\tRTE_ETH_RX_OFFLOAD_SECURITY) == 0) {\n-\t\t\tRTE_LOG(WARNING, PORT,\n+\t\t\tRTE_LOG(WARNING, IPSEC,\n \t\t\t\t\"hardware RX IPSec offload is not supported\\n\");\n \t\t\treturn -EINVAL;\n \t\t}\n@@ -1136,13 +1136,13 @@ check_eth_dev_caps(uint16_t portid, uint32_t inbound, uint32_t tso)\n \t} else { /* outbound */\n \t\tif ((dev_info.tx_offload_capa &\n \t\t\t\tRTE_ETH_TX_OFFLOAD_SECURITY) == 0) {\n-\t\t\tRTE_LOG(WARNING, PORT,\n+\t\t\tRTE_LOG(WARNING, IPSEC,\n \t\t\t\t\"hardware TX IPSec offload is not supported\\n\");\n \t\t\treturn -EINVAL;\n \t\t}\n \t\tif (tso && (dev_info.tx_offload_capa &\n \t\t\t\tRTE_ETH_TX_OFFLOAD_TCP_TSO) == 0) {\n-\t\t\tRTE_LOG(WARNING, PORT,\n+\t\t\tRTE_LOG(WARNING, IPSEC,\n \t\t\t\t\"hardware TCP TSO offload is not supported\\n\");\n \t\t\treturn -EINVAL;\n \t\t}\n",
    "prefixes": [
        "14/18"
    ]
}