Show a patch.

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

{
    "id": 462,
    "url": "https://patches.dpdk.org/api/patches/462/?format=api",
    "web_url": "https://patches.dpdk.org/patch/462/",
    "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"
    },
    "msgid": "<1411478290-28807-4-git-send-email-declan.doherty@intel.com>",
    "date": "2014-09-23T13:18:08",
    "name": "[dpdk-dev,v3,3/5] testpmd: adding parameter to reconfig method to set socket_id when adding new port to portlist",
    "commit_ref": null,
    "pull_url": null,
    "state": "superseded",
    "archived": true,
    "hash": "406a77e8b779f55f4156790f0e2f2174b312a050",
    "submitter": {
        "id": 11,
        "url": "https://patches.dpdk.org/api/people/11/?format=api",
        "name": "Doherty, Declan",
        "email": "declan.doherty@intel.com"
    },
    "delegate": null,
    "mbox": "https://patches.dpdk.org/patch/462/mbox/",
    "series": [],
    "comments": "https://patches.dpdk.org/api/patches/462/comments/",
    "check": "pending",
    "checks": "https://patches.dpdk.org/api/patches/462/checks/",
    "tags": {},
    "headers": {
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "Return-Path": "<dev-bounces@dpdk.org>",
        "Message-Id": "<1411478290-28807-4-git-send-email-declan.doherty@intel.com>",
        "X-Mailer": "git-send-email 1.7.4.1",
        "To": "dev@dpdk.org",
        "List-Subscribe": "<http://dpdk.org/ml/listinfo/dev>,\n\t<mailto:dev-request@dpdk.org?subject=subscribe>",
        "Received": [
            "from [92.243.14.124] (localhost [IPv6:::1])\n\tby dpdk.org (Postfix) with ESMTP id D7BCD58FE;\n\tTue, 23 Sep 2014 15:12:41 +0200 (CEST)",
            "from mga09.intel.com (mga09.intel.com [134.134.136.24])\n\tby dpdk.org (Postfix) with ESMTP id CBA33333\n\tfor <dev@dpdk.org>; Tue, 23 Sep 2014 15:12:39 +0200 (CEST)",
            "from orsmga001.jf.intel.com ([10.7.209.18])\n\tby orsmga102.jf.intel.com with ESMTP; 23 Sep 2014 06:12:10 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby orsmga001.jf.intel.com with ESMTP; 23 Sep 2014 06:18:22 -0700",
            "from sivswdev02.ir.intel.com (sivswdev02.ir.intel.com\n\t[10.237.217.46])\n\tby irvmail001.ir.intel.com (8.14.3/8.13.6/MailSET/Hub) with ESMTP id\n\ts8NDILFQ001221; Tue, 23 Sep 2014 14:18:21 +0100",
            "from sivswdev02.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev02.ir.intel.com with ESMTP id s8NDILMi031269;\n\tTue, 23 Sep 2014 14:18:21 +0100",
            "(from dwdohert@localhost)\n\tby sivswdev02.ir.intel.com with  id s8NDILhi031265;\n\tTue, 23 Sep 2014 14:18:21 +0100"
        ],
        "X-BeenThere": "dev@dpdk.org",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "Subject": "[dpdk-dev] [PATCH v3 3/5] testpmd: adding parameter to reconfig\n\tmethod to set socket_id when adding new port to portlist",
        "In-Reply-To": "<1411478290-28807-1-git-send-email-declan.doherty@intel.com>",
        "List-Id": "patches and discussions about DPDK <dev.dpdk.org>",
        "List-Post": "<mailto:dev@dpdk.org>",
        "Date": "Tue, 23 Sep 2014 14:18:08 +0100",
        "X-ExtLoop1": "1",
        "Precedence": "list",
        "From": "Declan Doherty <declan.doherty@intel.com>",
        "X-IronPort-AV": "E=Sophos;i=\"5.04,580,1406617200\"; d=\"scan'208\";a=\"577543218\"",
        "References": "<1409560289-29558-5-git-send-email-declan.doherty@intel.com>\n\t<1411478290-28807-1-git-send-email-declan.doherty@intel.com>",
        "X-Original-To": "patchwork@dpdk.org",
        "Sender": "\"dev\" <dev-bounces@dpdk.org>",
        "Errors-To": "dev-bounces@dpdk.org",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "Delivered-To": "patchwork@dpdk.org",
        "X-Mailman-Version": "2.1.15"
    },
    "content": "Signed-off-by: Declan Doherty <declan.doherty@intel.com>\n---\n app/test-pmd/cmdline.c |    2 +-\n app/test-pmd/testpmd.c |    3 ++-\n app/test-pmd/testpmd.h |    2 +-\n 3 files changed, 4 insertions(+), 3 deletions(-)",
    "diff": "diff --git a/app/test-pmd/cmdline.c b/app/test-pmd/cmdline.c\nindex 67321f7..ed76eea 100644\n--- a/app/test-pmd/cmdline.c\n+++ b/app/test-pmd/cmdline.c\n@@ -3614,7 +3614,7 @@ static void cmd_create_bonded_device_parsed(void *parsed_result,\n \n \t\t/* Update number of ports */\n \t\tnb_ports = rte_eth_dev_count();\n-\t\treconfig(port_id);\n+\t\treconfig(port_id, res->socket);\n \t\trte_eth_promiscuous_enable(port_id);\n \t}\n \ndiff --git a/app/test-pmd/testpmd.c b/app/test-pmd/testpmd.c\nindex 9f6cdc4..66e3c7c 100644\n--- a/app/test-pmd/testpmd.c\n+++ b/app/test-pmd/testpmd.c\n@@ -628,7 +628,7 @@ init_config(void)\n \n \n void\n-reconfig(portid_t new_port_id)\n+reconfig(portid_t new_port_id, unsigned socket_id)\n {\n \tstruct rte_port *port;\n \n@@ -647,6 +647,7 @@ reconfig(portid_t new_port_id)\n \t/* set flag to initialize port/queue */\n \tport->need_reconfig = 1;\n \tport->need_reconfig_queues = 1;\n+\tport->socket_id = socket_id;\n \n \tinit_port_config();\n }\ndiff --git a/app/test-pmd/testpmd.h b/app/test-pmd/testpmd.h\nindex 142091d..7b78cc5 100644\n--- a/app/test-pmd/testpmd.h\n+++ b/app/test-pmd/testpmd.h\n@@ -455,7 +455,7 @@ void fwd_config_display(void);\n void rxtx_config_display(void);\n void fwd_config_setup(void);\n void set_def_fwd_config(void);\n-void reconfig(portid_t new_port_id);\n+void reconfig(portid_t new_port_id, unsigned socket_id);\n int init_fwd_streams(void);\n \n void port_mtu_set(portid_t port_id, uint16_t mtu);\n",
    "prefixes": [
        "dpdk-dev",
        "v3",
        "3/5"
    ]
}