Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/1201/?format=api
http://patches.dpdk.org/api/patches/1201/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/1415362978-6306-7-git-send-email-declan.doherty@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": "<1415362978-6306-7-git-send-email-declan.doherty@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/1415362978-6306-7-git-send-email-declan.doherty@intel.com", "date": "2014-11-07T12:22:56", "name": "[dpdk-dev,v6,6/8] 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/?format=api", "name": "Doherty, Declan", "email": "declan.doherty@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/1415362978-6306-7-git-send-email-declan.doherty@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/1201/comments/", "check": "pending", "checks": "http://patches.dpdk.org/api/patches/1201/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 12FD17F7D;\n\tFri, 7 Nov 2014 13:13:55 +0100 (CET)", "from mga14.intel.com (mga14.intel.com [192.55.52.115])\n\tby dpdk.org (Postfix) with ESMTP id 88EEB7F51\n\tfor <dev@dpdk.org>; Fri, 7 Nov 2014 13:13:46 +0100 (CET)", "from fmsmga001.fm.intel.com ([10.253.24.23])\n\tby fmsmga103.fm.intel.com with ESMTP; 07 Nov 2014 04:16:56 -0800", "from irvmail001.ir.intel.com ([163.33.26.43])\n\tby fmsmga001.fm.intel.com with ESMTP; 07 Nov 2014 04:23:15 -0800", "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\tsA7CNEx8002853; Fri, 7 Nov 2014 12:23:14 GMT", "from sivswdev02.ir.intel.com (localhost [127.0.0.1])\n\tby sivswdev02.ir.intel.com with ESMTP id sA7CNEj7007656;\n\tFri, 7 Nov 2014 12:23:14 GMT", "(from dwdohert@localhost)\n\tby sivswdev02.ir.intel.com with id sA7CNE6c007652;\n\tFri, 7 Nov 2014 12:23:14 GMT" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.07,332,1413270000\"; d=\"scan'208\";a=\"618812411\"", "From": "Declan Doherty <declan.doherty@intel.com>", "To": "dev@dpdk.org", "Date": "Fri, 7 Nov 2014 12:22:56 +0000", "Message-Id": "<1415362978-6306-7-git-send-email-declan.doherty@intel.com>", "X-Mailer": "git-send-email 1.7.12.2", "In-Reply-To": "<1415362978-6306-1-git-send-email-declan.doherty@intel.com>", "References": "<1413291597-27326-1-git-send-email-declan.doherty@intel.com>\n\t<1415362978-6306-1-git-send-email-declan.doherty@intel.com>", "Subject": "[dpdk-dev] [PATCH v6 6/8] testpmd: adding parameter to reconfig\n\tmethod to set socket_id when adding new port to portlist", "X-BeenThere": "dev@dpdk.org", "X-Mailman-Version": "2.1.15", "Precedence": "list", "List-Id": "patches and discussions about DPDK <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": "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 4c3fc76..be12c13 100644\n--- a/app/test-pmd/cmdline.c\n+++ b/app/test-pmd/cmdline.c\n@@ -3642,7 +3642,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 f76406f..5740804 100644\n--- a/app/test-pmd/testpmd.c\n+++ b/app/test-pmd/testpmd.c\n@@ -630,7 +630,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@@ -649,6 +649,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 9cbfeac..5a3423c 100644\n--- a/app/test-pmd/testpmd.h\n+++ b/app/test-pmd/testpmd.h\n@@ -457,7 +457,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", "v6", "6/8" ] }{ "id": 1201, "url": "