get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 20987,
    "url": "http://patches.dpdk.org/api/patches/20987/?format=api",
    "web_url": "http://patches.dpdk.org/project/dpdk/patch/1488372542-156763-1-git-send-email-harry.van.haaren@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": "<1488372542-156763-1-git-send-email-harry.van.haaren@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/1488372542-156763-1-git-send-email-harry.van.haaren@intel.com",
    "date": "2017-03-01T12:49:02",
    "name": "[dpdk-dev] eventdev: remove default queue overriding",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "71b1b86baf410846cd6b26b9e46164d46bef5f82",
    "submitter": {
        "id": 317,
        "url": "http://patches.dpdk.org/api/people/317/?format=api",
        "name": "Van Haaren, Harry",
        "email": "harry.van.haaren@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/project/dpdk/patch/1488372542-156763-1-git-send-email-harry.van.haaren@intel.com/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/20987/comments/",
    "check": "warning",
    "checks": "http://patches.dpdk.org/api/patches/20987/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 [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id EBE3E2BFF;\n\tWed,  1 Mar 2017 13:49:10 +0100 (CET)",
            "from mga03.intel.com (mga03.intel.com [134.134.136.65])\n\tby dpdk.org (Postfix) with ESMTP id 1700F2B86\n\tfor <dev@dpdk.org>; Wed,  1 Mar 2017 13:49:07 +0100 (CET)",
            "from orsmga004.jf.intel.com ([10.7.209.38])\n\tby orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t01 Mar 2017 04:49:07 -0800",
            "from silpixa00398672.ir.intel.com ([10.237.223.128])\n\tby orsmga004.jf.intel.com with ESMTP; 01 Mar 2017 04:49:05 -0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos;i=\"5.35,225,1484035200\"; d=\"scan'208\";a=\"63228597\"",
        "From": "Harry van Haaren <harry.van.haaren@intel.com>",
        "To": "jerin.jacob@caviumnetworks.com",
        "Cc": "dev@dpdk.org,\n\tHarry van Haaren <harry.van.haaren@intel.com>",
        "Date": "Wed,  1 Mar 2017 12:49:02 +0000",
        "Message-Id": "<1488372542-156763-1-git-send-email-harry.van.haaren@intel.com>",
        "X-Mailer": "git-send-email 2.7.4",
        "Subject": "[dpdk-dev] [PATCH] eventdev: remove default queue overriding",
        "X-BeenThere": "dev@dpdk.org",
        "X-Mailman-Version": "2.1.15",
        "Precedence": "list",
        "List-Id": "DPDK patches and discussions <dev.dpdk.org>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Errors-To": "dev-bounces@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>"
    },
    "content": "PMDs that only do a specific type of scheduling cannot provide\nCFG_ALL_TYPES, so the Eventdev infrastructure should not demand\nthat every PMD supports CFG_ALL_TYPES.\n\nBy not overriding the default configuration of the queue as\nsuggested by the PMD, the eventdev_common unit tests can pass\non all PMDs, regardless of thier capabilities.\n\nRTE_EVENT_QUEUE_CFG_DEFAULT is no longer used by the eventdev layer\nit can be removed now. Applications should use CFG_ALL_TYPES\nif they require enqueue of all types a queue.\n\nSigned-off-by: Harry van Haaren <harry.van.haaren@intel.com>\n---\n lib/librte_eventdev/rte_eventdev.c | 1 -\n lib/librte_eventdev/rte_eventdev.h | 6 ------\n 2 files changed, 7 deletions(-)",
    "diff": "diff --git a/lib/librte_eventdev/rte_eventdev.c b/lib/librte_eventdev/rte_eventdev.c\nindex 68bfc3b..c32a776 100644\n--- a/lib/librte_eventdev/rte_eventdev.c\n+++ b/lib/librte_eventdev/rte_eventdev.c\n@@ -593,7 +593,6 @@ rte_event_queue_setup(uint8_t dev_id, uint8_t queue_id,\n \t\tRTE_FUNC_PTR_OR_ERR_RET(*dev->dev_ops->queue_def_conf,\n \t\t\t\t\t-ENOTSUP);\n \t\t(*dev->dev_ops->queue_def_conf)(dev, queue_id, &def_conf);\n-\t\tdef_conf.event_queue_cfg = RTE_EVENT_QUEUE_CFG_DEFAULT;\n \t\tqueue_conf = &def_conf;\n \t}\n \ndiff --git a/lib/librte_eventdev/rte_eventdev.h b/lib/librte_eventdev/rte_eventdev.h\nindex 7073987..d836f61 100644\n--- a/lib/librte_eventdev/rte_eventdev.h\n+++ b/lib/librte_eventdev/rte_eventdev.h\n@@ -471,12 +471,6 @@ rte_event_dev_configure(uint8_t dev_id,\n /* Event queue specific APIs */\n \n /* Event queue configuration bitmap flags */\n-#define RTE_EVENT_QUEUE_CFG_DEFAULT            (0)\n-/**< Default value of *event_queue_cfg* when rte_event_queue_setup() invoked\n- * with queue_conf == NULL\n- *\n- * @see rte_event_queue_setup()\n- */\n #define RTE_EVENT_QUEUE_CFG_TYPE_MASK          (3ULL << 0)\n /**< Mask for event queue schedule type configuration request */\n #define RTE_EVENT_QUEUE_CFG_ALL_TYPES          (0ULL << 0)\n",
    "prefixes": [
        "dpdk-dev"
    ]
}