[dpdk-dev] [PATCH v2 2/4] examples: increase port_id range
Hunt, David
david.hunt at intel.com
Mon Sep 4 16:15:44 CEST 2017
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 <zhiyong.yang at intel.com>
> ---
---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.
More information about the dev
mailing list