[dpdk-dev] [PATCH v1] app/testpmd: fix port MAC address after resetting port

Li, Xiaoyun xiaoyun.li at intel.com
Thu Jul 15 04:15:37 CEST 2021


> -----Original Message-----
> From: Zhang, Yuying <yuying.zhang at intel.com>
> Sent: Wednesday, July 14, 2021 10:20
> To: dev at dpdk.org; Li, Xiaoyun <xiaoyun.li at intel.com>; Zhang, Qi Z
> <qi.z.zhang at intel.com>
> Cc: Zhang, Yuying <yuying.zhang at intel.com>; stable at dpdk.org
> Subject: [PATCH v1] app/testpmd: fix port MAC address after resetting port
> 
> MAC address of each port in global variable ports hasn't been updated after
> resetting. It was the initial one after resetting VF MAC address.
> This patch gets correct port MAC address when starting port.
> 
> Fixes: a5279d25616d ("app/testpmd: check status of getting MAC address")
> Cc: stable at dpdk.org
> 
> Signed-off-by: Yuying Zhang <yuying.zhang at intel.com>
> ---
>  app/test-pmd/testpmd.c | 12 +++++++-----
>  1 file changed, 7 insertions(+), 5 deletions(-)
> 
Acked-by: Xiaoyun Li <xiaoyun.li at intel.com>


More information about the dev mailing list