Show a patch.

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

{
    "id": 23,
    "url": "https://patches.dpdk.org/api/patches/23/",
    "web_url": "https://patches.dpdk.org/patch/23/",
    "project": {
        "id": 1,
        "url": "https://patches.dpdk.org/api/projects/1/",
        "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"
    },
    "msgid": "<1404374093-29710-1-git-send-email-helin.zhang@intel.com>",
    "date": "2014-07-03T07:54:53",
    "name": "[dpdk-dev] i40e: warnings should include i40e in some example applications",
    "commit_ref": null,
    "pull_url": null,
    "state": "rejected",
    "archived": true,
    "hash": "1ed2983e9c40a2f07cfa51113bfdbb791ed2b396",
    "submitter": {
        "id": 14,
        "url": "https://patches.dpdk.org/api/people/14/",
        "name": "Helin Zhang",
        "email": "helin.zhang@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/patch/23/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/23/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/23/checks/",
    "tags": {},
    "headers": {
        "X-Mailman-Version": "2.1.15",
        "Received": [
            "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 9634330E\n\tfor <dev@dpdk.org>; Thu,  3 Jul 2014 09:54:41 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga101.jf.intel.com with ESMTP; 03 Jul 2014 00:55:00 -0700",
            "from shvmail01.sh.intel.com ([10.239.29.42])\n\tby orsmga001.jf.intel.com with ESMTP; 03 Jul 2014 00:54:58 -0700",
            "from shecgisg004.sh.intel.com (shecgisg004.sh.intel.com\n\t[10.239.29.89])\n\tby shvmail01.sh.intel.com with ESMTP id s637supw001392;\n\tThu, 3 Jul 2014 15:54:56 +0800",
            "from shecgisg004.sh.intel.com (localhost [127.0.0.1])\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP\n\tid s637sswm029823; Thu, 3 Jul 2014 15:54:56 +0800",
            "(from hzhan75@localhost)\n\tby shecgisg004.sh.intel.com (8.13.6/8.13.6/Submit) id s637ssO2029819; \n\tThu, 3 Jul 2014 15:54:54 +0800"
        ],
        "From": "Helin Zhang <helin.zhang@intel.com>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Message-Id": "<1404374093-29710-1-git-send-email-helin.zhang@intel.com>",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "Date": "Thu,  3 Jul 2014 15:54:53 +0800",
        "Subject": "[dpdk-dev] [PATCH] i40e: warnings should include i40e in some\n\texample applications",
        "Precedence": "list",
        "X-List-Received-Date": "Thu, 03 Jul 2014 07:54:42 -0000",
        "X-BeenThere": "dev@dpdk.org",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Return-Path": "<hzhan75@shecgisg004.sh.intel.com>",
        "X-Mailer": "git-send-email 1.7.0.7",
        "X-ExtLoop1": "1",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "To": "dev@dpdk.org",
        "X-IronPort-AV": "E=Sophos;i=\"5.01,593,1400050800\"; d=\"scan'208\";a=\"538165415\""
    },
    "content": "As i40e introduced recently in DPDK, the warnings should include\ni40e when no supported NIC port found during initialization at\nleast in below example applications.\n* app/testpmd\n* exception_path\n* kni\n\nSigned-off-by: Helin Zhang <helin.zhang@intel.com>\n---\n app/test-pmd/testpmd.c         | 3 ++-\n examples/exception_path/main.c | 5 +++--\n examples/kni/main.c            | 5 +++--\n 3 files changed, 8 insertions(+), 5 deletions(-)",
    "diff": "diff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c\nindex e8a4b45..0c0ac77 100644\n--- a/app/test-pmd/testpmd.c\n+++ b/app/test-pmd/testpmd.c\n@@ -1859,7 +1859,8 @@ main(int argc, char** argv)\n \t\t\t\t\t\t\t\"check that \"\n \t\t\t  \"CONFIG_RTE_LIBRTE_IGB_PMD=y and that \"\n \t\t\t  \"CONFIG_RTE_LIBRTE_EM_PMD=y and that \"\n-\t\t\t  \"CONFIG_RTE_LIBRTE_IXGBE_PMD=y in your \"\n+\t\t\t  \"CONFIG_RTE_LIBRTE_IXGBE_PMD=y and that \"\n+\t\t\t  \"CONFIG_RTE_LIBRTE_I40E_PMD=y in your \"\n \t\t\t  \"configuration file\\n\");\n \n \tset_def_fwd_config();\ndiff --git a/examples/exception_path/main.c b/examples/exception_path/main.c\nindex 0204116..c4245a3 100644\n--- a/examples/exception_path/main.c\n+++ b/examples/exception_path/main.c\n@@ -575,8 +575,9 @@ main(int argc, char** argv)\n \tnb_sys_ports = rte_eth_dev_count();\n \tif (nb_sys_ports == 0)\n \t\tFATAL_ERROR(\"No supported Ethernet devices found - check that \"\n-\t\t            \"CONFIG_RTE_LIBRTE_IGB_PMD=y and/or \"\n-\t\t            \"CONFIG_RTE_LIBRTE_IXGBE_PMD=y in the config file\");\n+\t\t            \"CONFIG_RTE_LIBRTE_IGB_PMD=y, \"\n+\t\t            \"CONFIG_RTE_LIBRTE_IXGBE_PMD=y and/or \"\n+\t\t\t    \"CONFIG_RTE_LIBRTE_I40E_PMD=y in the config file\");\n \t/* Find highest port set in portmask */\n \tfor (high_port = (sizeof(ports_mask) * 8) - 1;\n \t\t\t(high_port != 0) && !(ports_mask & (1 << high_port));\ndiff --git a/examples/kni/main.c b/examples/kni/main.c\nindex 7df1b36..f3666e2 100644\n--- a/examples/kni/main.c\n+++ b/examples/kni/main.c\n@@ -898,8 +898,9 @@ main(int argc, char** argv)\n \tnb_sys_ports = rte_eth_dev_count();\n \tif (nb_sys_ports == 0)\n \t\trte_exit(EXIT_FAILURE, \"No supported Ethernet devices found - \"\n-\t\t\t\"check that CONFIG_RTE_LIBRTE_IGB_PMD=y and/or \"\n-\t\t\t\"CONFIG_RTE_LIBRTE_IXGBE_PMD=y in the config file\\n\");\n+\t\t\t\"check that CONFIG_RTE_LIBRTE_IGB_PMD=y, \"\n+\t\t\t\"CONFIG_RTE_LIBRTE_IXGBE_PMD=y and/or \"\n+\t\t\t\"CONFIG_RTE_LIBRTE_I40E_PMD=y in the config file\\n\");\n \n \t/* Check if the configured port ID is valid */\n \tfor (i = 0; i < RTE_MAX_ETHPORTS; i++)\n",
    "prefixes": [
        "dpdk-dev"
    ]
}