get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 132896,
    "url": "http://patches.dpdk.org/api/patches/132896/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/20231018133932.150177-2-bruce.richardson@intel.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": "<20231018133932.150177-2-bruce.richardson@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20231018133932.150177-2-bruce.richardson@intel.com",
    "date": "2023-10-18T13:39:33",
    "name": "[v5,2/2] eventdev: fix missing driver names in info struct",
    "commit_ref": null,
    "pull_url": null,
    "state": "accepted",
    "archived": true,
    "hash": "a6e4aa703ee01862c4403c33960085df89245868",
    "submitter": {
        "id": 20,
        "url": "http://patches.dpdk.org/api/people/20/?format=api",
        "name": "Bruce Richardson",
        "email": "bruce.richardson@intel.com"
    },
    "delegate": {
        "id": 310,
        "url": "http://patches.dpdk.org/api/users/310/?format=api",
        "username": "jerin",
        "first_name": "Jerin",
        "last_name": "Jacob",
        "email": "jerinj@marvell.com"
    },
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/20231018133932.150177-2-bruce.richardson@intel.com/mbox/",
    "series": [
        {
            "id": 29908,
            "url": "http://patches.dpdk.org/api/series/29908/?format=api",
            "web_url": "http://patches.dpdk.org/project/dpdk/list/?series=29908",
            "date": "2023-10-18T13:39:31",
            "name": "[v5,1/2] eventdev: fix device pointer for vdev-based eventdevs",
            "version": 5,
            "mbox": "http://patches.dpdk.org/series/29908/mbox/"
        }
    ],
    "comments": "http://patches.dpdk.org/api/patches/132896/comments/",
    "check": "success",
    "checks": "http://patches.dpdk.org/api/patches/132896/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 5BE914319A;\n\tWed, 18 Oct 2023 15:40:20 +0200 (CEST)",
            "from mails.dpdk.org (localhost [127.0.0.1])\n\tby mails.dpdk.org (Postfix) with ESMTP id 4DA6E42D66;\n\tWed, 18 Oct 2023 15:40:20 +0200 (CEST)",
            "from mgamail.intel.com (mgamail.intel.com [134.134.136.100])\n by mails.dpdk.org (Postfix) with ESMTP id 0F3F040261;\n Wed, 18 Oct 2023 15:40:17 +0200 (CEST)",
            "from orsmga006.jf.intel.com ([10.7.209.51])\n by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384;\n 18 Oct 2023 06:40:17 -0700",
            "from unknown (HELO silpixa00401385.ir.intel.com) ([10.237.214.41])\n by orsmga006.jf.intel.com with ESMTP; 18 Oct 2023 06:40:15 -0700"
        ],
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/simple;\n d=intel.com; i=@intel.com; q=dns/txt; s=Intel;\n t=1697636418; x=1729172418;\n h=from:to:cc:subject:date:message-id:in-reply-to:\n references:mime-version:content-transfer-encoding;\n bh=dmNRFyywYuxJ6iX+tMEVW06HaDEs9hDwhpR80oMjIpM=;\n b=dHHi1lGB59IB+zboNkSx0JxnZ9v2eKM462wsDYGW9bRepuJFzo5qcAIT\n L/JSN1jlNFDe4wai7YKhKq0Z8n6L2Jy/O7TZYFjRmWigLXqVSew3IhEeq\n exgSB75g1sWukDa/Bqw0XK5Xa8Q6YFnJhECE8lRoyhg8B3FUwL7FsYBHU\n HD26TWh7vfbx5JVpA+vIY2e3fv/MGMqtRsZvKtDBXR9bDS/g5yChXG/8G\n ySk2E33P7SocfWZwyhE8qJPwGcQWHe4TYMfGNS+aFJVmOP0G+oPpm+KQa\n aSakgtRK5XJlBz72sc/eaDCDSZdDKXqNuCSy9Gbs21Q59v0J2lzRZsrkl w==;",
        "X-IronPort-AV": [
            "E=McAfee;i=\"6600,9927,10867\"; a=\"452482907\"",
            "E=Sophos;i=\"6.03,235,1694761200\"; d=\"scan'208\";a=\"452482907\"",
            "E=McAfee;i=\"6600,9927,10867\"; a=\"733173148\"",
            "E=Sophos;i=\"6.03,235,1694761200\"; d=\"scan'208\";a=\"733173148\""
        ],
        "X-ExtLoop1": "1",
        "From": "Bruce Richardson <bruce.richardson@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Jerin Jacob <jerinj@marvell.com>,\n David Marchand <david.marchand@redhat.com>,\n Bruce Richardson <bruce.richardson@intel.com>, stable@dpdk.org",
        "Subject": "[PATCH v5 2/2] eventdev: fix missing driver names in info struct",
        "Date": "Wed, 18 Oct 2023 14:39:33 +0100",
        "Message-Id": "<20231018133932.150177-2-bruce.richardson@intel.com>",
        "X-Mailer": "git-send-email 2.39.2",
        "In-Reply-To": "<20231018133932.150177-1-bruce.richardson@intel.com>",
        "References": "<20231016151713.711965-1-bruce.richardson@intel.com>\n <20231018133932.150177-1-bruce.richardson@intel.com>",
        "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": "Rather than relying on the individual drivers to always populated the\ndriver name field in the info structure - something missed by some\ndrivers, we can do so in the eventdev rte_event_dev_info_get() function.\nThis fixes issues\n\nFixes: bbbb929da5e6 (\"event/skeleton: add skeleton eventdev driver\")\nFixes: 0ce3ce7c275c (\"event/dpaa2: add configuration functions\")\nCc: stable@dpdk.org\n\nSuggested-by: David Marchand <david.marchand@redhat.com>\nSigned-off-by: Bruce Richardson <bruce.richardson@intel.com>\n---\n lib/eventdev/rte_eventdev.c | 2 ++\n 1 file changed, 2 insertions(+)",
    "diff": "diff --git a/lib/eventdev/rte_eventdev.c b/lib/eventdev/rte_eventdev.c\nindex 95373bbaad..0ca32d6721 100644\n--- a/lib/eventdev/rte_eventdev.c\n+++ b/lib/eventdev/rte_eventdev.c\n@@ -104,6 +104,8 @@ rte_event_dev_info_get(uint8_t dev_id, struct rte_event_dev_info *dev_info)\n \tdev_info->dequeue_timeout_ns = dev->data->dev_conf.dequeue_timeout_ns;\n \n \tdev_info->dev = dev->dev;\n+\tif (dev->dev != NULL && dev->dev->driver != NULL)\n+\t\tdev_info->driver_name = dev->dev->driver->name;\n \n \trte_eventdev_trace_info_get(dev_id, dev_info, dev_info->dev);\n \n",
    "prefixes": [
        "v5",
        "2/2"
    ]
}