From c7b632551d5e3c491c631bc4be2a8f881635e626 Mon Sep 17 00:00:00 2001 From: Luc Provoost Date: Tue, 13 Sep 2022 15:08:18 +0000 Subject: Fix the core to check number of buckets We need to check the number of buckets PROX is using for the irq duration distribution. In the past, the scripts sent a command to PROX to check this on core 1. This was typically a core running the the IRQ task in case of VMs. With containers, this is not the case any more and we need to query which core will run this IRQ task. Signed-off-by: Luc Provoost Change-Id: If06295774b05d94549955cfbb0b1bb5f4eaf03e2 --- VNFs/DPPD-PROX/helper-scripts/rapid/rapid_irqtest.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_irqtest.py b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_irqtest.py index b0516eeb..de7e6ae3 100644 --- a/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_irqtest.py +++ b/VNFs/DPPD-PROX/helper-scripts/rapid/rapid_irqtest.py @@ -45,7 +45,7 @@ class IrqTest(RapidTest): max_loop_duration = 0 machine_details = {} for machine in self.machines: - buckets=machine.socket.show_irq_buckets(1) + buckets=machine.socket.show_irq_buckets(machine.get_cores()[0]) if max_loop_duration == 0: # First time we go through the loop, we need to initialize # result_details -- cgit 1.2.3-korg