get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 56254,
    "url": "http://patchwork.dpdk.org/api/patches/56254/?format=api",
    "web_url": "http://patchwork.dpdk.org/project/dpdk/patch/20190708182614.1677-11-stephen@networkplumber.org/",
    "project": {
        "id": 1,
        "url": "http://patchwork.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": "<20190708182614.1677-11-stephen@networkplumber.org>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20190708182614.1677-11-stephen@networkplumber.org",
    "date": "2019-07-08T18:26:13",
    "name": "[v9,10/11] net/vdev_netvsc: use common ethernet address parsing",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "79187caa30cb493edeb903e503546c2294ff8672",
    "submitter": {
        "id": 27,
        "url": "http://patchwork.dpdk.org/api/people/27/?format=api",
        "name": "Stephen Hemminger",
        "email": "stephen@networkplumber.org"
    },
    "delegate": {
        "id": 319,
        "url": "http://patchwork.dpdk.org/api/users/319/?format=api",
        "username": "fyigit",
        "first_name": "Ferruh",
        "last_name": "Yigit",
        "email": "ferruh.yigit@amd.com"
    },
    "mbox": "http://patchwork.dpdk.org/project/dpdk/patch/20190708182614.1677-11-stephen@networkplumber.org/mbox/",
    "series": [
        {
            "id": 5401,
            "url": "http://patchwork.dpdk.org/api/series/5401/?format=api",
            "web_url": "http://patchwork.dpdk.org/project/dpdk/list/?series=5401",
            "date": "2019-07-08T18:26:03",
            "name": "ether: improvements and optimizations",
            "version": 9,
            "mbox": "http://patchwork.dpdk.org/series/5401/mbox/"
        }
    ],
    "comments": "http://patchwork.dpdk.org/api/patches/56254/comments/",
    "check": "success",
    "checks": "http://patchwork.dpdk.org/api/patches/56254/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<dev-bounces@dpdk.org>",
        "X-Original-To": "patchwork@dpdk.org",
        "Delivered-To": "patchwork@dpdk.org",
        "Received": [
            "from [92.243.14.124] (localhost [127.0.0.1])\n\tby dpdk.org (Postfix) with ESMTP id 0BFA11BE02;\n\tMon,  8 Jul 2019 20:26:49 +0200 (CEST)",
            "from mail-pg1-f195.google.com (mail-pg1-f195.google.com\n\t[209.85.215.195]) by dpdk.org (Postfix) with ESMTP id E8A141BD52\n\tfor <dev@dpdk.org>; Mon,  8 Jul 2019 20:26:35 +0200 (CEST)",
            "by mail-pg1-f195.google.com with SMTP id g15so8109921pgi.4\n\tfor <dev@dpdk.org>; Mon, 08 Jul 2019 11:26:35 -0700 (PDT)",
            "from hermes.lan (204-195-22-127.wavecable.com. [204.195.22.127])\n\tby smtp.gmail.com with ESMTPSA id\n\to15sm18769295pgj.18.2019.07.08.11.26.33\n\t(version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256);\n\tMon, 08 Jul 2019 11:26:33 -0700 (PDT)"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=networkplumber-org.20150623.gappssmtp.com; s=20150623;\n\th=from:to:cc:subject:date:message-id:in-reply-to:references\n\t:mime-version:content-transfer-encoding;\n\tbh=zyCcY6Qyygvs3/n6ca08O0iKQEaNDeyO+DvEEksV450=;\n\tb=Hryng4AKmjKWnut+O8Xganr+WVZPIwdVhoDJ3SU6iu0G7kuh6VtgPjoeARv9JM9X2q\n\tnqZes+mclV9tQd5wnQbLpm8Vy4uQ8FIfTJxCyhOONcHCaqzq5hJ5bkfRy/uYRx8WC5Fg\n\tyfRIrHlr0r/7SMJkrndb5yfEL5IB0i7CEDejODYYLrU+8uPuLr7yByy04ZFObukZr0oW\n\tkPWYL9dw2Z1nMKgEbRO+vPV7pOWAHn46XA+UZ0K71E6CFPB3mGaRM+dC4HUlkDBNgqtv\n\tfNTaH4WqHY5AXS05Le/kKX/HLKtSA75oyh92QFUUeWH958PSH2gendPT666ukIX1QLI9\n\tzPCw==",
        "X-Google-DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed;\n\td=1e100.net; s=20161025;\n\th=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to\n\t:references:mime-version:content-transfer-encoding;\n\tbh=zyCcY6Qyygvs3/n6ca08O0iKQEaNDeyO+DvEEksV450=;\n\tb=fBexVqL3ao9akVy4AJGzJX+vG0QLifFDxKEsUgItYIscfarSmkStz1NPVFxPXh9gg/\n\tlBkUv5qTQ9HATTNIVVRUIWLlwjjtaJSF07+MAaRdmJzIyDGjPf7O3FztG7uwbedmYwWO\n\tl2V/llvGULMwdHlkSThTtHjvAPGKNQgp9hxnIuCxzeHKZy+JOYAjs8yGVwT9RCK5+AeL\n\tpYU7AgF/qayt7SWxIdit9QmHEn7A3IlvdN5I0RUZW663lkvABbDuWAhSMnZ4XnxfgAjY\n\t26fp/lA6QOKJ22Bh9JfKp6lJc/QKxT7EhNVtXFU1mH9OWTMu5Aa3SC6SPu2sAtS5nSZI\n\t5hDA==",
        "X-Gm-Message-State": "APjAAAW1OrbNdH4eUhnFPDDKPp3eA3/LwdyAqrwgg+7aaHCaONiUeJax\n\tcoYowxXLtUMGlxCKHw0B2P5p3PCMfgA=",
        "X-Google-Smtp-Source": "APXvYqy06AMgaec9crtHRhTYcrVAtpoFf19s1NoGzjTtAWDuYR5MfFAo6PA4BcET37+1X/VO42HDag==",
        "X-Received": "by 2002:a63:5550:: with SMTP id\n\tf16mr12305552pgm.426.1562610394809; \n\tMon, 08 Jul 2019 11:26:34 -0700 (PDT)",
        "From": "Stephen Hemminger <stephen@networkplumber.org>",
        "To": "dev@dpdk.org",
        "Cc": "Stephen Hemminger <stephen@networkplumber.org>,\n\tMatan Azrad <matan@mellanox.com>",
        "Date": "Mon,  8 Jul 2019 11:26:13 -0700",
        "Message-Id": "<20190708182614.1677-11-stephen@networkplumber.org>",
        "X-Mailer": "git-send-email 2.20.1",
        "In-Reply-To": "<20190708182614.1677-1-stephen@networkplumber.org>",
        "References": "<20190516180427.17270-1-stephen@networkplumber.org>\n\t<20190708182614.1677-1-stephen@networkplumber.org>",
        "MIME-Version": "1.0",
        "Content-Transfer-Encoding": "8bit",
        "Subject": "[dpdk-dev] [PATCH v9 10/11] net/vdev_netvsc: use common ethernet\n\taddress parsing",
        "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\t<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\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "Use rte_ether_unformat_addr rather than sscanf.\n\nSigned-off-by: Stephen Hemminger <stephen@networkplumber.org>\nAcked-by: Matan Azrad <matan@mellanox.com>\n---\n drivers/net/vdev_netvsc/vdev_netvsc.c | 10 +---------\n 1 file changed, 1 insertion(+), 9 deletions(-)",
    "diff": "diff --git a/drivers/net/vdev_netvsc/vdev_netvsc.c b/drivers/net/vdev_netvsc/vdev_netvsc.c\nindex 1fcf90d7bc02..be8f19c0c63e 100644\n--- a/drivers/net/vdev_netvsc/vdev_netvsc.c\n+++ b/drivers/net/vdev_netvsc/vdev_netvsc.c\n@@ -529,15 +529,7 @@ vdev_netvsc_netvsc_probe(const struct if_nameindex *iface,\n \t\t\t} else if (!strcmp(pair->key, VDEV_NETVSC_ARG_MAC)) {\n \t\t\t\tstruct rte_ether_addr tmp;\n \n-\t\t\t\tif (sscanf(pair->value,\n-\t\t\t\t\t   \"%\" SCNx8 \":%\" SCNx8 \":%\" SCNx8 \":\"\n-\t\t\t\t\t   \"%\" SCNx8 \":%\" SCNx8 \":%\" SCNx8,\n-\t\t\t\t\t   &tmp.addr_bytes[0],\n-\t\t\t\t\t   &tmp.addr_bytes[1],\n-\t\t\t\t\t   &tmp.addr_bytes[2],\n-\t\t\t\t\t   &tmp.addr_bytes[3],\n-\t\t\t\t\t   &tmp.addr_bytes[4],\n-\t\t\t\t\t   &tmp.addr_bytes[5]) != 6) {\n+\t\t\t\tif (rte_ether_unformat_addr(pair->value, &tmp) != 0) {\n \t\t\t\t\tDRV_LOG(ERR,\n \t\t\t\t\t\t\"invalid MAC address format\"\n \t\t\t\t\t\t\" \\\"%s\\\"\",\n",
    "prefixes": [
        "v9",
        "10/11"
    ]
}