Re: [PATCH v2 2/4] examples: increase port_id range
From: Hunt, David <hidden>
Date: 2017-09-04 14:15:47
From: Hunt, David <hidden>
Date: 2017-09-04 14:15:47
Hi Zhiyong, On 4/9/2017 6:57 AM, Zhiyong Yang wrote:
Modify port_id related code in examples accordingly since port_id definition in lib and pmd changes. Fix some original checkpatch issues and remove some unnecessary cast at the same time. Signed-off-by: Zhiyong Yang <redacted> ---
---big snip--- I noticed that in /test/test/test_pmd_perf.c after applying the patch set, RTE_PORT_ALL is still 8-bit: -#define RTE_PORT_ALL (~(uint8_t)0x0) This probably needs to be: +#define RTE_PORT_ALL (~(portid_t)0x0) Regards, Dave.