Patch Detail
get:
Show a patch.
patch:
Update a patch.
put:
Update a patch.
GET /api/patches/28315/?format=api
http://patches.dpdk.org/api/patches/28315/?format=api", "web_url": "http://patches.dpdk.org/project/dpdk/patch/20170904055734.21354-4-zhiyong.yang@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": "<20170904055734.21354-4-zhiyong.yang@intel.com>", "list_archive_url": "https://inbox.dpdk.org/dev/20170904055734.21354-4-zhiyong.yang@intel.com", "date": "2017-09-04T05:57:33", "name": "[dpdk-dev,v2,3/4] common_base: extend RTE_MAX_ETHPORTS from 32 to 1024", "commit_ref": null, "pull_url": null, "state": "superseded", "archived": true, "hash": "bece84adaef259bbadbbdf32d16facd7a9a91525", "submitter": { "id": 540, "url": "http://patches.dpdk.org/api/people/540/?format=api", "name": "Yang, Zhiyong", "email": "zhiyong.yang@intel.com" }, "delegate": null, "mbox": "http://patches.dpdk.org/project/dpdk/patch/20170904055734.21354-4-zhiyong.yang@intel.com/mbox/", "series": [], "comments": "http://patches.dpdk.org/api/patches/28315/comments/", "check": "success", "checks": "http://patches.dpdk.org/api/patches/28315/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 895467CC3;\n\tMon, 4 Sep 2017 07:57:56 +0200 (CEST)", "from mga02.intel.com (mga02.intel.com [134.134.136.20])\n\tby dpdk.org (Postfix) with ESMTP id 45DC87CEC\n\tfor <dev@dpdk.org>; Mon, 4 Sep 2017 07:57:52 +0200 (CEST)", "from fmsmga006.fm.intel.com ([10.253.24.20])\n\tby orsmga101.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;\n\t03 Sep 2017 22:57:52 -0700", "from unknown (HELO dpdk5.bj.intel.com) ([172.16.182.182])\n\tby fmsmga006.fm.intel.com with ESMTP; 03 Sep 2017 22:57:50 -0700" ], "X-ExtLoop1": "1", "X-IronPort-AV": "E=Sophos;i=\"5.41,473,1498546800\"; d=\"scan'208\";a=\"147809969\"", "From": "Zhiyong Yang <zhiyong.yang@intel.com>", "To": "dev@dpdk.org", "Cc": "thomas@monjalon.net, ferruh.yigit@intel.com, keith.wiles@intel.com,\n\tstephen@networkplumber.org, Zhiyong Yang <zhiyong.yang@intel.com>", "Date": "Mon, 4 Sep 2017 13:57:33 +0800", "Message-Id": "<20170904055734.21354-4-zhiyong.yang@intel.com>", "X-Mailer": "git-send-email 2.13.3", "In-Reply-To": "<20170904055734.21354-1-zhiyong.yang@intel.com>", "References": "<20170809084203.17562-1-zhiyong.yang@intel.com>\n\t<20170904055734.21354-1-zhiyong.yang@intel.com>", "Subject": "[dpdk-dev] [PATCH v2 3/4] common_base: extend RTE_MAX_ETHPORTS from\n\t32 to 1024", "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": "The reasons to modify RTE_MAX_ETHPORTS is the following.\n\n1. RTE_MAX_ETHPORTS=32 by default has not met user's requirements\nwith development of virtualization technology. Some vdev users have\nto modify the setting before the compiling.\n\n2. port_id have been extended to 16 bits definition. But for many\nsamples such as testpmd, l3fwd, num of port is still limited to\nRTE_MAX_ETHPORTS=32 by default. This may limit usage of 16 bits\nport_id.\n\nSo, it is necessary to enlarge RTE_MAX_ETHPORTS to more than 256.\n\nSigned-off-by: Zhiyong Yang <zhiyong.yang@intel.com>\n---\n config/common_base | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)", "diff": "diff --git a/config/common_base b/config/common_base\nindex 5e97a08b6..dccc13e31 100644\n--- a/config/common_base\n+++ b/config/common_base\n@@ -131,7 +131,7 @@ CONFIG_RTE_LIBRTE_KVARGS=y\n #\n CONFIG_RTE_LIBRTE_ETHER=y\n CONFIG_RTE_LIBRTE_ETHDEV_DEBUG=n\n-CONFIG_RTE_MAX_ETHPORTS=32\n+CONFIG_RTE_MAX_ETHPORTS=1024\n CONFIG_RTE_MAX_QUEUES_PER_PORT=1024\n CONFIG_RTE_LIBRTE_IEEE1588=n\n CONFIG_RTE_ETHDEV_QUEUE_STAT_CNTRS=16\n", "prefixes": [ "dpdk-dev", "v2", "3/4" ] }{ "id": 28315, "url": "