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

2017-09-06 Thread Yang, Zhiyong
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

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

2017-09-06 Thread Hemant Agrawal
, Keith ; step...@networkplumber.org Subject: Re: [dpdk-dev] [PATCH v2 3/4] common_base: extend RTE_MAX_ETHPORTS from 32 to 1024 Hi, Bruce: -Original Message- From: Richardson, Bruce Sent: Monday, September 4, 2017 5:09 PM To: Yang, Zhiyong Cc: Yao, Lei A ; dev@dpdk.org; tho

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

2017-09-04 Thread Yang, Zhiyong
Hi, konstantin: > > > It should be possible to have a dynamically allocated ethdev array, > > > which would allow use to have a default value - which could be e.g. > > > 32 or 64 as now - while also allowing a run-time parameter to increase > > > that > to thousands if needed. > > > > > > /Bruce

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

2017-09-04 Thread Bruce Richardson
et; > > Yigit, Ferruh ; Wiles, Keith > > ; > > step...@networkplumber.org > > Subject: Re: [dpdk-dev] [PATCH v2 3/4] common_base: extend > > RTE_MAX_ETHPORTS from 32 to 1024 > > > > > --- a/config/common_base > > > > > +++ b/config/common_base

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

2017-09-04 Thread Ananyev, Konstantin
..@networkplumber.org > Subject: Re: [dpdk-dev] [PATCH v2 3/4] common_base: extend RTE_MAX_ETHPORTS > from 32 to 1024 > > Hi, Bruce: > > > -Original Message- > > From: Richardson, Bruce > > Sent: Monday, September 4, 2017 5:09 PM > > To: Yang, Zhi

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

2017-09-04 Thread Yang, Zhiyong
Hi, Bruce: > -Original Message- > From: Richardson, Bruce > Sent: Monday, September 4, 2017 5:09 PM > To: Yang, Zhiyong > Cc: Yao, Lei A ; dev@dpdk.org; tho...@monjalon.net; > Yigit, Ferruh ; Wiles, Keith ; > step...@networkplumber.org > Subject: Re: [dpdk-dev] [P

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

2017-09-04 Thread Ananyev, Konstantin
hiyong > Subject: Re: [dpdk-dev] [PATCH v2 3/4] common_base: extend RTE_MAX_ETHPORTS > from 32 to 1024 > > > > > -Original Message- > > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Zhiyong Yang > > Sent: Monday, September 4, 2017 1:58 PM > >

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

2017-09-04 Thread Bruce Richardson
erruh ; Wiles, > > Keith > > ; step...@networkplumber.org; Yang, Zhiyong > > > > Subject: RE: [dpdk-dev] [PATCH v2 3/4] common_base: extend > > RTE_MAX_ETHPORTS from 32 to 1024 > > > > > > > > > -Original Message- > > > From: dev

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

2017-09-04 Thread Yang, Zhiyong
; Cc: tho...@monjalon.net; Yigit, Ferruh ; > > Wiles, Keith ; step...@networkplumber.org; > > Yang, Zhiyong > > Subject: [dpdk-dev] [PATCH v2 3/4] common_base: extend > > RTE_MAX_ETHPORTS from 32 to 1024 > > > > The reasons to modify RTE_MAX_ETHPORTS is the following. > >

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

2017-09-04 Thread Yao, Lei A
: [dpdk-dev] [PATCH v2 3/4] common_base: extend > RTE_MAX_ETHPORTS from 32 to 1024 > > The reasons to modify RTE_MAX_ETHPORTS is the following. > > 1. RTE_MAX_ETHPORTS=32 by default has not met user's requirements > with development of virtualization technology. Some vde

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

2017-09-03 Thread Zhiyong Yang
The reasons to modify RTE_MAX_ETHPORTS is the following. 1. RTE_MAX_ETHPORTS=32 by default has not met user's requirements with development of virtualization technology. Some vdev users have to modify the setting before the compiling. 2. port_id have been extended to 16 bits definition. But for m