Show a patch.

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

{
    "id": 272,
    "url": "http://patches.dpdk.org/api/patches/272/",
    "web_url": "http://patches.dpdk.org/patch/272/",
    "project": {
        "id": 1,
        "url": "http://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": "<1409560289-29558-7-git-send-email-declan.doherty@intel.com>",
    "date": "2014-09-01T08:31:29",
    "name": "[dpdk-dev,v2,6/6] 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": "http://patches.dpdk.org/api/people/11/",
        "name": "Doherty, Declan",
        "email": "declan.doherty@intel.com"
    },
    "delegate": null,
    "mbox": "http://patches.dpdk.org/patch/272/mbox/",
    "series": [],
    "comments": "http://patches.dpdk.org/api/patches/272/comments/",
    "check": "pending",
    "checks": "http://patches.dpdk.org/api/patches/272/checks/",
    "tags": {},
    "headers": {
        "Return-Path": "<dwdohert@ecsmtp.ir.intel.com>",
        "References": "<1408456313-28812-1-git-send-email-declan.doherty@intel.com>",
        "X-Mailman-Version": "2.1.15",
        "X-IronPort-AV": "E=Sophos;i=\"5.04,441,1406617200\"; d=\"scan'208\";a=\"474376175\"",
        "From": "Declan Doherty <declan.doherty@intel.com>",
        "X-List-Received-Date": "Mon, 01 Sep 2014 08:27:32 -0000",
        "X-BeenThere": "dev@dpdk.org",
        "Message-Id": "<1409560289-29558-7-git-send-email-declan.doherty@intel.com>",
        "Received": [
            "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id 7F510B38B\n\tfor <dev@dpdk.org>; Mon,  1 Sep 2014 10:27:31 +0200 (CEST)",
            "from azsmga001.ch.intel.com ([10.2.17.19])\n\tby fmsmga103.fm.intel.com with ESMTP; 01 Sep 2014 01:23:44 -0700",
            "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby azsmga001.ch.intel.com with ESMTP; 01 Sep 2014 01:31:40 -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\ts818Vd2u010252; Mon, 1 Sep 2014 09:31:39 +0100",
            "from sivswdev02.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev02.ir.intel.com with ESMTP id s818VdTO002138;\n\tMon, 1 Sep 2014 09:31:39 +0100",
            "(from dwdohert@localhost)\n\tby sivswdev02.ir.intel.com with  id s818Vdwd002134;\n\tMon, 1 Sep 2014 09:31:39 +0100"
        ],
        "List-Post": "<mailto:dev@dpdk.org>",
        "List-Help": "<mailto:dev-request@dpdk.org?subject=help>",
        "X-Mailer": "git-send-email 1.7.0.7",
        "Precedence": "list",
        "Date": "Mon,  1 Sep 2014 09:31:29 +0100",
        "Subject": "[dpdk-dev] [PATCH v2 6/6] testpmd: adding parameter to reconfig\n\tmethod to set socket_id when adding new port to portlist",
        "List-Archive": "<http://dpdk.org/ml/archives/dev/>",
        "X-ExtLoop1": "1",
        "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>",
        "In-Reply-To": "<1408456313-28812-1-git-send-email-declan.doherty@intel.com>",
        "List-Unsubscribe": "<http://dpdk.org/ml/options/dev>,\n\t<mailto:dev-request@dpdk.org?subject=unsubscribe>",
        "To": "dev@dpdk.org"
    },
    "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 b04a4e8..a0d88df 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 a112559..d843f77 100644\n--- a/app/test-pmd/testpmd.c\n+++ b/app/test-pmd/testpmd.c\n@@ -627,7 +627,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@@ -646,6 +646,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 b8322a2..f34b5d1 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",
        "v2",
        "6/6"
    ]
}