Re: [PATCH v2 3/4] common_base: extend RTE_MAX_ETHPORTS from 32 to 1024
From: Yang, Zhiyong <hidden>
Date: 2017-09-06 08:52:09
From: Yang, Zhiyong <hidden>
Date: 2017-09-06 08:52:09
Hi, Hemant: This patch will be dropped from the patchset next version. Thanks Zhiyong
quoted
In testpmd, the following function will be called to validate the port_id.quoted
So, It is necessary to modify the max port num RTE_MAX_ETHPORTS.There are quite a lot memory allocations (both static an dynamic) inside DPDK libs and sample apps that use RTE_MAX_ETHPORTS. Increasing RTE_MAX_ETHPORTS would increase DPDK memory requirementsquite significantly. It is not a good idea to significantly increase the DPDK memory requirement. Can you not make it with "CONFIG_RTE_MAX_ETHPORTS=1024" for your testing configs?