Commit 7fba5433 authored by Jaroslaw Chachulski's avatar Jaroslaw Chachulski Committed by Tomasz Zawadzki
Browse files

scripts/nvmf: enhanced logging in the ARFS configuration method



Added confirmation logs for setting rps_flow_cnt and completion
status for each NIC and the entire process.

Signed-off-by: default avatarJaroslaw Chachulski <jaroslawx.chachulski@intel.com>
Change-Id: I59282fdc3af6df26f0001171c4f2cbbbf808c528
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20461


Reviewed-by: default avatarKarol Latecki <karol.latecki@intel.com>
Reviewed-by: default avatarJim Harris <jim.harris@samsung.com>
Reviewed-by: default avatarTomasz Zawadzki <tomasz.zawadzki@intel.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
parent 4f01d6e5
Loading
Loading
Loading
Loading
+6 −0
Original line number Diff line number Diff line
@@ -218,6 +218,12 @@ class Server(ABC):

            for qf in queue_files:
                self.exec_cmd(["sudo", "bash", "-c", f"echo {rps_flow_cnt} > /sys/class/net/{nic_name}/queues/{qf}/rps_flow_cnt"])
                set_value = self.exec_cmd(["cat", f"/sys/class/net/{nic_name}/queues/{qf}/rps_flow_cnt"]).strip()
                self.log.info(f"Confirmed rps_flow_cnt set to {set_value} in /sys/class/net/{nic_name}/queues/{qf}")

            self.log.info(f"Configuration of {nic_name} completed with confirmed rps_flow_cnt settings.")

        self.log.info("ARFS configuration completed.")

    def configure_adq(self):
        self.adq_load_modules()