From 78d9f2978fd5cb5f42e0f8c66bb03baba7321be7 Mon Sep 17 00:00:00 2001 From: Adrian Chiris Date: Thu, 28 May 2015 17:47:25 +0300 Subject: [PATCH] removed FPP,SRIOV configurations from mstconfig --- mlxconfig/mlxcfg_param_lib.cpp | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) diff --git a/mlxconfig/mlxcfg_param_lib.cpp b/mlxconfig/mlxcfg_param_lib.cpp index c5e9cae..eb39377 100644 --- a/mlxconfig/mlxcfg_param_lib.cpp +++ b/mlxconfig/mlxcfg_param_lib.cpp @@ -1057,31 +1057,9 @@ bool VpiParams5thGen::hardLimitCheck() // need to add mechanism to check support for a specific parameter. bool PciParams5thGen::cfgSupported(mfile* mf) { - MError rc; - bool suppRead, suppWrite; - rc = nvqcCom5thGen(mf, getPciCapabilitiesTlvTypeBe(), suppRead, suppWrite); - if (rc) { - errmsg("Failed to get PCI capabilities parameter capabilities. %s", m_err2str(rc)); - return false; - } - if (!suppRead) { - return false; - } - - if (getDefaultsAndCapabilities(mf) != MCE_SUCCESS) { - return false; - } - - if (!_sriovSupported && !_fppSupported) { - return false; - } - - rc = nvqcCom5thGen(mf, getPciSettingsTlvTypeBe(), suppRead, suppWrite); - if (rc) { - errmsg("Failed to get PCI settings parameter capabilities. %s", m_err2str(rc)); - return false; - } - return suppRead&suppWrite; + // Adrianc: not supported for this release + (void)mf; + return false; } void PciParams5thGen::setParam(mlxCfgParam paramType, u_int32_t val) -- 2.46.0