Re: [dpdk-dev] [PATCH v2] librte_mbuf: modify port initialization value

2017-09-05 Thread Yang, Zhiyong
Hi, helin: > > +#define MBUF_INVALID_PORT 0x > Replaced with below, or use UINT16_MAX directly? > #define MBUF_INVALID_PORT UINT16_MAX I prefer #define MBUF_INVALID_PORT UINT16_MAX Thanks Zhiyong

Re: [dpdk-dev] [PATCH v2] librte_mbuf: modify port initialization value

2017-09-05 Thread Yang, Zhiyong
> -Original Message- > From: Thomas Monjalon [mailto:tho...@monjalon.net] > Sent: Tuesday, September 5, 2017 3:28 PM > To: Yang, Zhiyong > Cc: dev@dpdk.org; Yigit, Ferruh ; > step...@networkplumber.org > Subject: Re: [PATCH v2] librte_mbuf: modify port initialization value > > 05/09/2017

Re: [dpdk-dev] [PATCH v2] librte_mbuf: modify port initialization value

2017-09-05 Thread Thomas Monjalon
05/09/2017 07:13, Zhiyong Yang: > In order to support more than 256 virtual ports, the field "port" > in rte_mbuf has been increased to 16 bits. The initialization/reset > value of the field "port" should be changed from 0xff to 0x > accordingly. This patch should be merged with the range incr

Re: [dpdk-dev] [PATCH v2] librte_mbuf: modify port initialization value

2017-09-04 Thread Zhang, Helin
> -Original Message- > From: dev [mailto:dev-boun...@dpdk.org] On Behalf Of Zhiyong Yang > Sent: Tuesday, September 5, 2017 1:13 PM > To: dev@dpdk.org > Cc: tho...@monjalon.net; Yigit, Ferruh; step...@networkplumber.org; Yang, > Zhiyong > Subject: [dpdk-dev] [PATCH v2

[dpdk-dev] [PATCH v2] librte_mbuf: modify port initialization value

2017-09-04 Thread Zhiyong Yang
In order to support more than 256 virtual ports, the field "port" in rte_mbuf has been increased to 16 bits. The initialization/reset value of the field "port" should be changed from 0xff to 0x accordingly. Signed-off-by: Zhiyong Yang --- Changes in V2: Introduce MBUF_INVALID_PORT as a const