Thread (100 messages) 100 messages, 16 authors, 2017-10-12

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

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 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?
  
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help