[dpdk-dev] [PATCH v2 3/4] common_base: extend RTE_MAX_ETHPORTS from 32 to 1024

Yang, Zhiyong zhiyong.yang at intel.com
Wed Sep 6 10:52:04 CEST 2017


Hi, Hemant:
	This patch will be dropped from the patchset next version.
Thanks
Zhiyong

>> In testpmd,  the following function will be called to validate the port_id.
> >> 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 requirements
> quite 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?
> 



More information about the dev mailing list