[dpdk-dev] [PATCH v3] app/testpmd: fix port_id alloction issue

Lu, Wenzhuo wenzhuo.lu at intel.com
Fri Jan 5 01:58:03 CET 2018


Hi,


> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org] On Behalf Of Yanglong Wu
> Sent: Tuesday, January 2, 2018 1:36 PM
> To: dev at dpdk.org
> Cc: Yang, Zhiyong <zhiyong.yang at intel.com>; Wu, Yanglong
> <yanglong.wu at intel.com>
> Subject: [dpdk-dev] [PATCH v3] app/testpmd: fix port_id alloction issue
> 
> In the feature of increasing port_id range from 8 bits to 16 bits, vlan port_id
> allocation function was forget to substitute UINT8 with UINT16, so the vlan
> port_id was allocated as a inccrete number.
> 
> Fixes:28caa76aea71 ("app/testpmd: fix port id type")
> 
> Signed-off-by: Yanglong Wu <yanglong.wu at intel.com>
> Reviewed-by: Zhiyong Yang <zhiyong.yang at intel.com>
Acked-by: Wenzhuo Lu <wenzhuo.lu at intel.com>


More information about the dev mailing list