get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 84175,
    "url": "https://patches.dpdk.org/api/patches/84175/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20201114090533.6059-5-david.marchand@redhat.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": "<20201114090533.6059-5-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201114090533.6059-5-david.marchand@redhat.com",
    "date": "2020-11-14T09:05:26",
    "name": "[v3,04/11] examples/l2fwd-crypto: fix build with pkg-config",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "26f79307ad3f42c9c3bc090079af270c97e3e138",
    "submitter": {
        "id": 1173,
        "url": "https://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.com"
    },
    "delegate": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/20201114090533.6059-5-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 13880,
            "url": "https://patches.dpdk.org/api/series/13880/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=13880",
            "date": "2020-11-14T09:05:22",
            "name": "Examples compilation fixes",
            "version": 3,
            "mbox": "https://patches.dpdk.org/series/13880/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/84175/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/84175/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 1683DA09E0;\n\tSat, 14 Nov 2020 10:07:20 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id A48C0C8D6;\n\tSat, 14 Nov 2020 10:06:03 +0100 (CET)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [63.128.21.124])\n by dpdk.org (Postfix) with ESMTP id 7EAAAC8C6\n for <dev@dpdk.org>; Sat, 14 Nov 2020 10:06:02 +0100 (CET)",
            "from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com\n [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id\n us-mta-492-D6_WebRYMnCILPIuROxMpA-1; Sat, 14 Nov 2020 04:05:57 -0500",
            "from smtp.corp.redhat.com (int-mx06.intmail.prod.int.phx2.redhat.com\n [10.5.11.16])\n (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits))\n (No client certificate requested)\n by mimecast-mx01.redhat.com (Postfix) with ESMTPS id A2AF9801FD6;\n Sat, 14 Nov 2020 09:05:55 +0000 (UTC)",
            "from dmarchan.remote.csb (unknown [10.40.192.29])\n by smtp.corp.redhat.com (Postfix) with ESMTP id A57235C22A;\n Sat, 14 Nov 2020 09:05:52 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1605344761;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding:\n in-reply-to:in-reply-to:references:references;\n bh=Tpj3C0cp626XlB6GnKhYiOwDlSvQgr9tWuUtLACaWFs=;\n b=gaPpfBG+3R2RG+vMBX+ExAfkB1VRvHPG0nDWBY/pUalvLigpvw8Lc9IZUNyFK8+I9A2Dr+\n /xetUMYtAI2XRHBtjUjxNeYgk8fufB9Wv0a2YSWI5iwYdISoWGV/+6cP3yRBmgr5njw6WP\n 2z9a6xMhYn7qSDzy7gtdg2FGVWac2Hs=",
        "X-MC-Unique": "D6_WebRYMnCILPIuROxMpA-1",
        "From": "David Marchand <david.marchand@redhat.com>",
        "To": "dev@dpdk.org",
        "Cc": "thomas@monjalon.net, bruce.richardson@intel.com,\n Declan Doherty <declan.doherty@intel.com>,\n Pablo de Lara <pablo.de.lara.guarch@intel.com>,\n Akhil Goyal <akhil.goyal@nxp.com>, Fiona Trahe <fiona.trahe@intel.com>,\n Fan Zhang <roy.fan.zhang@intel.com>",
        "Date": "Sat, 14 Nov 2020 10:05:26 +0100",
        "Message-Id": "<20201114090533.6059-5-david.marchand@redhat.com>",
        "In-Reply-To": "<20201114090533.6059-1-david.marchand@redhat.com>",
        "References": "<20201110151219.4893-1-david.marchand@redhat.com>\n <20201114090533.6059-1-david.marchand@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.16",
        "Authentication-Results": "relay.mimecast.com;\n auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david.marchand@redhat.com",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Transfer-Encoding": "8bit",
        "Content-Type": "text/plain; charset=\"US-ASCII\"",
        "Subject": "[dpdk-dev] [PATCH v3 04/11] examples/l2fwd-crypto: fix build with\n\tpkg-config",
        "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": "Two issues fixed here.\n\nFirst add the experimental flag.\nThen fix a link issue with the crypto scheduler driver:\n/usr/bin/ld: /tmp/cchr7aHA.o: in function `main':\nmain.c:(.text.startup+0x1673): undefined reference to\n`rte_cryptodev_scheduler_workers_get'\ncollect2: error: ld returned 1 exit status\n\nFixes: e3bcb99a5e13 (\"examples/l2fwd-crypto: limit number of sessions\")\nFixes: 261bbff75e34 (\"examples: use separate crypto session mempools\")\n\nSigned-off-by: David Marchand <david.marchand@redhat.com>\n---\nChangelog since v2:\n- reworked config check,\n\n---\n examples/l2fwd-crypto/Makefile | 6 ++++++\n 1 file changed, 6 insertions(+)",
    "diff": "diff --git a/examples/l2fwd-crypto/Makefile b/examples/l2fwd-crypto/Makefile\nindex 4953ee2b95..7731eccd03 100644\n--- a/examples/l2fwd-crypto/Makefile\n+++ b/examples/l2fwd-crypto/Makefile\n@@ -26,6 +26,12 @@ CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n LDFLAGS_STATIC = $(shell $(PKGCONF) --static --libs libdpdk)\n \n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n+CONFIG_DEFINES = $(shell $(CC) $(CFLAGS) -dM -E - < /dev/null)\n+ifneq ($(findstring RTE_CRYPTO_SCHEDULER,$(CONFIG_DEFINES)),)\n+LDFLAGS_SHARED += -lrte_crypto_scheduler\n+endif\n+\n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\n \n",
    "prefixes": [
        "v3",
        "04/11"
    ]
}