get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 107731,
    "url": "https://patches.dpdk.org/api/patches/107731/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/2c422567d3640972@cs.arizona.edu/",
    "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": "<2c422567d3640972@cs.arizona.edu>",
    "list_archive_url": "https://inbox.dpdk.org/dev/2c422567d3640972@cs.arizona.edu",
    "date": "2022-02-17T11:09:06",
    "name": "[v2] net/af_xdp: allow operation when multiprocess is disabled",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "ea3fa698be23ac7787d1b86b78e6fb6b14723dfd",
    "submitter": {
        "id": 1141,
        "url": "https://patches.dpdk.org/api/people/1141/?format=api",
        "name": "Junxiao Shi",
        "email": "git@mail1.yoursunny.com"
    },
    "delegate": {
        "id": 319,
        "url": "https://patches.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "https://patches.dpdk.org/project/dpdk/patch/2c422567d3640972@cs.arizona.edu/mbox/",
    "series": [
        {
            "id": 21707,
            "url": "https://patches.dpdk.org/api/series/21707/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=21707",
            "date": "2022-02-17T11:09:06",
            "name": "[v2] net/af_xdp: allow operation when multiprocess is disabled",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/21707/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/107731/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/107731/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 6DD2FA00BE;\n\tThu, 17 Feb 2022 12:14:46 +0100 (CET)",
            "from [217.70.189.124] (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id EB14C41156;\n\tThu, 17 Feb 2022 12:14:45 +0100 (CET)",
            "from mail-oo1-f99.google.com (mail-oo1-f99.google.com\n [209.85.161.99]) by mails.dpdk.org (Postfix) with ESMTP id 3B6E441151\n for <dev@dpdk.org>; Thu, 17 Feb 2022 12:14:44 +0100 (CET)",
            "by mail-oo1-f99.google.com with SMTP id\n k13-20020a4a948d000000b003172f2f6bdfso6152086ooi.1\n for <dev@dpdk.org>; Thu, 17 Feb 2022 03:14:44 -0800 (PST)",
            "from optima.cs.arizona.edu (optima.cs.arizona.edu. [192.12.69.5])\n by smtp-relay.gmail.com with ESMTPS id bm23sm396131oob.12.2022.02.17.03.14.44\n for <dev@dpdk.org>\n (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128);\n Thu, 17 Feb 2022 03:14:44 -0800 (PST)",
            "from cs.arizona.edu (lectura.cs.arizona.edu [192.12.69.186])\n by optima.cs.arizona.edu (8.14.4/8.14.4/Debian-2ubuntu2.1) with ESMTP id\n 21HBEhmK020273\n (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT)\n for <dev@dpdk.org>; Thu, 17 Feb 2022 04:14:43 -0700",
            "from localhost (cs.arizona.edu [local])\n by cs.arizona.edu (OpenSMTPD) with ESMTPA id 2c109e83\n for <dev@dpdk.org>; Thu, 17 Feb 2022 11:14:38 +0000 (UTC)"
        ],
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20210112;\n h=x-gm-message-state:in-reply-to:references:from:date:subject:to\n :message-id;\n bh=Pf4SZMXyqWnE2Uqi8ARglhpjqN4TyHeesgby/q6qz/I=;\n b=iKGJmFl7oPj7CG6mOWwuh7bO+utUEWnQ+93E2Q5jv+PQmNKRcd1+gXEpac/hnwk2Eq\n RGr50DGu7dZq5JqeKgVv6hkh7wqiDOsvxDJD8vTm7WFvMESwKYHIcWz3wJKfznUO4/i/\n 9tiDYbn6N6nK5145NsPTyC2g5vZBlYSbMjlznMvjRMokpfaqYoqbP84LVWIiYnH/UNfp\n czsG+t1xU2/SSJzr23McjqiFofH0HaVH/1Id4SCxo4XRyPlghUhGkgmgY0AtDBRJrdD8\n 0qpnOb+phWvn8bG1g469ss7krzX3XEd9C7+VOf4BFm4LQdYglq/ZPmSmCeH5F6INkKVr\n f6Hg==",
        "X-Gm-Message-State": "AOAM5336bBAq2g97kahmlu5Ig55x9g5i3Ms86CWELDEojMNGVCriNEmk\n fPYFjaS3XyJCXpn0DuH2z+8mpaUyOR7VJJUa5E5RWzEe+t4+bw==",
        "X-Google-Smtp-Source": "\n ABdhPJw5ytiEZ2JWmWPPCIcro9/v32QJhwGLJvuKxJjy1fzz0+q7HFXYaMZPi/CFa23ZK22GXVzKZNHWehNW",
        "X-Received": "by 2002:a05:6870:e981:b0:cf:9c39:6ed3 with SMTP id\n r1-20020a056870e98100b000cf9c396ed3mr821513oao.192.1645096484266;\n Thu, 17 Feb 2022 03:14:44 -0800 (PST)",
        "X-Relaying-Domain": "cs.arizona.edu",
        "In-Reply-To": "<2c42205a4bcc20cd@cs.arizona.edu>",
        "References": "<2c42205a4bcc20cd@cs.arizona.edu>",
        "From": "Junxiao Shi <git@mail1.yoursunny.com>",
        "Date": "Thu, 17 Feb 2022 11:09:06 +0000",
        "Subject": "[PATCH v2] net/af_xdp: allow operation when multiprocess is disabled",
        "To": "dev@dpdk.org",
        "Message-ID": "<2c422567d3640972@cs.arizona.edu>",
        "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": "If EAL multiprocess feature has been disabled via rte_mp_disable()\nfunction, AF_XDP driver may not be able to register its IPC callback.\nPreviously this leads to probe failure.\nThis commit adds a check for this condition so that AF_XDP can still be\nused even if multiprocess is disabled.\n\nFixes: 9876cf8316b3 (\"net/af_xdp: re-enable secondary process support\")\n\nSigned-off-by: Junxiao Shi <git@mail1.yoursunny.com>\n---\n drivers/net/af_xdp/rte_eth_af_xdp.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/af_xdp/rte_eth_af_xdp.c b/drivers/net/af_xdp/rte_eth_af_xdp.c\nindex 6ac710c6bd..2163df7c5c 100644\n--- a/drivers/net/af_xdp/rte_eth_af_xdp.c\n+++ b/drivers/net/af_xdp/rte_eth_af_xdp.c\n@@ -1995,7 +1995,7 @@ rte_pmd_af_xdp_probe(struct rte_vdev_device *dev)\n \t/* Register IPC callback which shares xsk fds from primary to secondary */\n \tif (!afxdp_dev_count) {\n \t\tret = rte_mp_action_register(ETH_AF_XDP_MP_KEY, afxdp_mp_send_fds);\n-\t\tif (ret < 0) {\n+\t\tif (ret < 0 && rte_errno != ENOTSUP) {\n \t\t\tAF_XDP_LOG(ERR, \"%s: Failed to register multi-process IPC callback: %s\",\n \t\t\t\t   name, strerror(rte_errno));\n \t\t\treturn -1;\n",
    "prefixes": [
        "v2"
    ]
}