Commit 2087624e authored by Karol Latecki's avatar Karol Latecki Committed by Tomasz Zawadzki
Browse files

scripts/nvmf_perf: log rps_flow_cnt value



Besides the fact of configuring rps_flow_cnt
also print the value being used.

Signed-off-by: default avatarKarol Latecki <karol.latecki@intel.com>
Change-Id: I11489a2ca9515c6119921cdd3a77f0e7fbaad712
Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/19800


Reviewed-by: default avatarKonrad Sztyber <konrad.sztyber@intel.com>
Reviewed-by: default avatarPawel Piatek <pawelx.piatek@intel.com>
Reviewed-by: default avatarJim Harris <jim.harris@gmail.com>
Tested-by: default avatarSPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: default avatarMarek Chomnicki <marek.chomnicki@intel.com>
parent fb3b0cb7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -208,7 +208,7 @@ class Server(ABC):
        nic_names = [self.get_nic_name_by_ip(n) for n in self.nic_ips]
        for nic_name in nic_names:
            self.exec_cmd(["sudo", "ethtool", "-K", nic_name, "ntuple", "on"])
            self.log.info(f"Setting rps_flow_cnt for {nic_name}")
            self.log.info(f"Setting rps_flow_cnt={rps_flow_cnt} for {nic_name}")
            queue_files = self.exec_cmd(["ls", f"/sys/class/net/{nic_name}/queues/"]).strip().split("\n")
            queue_files = filter(lambda x: x.startswith("rx-"), queue_files)