get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

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

{
    "id": 31469,
    "url": "https://patches.dpdk.org/api/patches/31469/?format=api",
    "web_url": "https://patches.dpdk.org/project/dpdk/patch/20171120015332.150668-1-yanglong.wu@intel.com/",
    "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": "<20171120015332.150668-1-yanglong.wu@intel.com>",
    "list_archive_url": "https://inbox.dpdk.org/dev/20171120015332.150668-1-yanglong.wu@intel.com",
    "date": "2017-11-20T01:53:32",
    "name": "[dpdk-dev,v2] net/ixgbe: fix l3fwd start failed on PF",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "4eafa478f0e29a71dd9181001c24123bfce4986b",
    "submitter": {
        "id": 879,
        "url": "https://patches.dpdk.org/api/people/879/?format=api",
        "name": "Yanglong Wu",
        "email": "yanglong.wu@intel.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/20171120015332.150668-1-yanglong.wu@intel.com/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/31469/comments/",
    "check": "warning",
    "checks": "https://patches.dpdk.org/api/patches/31469/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 AC90D199B6;\n\tMon, 20 Nov 2017 02:53:51 +0100 (CET)",
            "from mga01.intel.com (mga01.intel.com [192.55.52.88])\n\tby dpdk.org (Postfix) with ESMTP id 3606D7CE1\n\tfor <dev@dpdk.org>; Mon, 20 Nov 2017 02:53:49 +0100 (CET)",
            "from fmsmga002.fm.intel.com ([10.253.24.26])\n\tby fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t19 Nov 2017 17:53:48 -0800",
            "from wuyanglong.sh.intel.com ([10.67.111.131])\n\tby fmsmga002.fm.intel.com with ESMTP; 19 Nov 2017 17:53:47 -0800"
        ],
        "X-ExtLoop1": "1",
        "X-IronPort-AV": "E=Sophos; i=\"5.44,424,1505804400\"; d=\"scan'208\";\n\ta=\"1246177272\"",
        "From": "Yanglong Wu <yanglong.wu@intel.com>",
        "To": "dev@dpdk.org",
        "Cc": "Yanglong Wu <yanglong.wu@intel.com>",
        "Date": "Mon, 20 Nov 2017 09:53:32 +0800",
        "Message-Id": "<20171120015332.150668-1-yanglong.wu@intel.com>",
        "X-Mailer": "git-send-email 2.11.0",
        "In-Reply-To": "<20171102161031.167892-2-yanglong.wu@intel.com>",
        "References": "<20171102161031.167892-2-yanglong.wu@intel.com>",
        "Subject": "[dpdk-dev] [PATCH v2] net/ixgbe: fix l3fwd start failed on PF",
        "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": "L3fwd start failed on PF, for tx_q check failed.\nThat occured when the SRIOV is active and tx_q > rx_q.\nThe tx_q is equal to nb_q_per_pool. The number of nb_q_per_pool\nshould equeal to max number of queues supported by HW not nb_rx_q.\n\nFixes: 27b609cbd1c6 (ethdev: move the multi-queue mode check to specific drivers)\n\nSigned-off-by: Yanglong Wu <yanglong.wu@intel.com>\n---\n drivers/net/ixgbe/ixgbe_ethdev.c | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c\nindex ae9c44421..0f0641da1 100644\n--- a/drivers/net/ixgbe/ixgbe_ethdev.c\n+++ b/drivers/net/ixgbe/ixgbe_ethdev.c\n@@ -2180,7 +2180,7 @@ ixgbe_check_vf_rss_rxq_num(struct rte_eth_dev *dev, uint16_t nb_rx_q)\n \t\treturn -EINVAL;\n \t}\n \n-\tRTE_ETH_DEV_SRIOV(dev).nb_q_per_pool = nb_rx_q;\n+\tRTE_ETH_DEV_SRIOV(dev).nb_q_per_pool = 128 / RTE_ETH_DEV_SRIOV(dev).active;\n \tRTE_ETH_DEV_SRIOV(dev).def_pool_q_idx = pci_dev->max_vfs * nb_rx_q;\n \n \treturn 0;\n",
    "prefixes": [
        "dpdk-dev",
        "v2"
    ]
}