framework crb: fix incorrect core list on ppc64
Commit Message
Add the checking for DUT arch ppc64 to get the core list correctly.
Signed-off-by: Thinh Tran <thinhtr@linux.vnet.ibm.com>
---
framework/crb.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Comments
> -----Original Message-----
> From: Thinh Tran <thinhtr@linux.vnet.ibm.com>
> Sent: 2022年3月12日 3:03
> To: dts@dpdk.org
> Cc: Thinh Tran <thinhtr@linux.vnet.ibm.com>
> Subject: [DTS] [PATCH] framework crb: fix incorrect core list on ppc64
>
> Add the checking for DUT arch ppc64 to get the core list correctly.
>
>
> Signed-off-by: Thinh Tran <thinhtr@linux.vnet.ibm.com>
Applied, thanks
@@ -676,7 +676,7 @@ class Crb(object):
if self.crb['bypass core0'] and core == '0' and socket == '0':
self.logger.info("Core0 bypassed")
continue
- if self.crb.get('dut arch') == "arm64":
+ if self.crb.get('dut arch') == "arm64" or self.crb.get('dut arch') == "ppc64" :
self.cores.append(
{'thread': thread, 'socket': node, 'core': coremap[core]})
else: