get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 83896,
    "url": "http://patches.dpdk.org/api/patches/83896/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20201110151219.4893-5-david.marchand@redhat.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": "<20201110151219.4893-5-david.marchand@redhat.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20201110151219.4893-5-david.marchand@redhat.com",
    "date": "2020-11-10T15:12:13",
    "name": "[04/10] examples/l2fwd-crypto: fix build with pkg-config",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "cd06975f06ec9495b201386aa49885587336a09f",
    "submitter": {
        "id": 1173,
        "url": "http://patches.dpdk.org/api/people/1173/?format=api",
        "name": "David Marchand",
        "email": "david.marchand@redhat.com"
    },
    "delegate": {
        "id": 1,
        "url": "http://patches.dpdk.org/api/users/1/?format=api",
        "username": "tmonjalo",
        "first_name": "Thomas",
        "last_name": "Monjalon",
        "email": "thomas@monjalon.net"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20201110151219.4893-5-david.marchand@redhat.com/mbox/",
    "series": [
        {
            "id": 13775,
            "url": "http://patches.dpdk.org/api/series/13775/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=13775",
            "date": "2020-11-10T15:12:09",
            "name": "Examples compilation fixes",
            "version": 1,
            "mbox": "http://patches.dpdk.org/series/13775/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/83896/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/83896/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 97DE0A04DB;\n\tTue, 10 Nov 2020 16:14:15 +0100 (CET)",
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 564E558C4;\n\tTue, 10 Nov 2020 16:12:51 +0100 (CET)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [216.205.24.124])\n by dpdk.org (Postfix) with ESMTP id 3914A5AB9\n for <dev@dpdk.org>; Tue, 10 Nov 2020 16:12:50 +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-323-D2ZqKNioP4KnJsV_5-Qokg-1; Tue, 10 Nov 2020 10:12:44 -0500",
            "from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com\n [10.5.11.13])\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 D71626D24E;\n Tue, 10 Nov 2020 15:12:42 +0000 (UTC)",
            "from dmarchan.remote.csb (unknown [10.40.193.78])\n by smtp.corp.redhat.com (Postfix) with ESMTP id BF3126EF43;\n Tue, 10 Nov 2020 15:12:39 +0000 (UTC)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1605021168;\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=VaL2kNwhMQWkFdWfL2lrN+RJSNnG4yj7e52mTNHXhkY=;\n b=Cral+tLFSc31S74e4xKlOeoFWyeuXup9JWQN5UVbG5mVwHyXcRyDDb5KVGqzQzLeyor/vL\n HhScwmm3lpXRTMhpuUhfZ/4+EGUacHNMuWavLXpbH/0JyPnH+1ZKBzojXrNe0uYkqyvpXs\n +QQu8Q9krIDU28xA3DRU3W6uYmyGZwc=",
        "X-MC-Unique": "D2ZqKNioP4KnJsV_5-Qokg-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": "Tue, 10 Nov 2020 16:12:13 +0100",
        "Message-Id": "<20201110151219.4893-5-david.marchand@redhat.com>",
        "In-Reply-To": "<20201110151219.4893-1-david.marchand@redhat.com>",
        "References": "<20201110151219.4893-1-david.marchand@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 2.79 on 10.5.11.13",
        "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 04/10] 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---\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..211a076699 100644\n--- a/examples/l2fwd-crypto/Makefile\n+++ b/examples/l2fwd-crypto/Makefile\n@@ -24,8 +24,14 @@ PKGCONF ?= pkg-config\n PC_FILE := $(shell $(PKGCONF) --path libdpdk 2>/dev/null)\n CFLAGS += -O3 $(shell $(PKGCONF) --cflags libdpdk)\n LDFLAGS_SHARED = $(shell $(PKGCONF) --libs libdpdk)\n+NEED_CRYPTO_SCHEDULER = $(shell echo RTE_CRYPTO_SCHEDULER | $(CPP) $(CFLAGS) -P - | tail -1)\n+ifeq ($(NEED_CRYPTO_SCHEDULER), 1)\n+LDFLAGS_SHARED += -lrte_crypto_scheduler\n+endif\n LDFLAGS_STATIC = $(shell $(PKGCONF) --static --libs libdpdk)\n \n+CFLAGS += -DALLOW_EXPERIMENTAL_API\n+\n build/$(APP)-shared: $(SRCS-y) Makefile $(PC_FILE) | build\n \t$(CC) $(CFLAGS) $(SRCS-y) -o $@ $(LDFLAGS) $(LDFLAGS_SHARED)\n \n",
    "prefixes": [
        "04/10"
    ]
}