get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 137741,
    "url": "https://patches.dpdk.org/api/patches/137741/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20240301171707.95242-52-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": "<20240301171707.95242-52-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20240301171707.95242-52-stephen@networkplumber.org",
    "date": "2024-03-01T17:15:47",
    "name": "[v2,51/71] net/af_xdp: replace use of fixed size rte_memcpy",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": false,
    "hash": "cf7bccf1ce3205592d05ef0f858d1013fcc9c5c5",
    "submitter": {
        "id": 27,
        "url": "https://patches.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "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/20240301171707.95242-52-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 31340,
            "url": "https://patches.dpdk.org/api/series/31340/?format=api",
            "web_url": "https://patches.dpdk.org/project/dpdk/list/?series=31340",
            "date": "2024-03-01T17:14:57",
            "name": "replace use of fixed size rte_mempcy",
            "version": 2,
            "mbox": "https://patches.dpdk.org/series/31340/mbox/"
        }
    ],
    "comments": "https://patches.dpdk.org/api/patches/137741/comments/",
    "check": "success",
    "checks": "https://patches.dpdk.org/api/patches/137741/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 7008843C12;\n\tFri,  1 Mar 2024 18:23:18 +0100 (CET)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 09A2E434AB;\n\tFri,  1 Mar 2024 18:18:25 +0100 (CET)",
            "from mail-pl1-f170.google.com (mail-pl1-f170.google.com\n [209.85.214.170])\n by mails.dpdk.org (Postfix) with ESMTP id 94FEF43438\n for <dev@dpdk.org>; Fri,  1 Mar 2024 18:17:57 +0100 (CET)",
            "by mail-pl1-f170.google.com with SMTP id\n d9443c01a7336-1dc418fa351so26373765ad.1\n for <dev@dpdk.org>; Fri, 01 Mar 2024 09:17:57 -0800 (PST)",
            "from hermes.local (204-195-123-141.wavecable.com. [204.195.123.141])\n by smtp.gmail.com with ESMTPSA id\n j14-20020a170902da8e00b001dc8d6a9d40sm3695764plx.144.2024.03.01.09.17.56\n (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);\n Fri, 01 Mar 2024 09:17:56 -0800 (PST)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=networkplumber-org.20230601.gappssmtp.com; s=20230601; t=1709313477;\n x=1709918277; 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=4IfoUpHHXH5RcaWSJbL8DbKLH5aCTDa+W+jP7s5eerI=;\n b=JOf7IPrjxETvPqezGoCCEglhIQ/KUDqOBQo2xXy1IpfsnbosAr/9VYZpzhP/w0UDN/\n 7srrPA/wBs7M0UmgOJwSHlSdgGloUi83u5IQCAZoyPKwUDoB9D4Y4Qo4AZguTBiLlCrK\n Cz1Es75dXi5GA7c4vWPm+0uP6eY7JP2cXKTJgPskYWwiQGrvE692ZRc7SCb3VgMLWqSO\n Rt4/VSiYK7frS4e91h8zrN5Cju570ZgKsROe/XY1I26jjLwrs43DQGyBwwbVlKagv18a\n SNX6MnNBSLI5cd7RzR2hlC12SmZhjwHYzGFI1JlTVhqePc6bll1C6Jn2G0kw5keT7ZSi\n lBgw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n d=1e100.net; s=20230601; t=1709313477; x=1709918277;\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=4IfoUpHHXH5RcaWSJbL8DbKLH5aCTDa+W+jP7s5eerI=;\n b=Kh4jBV52ZuFDFlKco9GwO0NDjMPV5qKVDo5CzsoNxPUv4EOMGNsEQMJArB9aV+DmGa\n jKM4bIV1MovW7u95iyh47Ro2W1ThCcofjIdsOfkvkCwE8ZC80uRh3CKLS3LKHg4IVVc6\n 4HY+11KmhEw4BJjrTTYpjAAFlwkH8CPhbpDRlYNEN7glnkumBTmOOneF1iGuUOPpyqT1\n oZcI3mtrHPJWdtl6ZnhBQzbON/vNt3I55XtniMWM1AxwDya9YMmR27glAVOwRbmnho0D\n G5ZPX71E1xQRLerocRmAk9A7sASMkqJE0Y0XEK4hRvRzUEwxQldRZPqjpH5GwKJMRZmv\n 4CDA==",
        "X-Gm-Message-State": "AOJu0YybVmv6wjZBzu/V1vSdOguuq0xYN9KagN/lQ/pPTtiE/N6LPV9k\n iyD6OnqSzcXtYeUjHGtpH2zLBVVDeXRiSsnD2ua46x9JBQlUf0AQqr85ulKyXv5ONSkk3KTl4ou\n 8X0tbMw==",
        "X-Google-Smtp-Source": "\n AGHT+IEMP5CYO+6UyF6MAHw4pYpwsDAqEEFa83V4q2CQWThtKmAkwEpRckBk6fSwr/jBDwUU4QaxWg==",
        "X-Received": "by 2002:a17:902:e746:b0:1dc:a84b:e83c with SMTP id\n p6-20020a170902e74600b001dca84be83cmr3783784plf.25.1709313476851;\n Fri, 01 Mar 2024 09:17:56 -0800 (PST)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n Ciara Loftus <ciara.loftus@intel.com>",
        "Subject": "[PATCH v2 51/71] net/af_xdp: replace use of fixed size rte_memcpy",
        "Date": "Fri,  1 Mar 2024 09:15:47 -0800",
        "Message-ID": "<20240301171707.95242-52-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.43.0",
        "In-Reply-To": "<20240301171707.95242-1-stephen@networkplumber.org>",
        "References": "<20240229225936.483472-1-stephen@networkplumber.org>\n <20240301171707.95242-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": "Automatically generated by devtools/cocci/rte_memcpy.cocci\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\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 2d151e45c7cd..8efc0e707a78 100644\n--- a/drivers/net/af_xdp/rte_eth_af_xdp.c\n+++ b/drivers/net/af_xdp/rte_eth_af_xdp.c\n@@ -2094,7 +2094,7 @@ get_iface_info(const char *if_name,\n \tif (ioctl(sock, SIOCGIFHWADDR, &ifr))\n \t\tgoto error;\n \n-\trte_memcpy(eth_addr, ifr.ifr_hwaddr.sa_data, RTE_ETHER_ADDR_LEN);\n+\tmemcpy(eth_addr, ifr.ifr_hwaddr.sa_data, RTE_ETHER_ADDR_LEN);\n \n \tclose(sock);\n \treturn 0;\n",
    "prefixes": [
        "v2",
        "51/71"
    ]
}