From dd537b7574106838ad3957725d55717267b75767 Mon Sep 17 00:00:00 2001 From: Scott Breyer Date: Tue, 21 Jul 2020 12:43:05 -0400 Subject: [PATCH] Update to latest from build 10.10.3.0.11 (IFS 10.10.3.0.12) --- CommonInstall/Makefile | 28 +- CommonInstall/comp_delta.pl | 31 +- CommonInstall/comp_delta_prereq_RHEL72.pl | 12 +- CommonInstall/comp_delta_prereq_RHEL73.pl | 12 +- CommonInstall/comp_delta_prereq_RHEL74.pl | 12 +- CommonInstall/comp_delta_prereq_RHEL75.pl | 12 +- CommonInstall/comp_delta_prereq_RHEL76.pl | 12 +- CommonInstall/comp_delta_prereq_RHEL77.pl | 12 +- CommonInstall/comp_delta_prereq_RHEL78.pl | 12 +- CommonInstall/comp_delta_prereq_RHEL8.pl | 12 +- CommonInstall/comp_delta_prereq_RHEL81.pl | 12 +- CommonInstall/comp_delta_prereq_RHEL82.pl | 137 ++++++ CommonInstall/comp_delta_prereq_SLES122.pl | 12 +- CommonInstall/comp_delta_prereq_SLES123.pl | 12 +- CommonInstall/comp_delta_prereq_SLES124.pl | 12 +- CommonInstall/comp_delta_prereq_SLES125.pl | 12 +- CommonInstall/comp_delta_prereq_SLES15.pl | 4 +- CommonInstall/comp_delta_prereq_SLES151.pl | 4 +- CommonInstall/comp_delta_prereq_SLES152.pl | 138 ++++++ CommonInstall/comp_fastfabric.pl | 12 +- CommonInstall/comp_ff_of_prereq_RHEL72.pl | 12 +- .../comp_ff_of_prereq_RHEL72.pl.base | 12 +- CommonInstall/comp_ff_of_prereq_RHEL73.pl | 12 +- .../comp_ff_of_prereq_RHEL73.pl.base | 12 +- CommonInstall/comp_ff_of_prereq_RHEL74.pl | 12 +- .../comp_ff_of_prereq_RHEL74.pl.base | 12 +- CommonInstall/comp_ff_of_prereq_RHEL75.pl | 12 +- .../comp_ff_of_prereq_RHEL75.pl.base | 12 +- CommonInstall/comp_ff_of_prereq_RHEL76.pl | 12 +- .../comp_ff_of_prereq_RHEL76.pl.base | 12 +- CommonInstall/comp_ff_of_prereq_RHEL77.pl | 12 +- .../comp_ff_of_prereq_RHEL77.pl.base | 12 +- CommonInstall/comp_ff_of_prereq_RHEL78.pl | 12 +- .../comp_ff_of_prereq_RHEL78.pl.base | 12 +- CommonInstall/comp_ff_of_prereq_RHEL8.pl | 12 +- CommonInstall/comp_ff_of_prereq_RHEL8.pl.base | 12 +- CommonInstall/comp_ff_of_prereq_RHEL81.pl | 12 +- .../comp_ff_of_prereq_RHEL81.pl.base | 12 +- CommonInstall/comp_ff_of_prereq_RHEL82.pl | 87 ++++ .../comp_ff_of_prereq_RHEL82.pl.base | 87 ++++ CommonInstall/comp_ff_of_prereq_SLES122.pl | 12 +- .../comp_ff_of_prereq_SLES122.pl.base | 12 +- CommonInstall/comp_ff_of_prereq_SLES123.pl | 12 +- .../comp_ff_of_prereq_SLES123.pl.base | 12 +- CommonInstall/comp_ff_of_prereq_SLES124.pl | 12 +- .../comp_ff_of_prereq_SLES124.pl.base | 12 +- CommonInstall/comp_ff_of_prereq_SLES125.pl | 12 +- .../comp_ff_of_prereq_SLES125.pl.base | 12 +- CommonInstall/comp_ff_of_prereq_SLES15.pl | 2 +- .../comp_ff_of_prereq_SLES15.pl.base | 2 +- CommonInstall/comp_ff_of_prereq_SLES151.pl | 2 +- .../comp_ff_of_prereq_SLES151.pl.base | 2 +- CommonInstall/comp_ff_of_prereq_SLES152.pl | 90 ++++ .../comp_ff_of_prereq_SLES152.pl.base | 90 ++++ CommonInstall/comp_fm_prereq_RHEL72.pl | 12 +- CommonInstall/comp_fm_prereq_RHEL72.pl.base | 12 +- CommonInstall/comp_fm_prereq_RHEL73.pl | 12 +- CommonInstall/comp_fm_prereq_RHEL73.pl.base | 12 +- CommonInstall/comp_fm_prereq_RHEL74.pl | 12 +- CommonInstall/comp_fm_prereq_RHEL74.pl.base | 12 +- CommonInstall/comp_fm_prereq_RHEL75.pl | 12 +- CommonInstall/comp_fm_prereq_RHEL75.pl.base | 12 +- CommonInstall/comp_fm_prereq_RHEL76.pl | 12 +- CommonInstall/comp_fm_prereq_RHEL76.pl.base | 12 +- CommonInstall/comp_fm_prereq_RHEL77.pl | 12 +- CommonInstall/comp_fm_prereq_RHEL77.pl.base | 12 +- CommonInstall/comp_fm_prereq_RHEL78.pl | 12 +- CommonInstall/comp_fm_prereq_RHEL78.pl.base | 12 +- CommonInstall/comp_fm_prereq_RHEL8.pl | 12 +- CommonInstall/comp_fm_prereq_RHEL8.pl.base | 12 +- CommonInstall/comp_fm_prereq_RHEL81.pl | 12 +- CommonInstall/comp_fm_prereq_RHEL81.pl.base | 12 +- CommonInstall/comp_fm_prereq_RHEL82.pl | 52 +++ CommonInstall/comp_fm_prereq_RHEL82.pl.base | 52 +++ CommonInstall/comp_fm_prereq_SLES122.pl | 12 +- CommonInstall/comp_fm_prereq_SLES122.pl.base | 12 +- CommonInstall/comp_fm_prereq_SLES123.pl | 12 +- CommonInstall/comp_fm_prereq_SLES123.pl.base | 12 +- CommonInstall/comp_fm_prereq_SLES124.pl | 12 +- CommonInstall/comp_fm_prereq_SLES124.pl.base | 12 +- CommonInstall/comp_fm_prereq_SLES125.pl | 12 +- CommonInstall/comp_fm_prereq_SLES125.pl.base | 12 +- CommonInstall/comp_fm_prereq_SLES15.pl | 2 +- CommonInstall/comp_fm_prereq_SLES15.pl.base | 2 +- CommonInstall/comp_fm_prereq_SLES151.pl | 2 +- CommonInstall/comp_fm_prereq_SLES151.pl.base | 2 +- CommonInstall/comp_fm_prereq_SLES152.pl | 54 +++ CommonInstall/comp_fm_prereq_SLES152.pl.base | 54 +++ CommonInstall/comp_oftools.pl | 12 +- CommonInstall/comp_omnipath.pl | 12 +- CommonInstall/comp_qlgc_fm.pl | 12 +- CommonInstall/do_build.sh | 12 +- CommonInstall/do_mvapich2_build.sh | 12 +- CommonInstall/do_openmpi_build.sh | 10 +- CommonInstall/main_omnipathwrap_delta.pl | 52 ++- CommonInstall/ofed_firmware.pl | 12 +- CommonInstall/overrides_delta.pl | 24 +- CommonInstall/util_basicfile.pl | 12 +- CommonInstall/util_basicio.pl | 12 +- CommonInstall/util_blacklist.pl | 12 +- CommonInstall/util_build.pl | 12 +- CommonInstall/util_components.pl | 12 +- CommonInstall/util_configfile.pl | 12 +- CommonInstall/util_deb.pl | 12 +- CommonInstall/util_driver.pl | 12 +- CommonInstall/util_hosttools.pl | 12 +- CommonInstall/util_ifcfg.pl | 12 +- CommonInstall/util_init.pl | 12 +- CommonInstall/util_linuxconfig.pl | 12 +- CommonInstall/util_rpm.pl | 14 +- CommonInstall/util_startup.pl | 12 +- Esm/Makefile.linux | 24 +- Esm/Makerules.project | 12 +- Esm/Makesettings.project | 12 +- Esm/README | 2 +- Esm/build.env | 2 +- Esm/build_label | 2 +- Esm/fm_install.sh | 12 +- Esm/fm_install.sh.base | 12 +- Esm/fmbuild | 12 +- Esm/fmbuild.base | 12 +- Esm/get_id_and_versionid.sh | 12 +- Esm/ib/Makefile | 12 +- Esm/ib/Makerules.module | 12 +- Esm/ib/README | 2 +- Esm/ib/doc/cs/README | 2 +- Esm/ib/include/README | 2 +- Esm/ib/include/cs_g.h | 2 +- Esm/ib/include/cs_log.h | 2 +- Esm/ib/include/fm_xml.h | 2 +- Esm/ib/include/hsm_com_srvr_api.h | 2 +- Esm/ib/include/hsm_config_srvr_api.h | 2 +- Esm/ib/include/hsm_config_srvr_data.h | 2 +- Esm/ib/include/ib_sm.h | 2 +- Esm/ib/include/ifs_g.h | 2 +- Esm/ib/include/mai_g.h | 2 +- Esm/ib/include/vs_g.h | 2 +- Esm/ib/man/Makefile | 26 ++ Esm/ib/src/Makefile | 12 +- Esm/ib/src/README | 2 +- Esm/ib/src/config/Makefile | 12 +- Esm/ib/src/config/README | 2 +- Esm/ib/src/config/fm_digest.c | 2 +- Esm/ib/src/config/fm_digest.h | 2 +- Esm/ib/src/config/fm_xml.c | 10 +- Esm/ib/src/cs/Makefile | 12 +- Esm/ib/src/cs/README | 2 +- Esm/ib/src/cs/cs_bitset.c | 2 +- Esm/ib/src/cs/cs_context.c | 2 +- Esm/ib/src/cs/cs_csm_log.c | 2 +- Esm/ib/src/cs/cs_queue.c | 4 +- Esm/ib/src/cs/cs_utility.c | 4 +- Esm/ib/src/cs/vs_pool_common.c | 2 +- Esm/ib/src/cs/vs_thr_common.c | 2 +- Esm/ib/src/eeph/Makefile | 12 +- Esm/ib/src/eeph/lacp/Makefile | 12 +- Esm/ib/src/eeph_mux/Makefile | 12 +- Esm/ib/src/eepha/Makefile | 12 +- Esm/ib/src/fe/README | 2 +- Esm/ib/src/fe/fe_lib/README | 2 +- Esm/ib/src/fe/fe_mad.c | 4 +- Esm/ib/src/fe/fe_main.c | 2 +- Esm/ib/src/fe/fe_proc/Makefile | 12 +- Esm/ib/src/fe/fe_proc/README | 2 +- Esm/ib/src/fe/net/README | 2 +- Esm/ib/src/fe/net/libnet.c | 4 +- Esm/ib/src/fe/sa/README | 2 +- Esm/ib/src/fe/test/README | 2 +- Esm/ib/src/ibaccess/README | 2 +- Esm/ib/src/ibaccess/cs_mad_openib.c | 4 +- Esm/ib/src/ibaccess/vs_lck.c | 2 +- Esm/ib/src/ibaccess/vs_pool.c | 2 +- Esm/ib/src/ibaccess/vs_thr.c | 2 +- Esm/ib/src/if3/Makefile | 12 +- Esm/ib/src/if3/README | 2 +- Esm/ib/src/if3/felib.c | 20 +- Esm/ib/src/if3/hsm_com_server.c | 2 +- Esm/ib/src/if3/hsm_com_srvr_api.c | 2 +- Esm/ib/src/if3/hsm_com_srvr_common.c | 2 +- Esm/ib/src/if3/hsm_com_srvr_data.h | 2 +- Esm/ib/src/if3/if3_ssl.c | 4 +- Esm/ib/src/if3/rmpp.c | 8 +- Esm/ib/src/if3/rmpp_l.h | 2 +- Esm/ib/src/if3/vfi.c | 2 +- Esm/ib/src/linux/Makefile | 12 +- Esm/ib/src/linux/README | 2 +- Esm/ib/src/linux/cs/usr/test/README | 2 +- Esm/ib/src/linux/fm_cmd/fm_cmd.c | 2 +- Esm/ib/src/linux/fm_cmd/hsm_com_client.c | 2 +- Esm/ib/src/linux/fm_cmd/hsm_com_client_api.c | 2 +- Esm/ib/src/linux/fm_cmd/hsm_com_client_api.h | 2 +- .../src/linux/fm_cmd/hsm_com_client_common.c | 2 +- Esm/ib/src/linux/fm_cmd/hsm_com_client_data.h | 2 +- Esm/ib/src/linux/fm_cmd/hsm_config_client.c | 6 +- .../src/linux/fm_cmd/hsm_config_client_api.h | 2 +- .../src/linux/fm_cmd/hsm_config_client_data.h | 2 +- Esm/ib/src/linux/fm_cmd/ssapi_internal.h | 2 +- Esm/ib/src/linux/log/README | 2 +- .../src/linux/log/common/sqlite_messagelog.c | 2 +- .../src/linux/log/common/sqlite_messagelog.h | 2 +- Esm/ib/src/linux/log/common/vslog.c | 2 +- Esm/ib/src/linux/log/test/tst_log.c | 4 +- Esm/ib/src/linux/log/usr/Makefile | 12 +- Esm/ib/src/linux/opafmvf/Makefile | 12 +- Esm/ib/src/linux/opamkdsapdb/Makefile | 14 +- Esm/ib/src/linux/opamkdsapdb/opamkdsapdb.c | 2 +- Esm/ib/src/linux/opamkdsapdb/opamkdsapdb.h | 2 +- Esm/ib/src/linux/rem_conf/README | 2 +- .../src/linux/rem_conf/fos_snmp_discovery.c | 4 +- Esm/ib/src/linux/rem_conf/hsm_com_api.h | 2 +- Esm/ib/src/linux/rem_conf/hsm_com_data.h | 2 +- Esm/ib/src/linux/rem_conf/hsm_com_lib.h | 2 +- Esm/ib/src/linux/rem_conf/hsm_com_test_data.h | 2 +- Esm/ib/src/linux/rem_conf/hsm_config_api.h | 2 +- Esm/ib/src/linux/rem_conf/hsm_config_data.h | 2 +- Esm/ib/src/linux/rem_conf/test_client.c | 2 +- Esm/ib/src/linux/rem_conf/test_client_snmp.c | 2 +- Esm/ib/src/linux/rem_conf/test_server.c | 2 +- Esm/ib/src/linux/rpm/README | 2 +- Esm/ib/src/linux/startup/Makefile | 12 +- Esm/ib/src/linux/startup/README | 2 +- Esm/ib/src/linux/startup/fm_config/Makefile | 12 +- .../linux/startup/fm_config/config_check.c | 2 +- .../linux/startup/fm_config/config_convert.c | 2 +- .../linux/startup/fm_config/config_diff.sh | 12 +- .../startup/fm_config/config_generate.sh | 14 +- .../linux/startup/fm_config/opafmconfigpp.sh | 2 +- Esm/ib/src/linux/startup/multitenant.config | 12 +- Esm/ib/src/linux/startup/opafm.sh | 14 +- Esm/ib/src/linux/startup/opafm_src.xml | 1 + Esm/ib/src/linux/startup/opafm_src.xml.base | 1 + Esm/ib/src/linux/startup/opafmctrl.sh | 14 +- Esm/ib/src/linux/startup/opafmd.c | 4 +- Esm/ib/src/linux/startup/sm_capture.sh | 12 +- Esm/ib/src/mai/Makefile | 12 +- Esm/ib/src/mai/README | 2 +- Esm/ib/src/mai/mai.c | 2 +- Esm/ib/src/mai/mai_config.c | 2 +- Esm/ib/src/mai/mai_dc.c | 2 +- Esm/ib/src/mai/mai_fcmp.c | 6 +- Esm/ib/src/mai/mai_filter.c | 2 +- Esm/ib/src/mai/mai_filter_common.c | 2 +- Esm/ib/src/mai/mai_futil.c | 2 +- Esm/ib/src/mai/mai_info.h | 2 +- Esm/ib/src/mai/mai_tid.c | 2 +- Esm/ib/src/mai/mai_util.c | 2 +- Esm/ib/src/mai/mal_l.h | 2 +- Esm/ib/src/mai/test/README | 2 +- Esm/ib/src/pm/Makefile | 12 +- Esm/ib/src/pm/include/pa_access.h | 2 +- Esm/ib/src/pm/include/pa_l.h | 2 +- Esm/ib/src/pm/include/pa_server.h | 2 +- Esm/ib/src/pm/include/pa_sth_old.h | 2 +- Esm/ib/src/pm/include/pm_counters.h | 2 +- Esm/ib/src/pm/include/pm_l.h | 2 +- Esm/ib/src/pm/include/pm_topology.h | 14 +- Esm/ib/src/pm/pa/Makefile | 12 +- Esm/ib/src/pm/pa/pa_access.c | 10 +- Esm/ib/src/pm/pa/pa_categories.c | 2 +- Esm/ib/src/pm/pa/pa_protocol.c | 4 +- Esm/ib/src/pm/pa/pa_server.c | 6 +- Esm/ib/src/pm/pa/pa_sth_old.c | 2 +- Esm/ib/src/pm/pa/pa_utility.c | 18 +- Esm/ib/src/pm/pm/Makefile | 12 +- Esm/ib/src/pm/pm/README | 2 +- Esm/ib/src/pm/pm/pm.c | 2 +- Esm/ib/src/pm/pm/pm_calc.c | 210 +++++++++- Esm/ib/src/pm/pm/pm_counters.c | 2 +- Esm/ib/src/pm/pm/pm_dispatch.c | 2 +- Esm/ib/src/pm/pm/pm_exit.c | 2 +- Esm/ib/src/pm/pm/pm_groups.c | 2 +- Esm/ib/src/pm/pm/pm_pma.c | 2 +- Esm/ib/src/pm/pm/pm_sweep.c | 211 ++-------- Esm/ib/src/pm/pm/pm_vfs.c | 2 +- Esm/ib/src/smi/README | 2 +- Esm/ib/src/smi/include/README | 2 +- Esm/ib/src/smi/include/sa_l.h | 2 +- Esm/ib/src/smi/include/sm_activate.h | 2 +- Esm/ib/src/smi/include/sm_ar.h | 2 +- Esm/ib/src/smi/include/sm_cable_info.h | 2 +- Esm/ib/src/smi/include/sm_congestion.h | 2 +- Esm/ib/src/smi/include/sm_counters.h | 2 +- Esm/ib/src/smi/include/sm_dbsync.h | 2 +- Esm/ib/src/smi/include/sm_discovery.h | 2 +- Esm/ib/src/smi/include/sm_dor.h | 2 +- Esm/ib/src/smi/include/sm_l.h | 2 +- Esm/ib/src/smi/include/sm_lid_assignment.h | 2 +- Esm/ib/src/smi/include/sm_maihandle.h | 2 +- Esm/ib/src/smi/include/sm_parallelsweep.h | 2 +- Esm/ib/src/smi/include/sm_pkeys.h | 2 +- Esm/ib/src/smi/include/sm_qos.h | 2 +- Esm/ib/src/smi/include/sm_switch_info.h | 2 +- Esm/ib/src/smi/include/sm_update_fields.h | 2 +- Esm/ib/src/smi/include/stl_cca.h | 2 +- Esm/ib/src/smi/sa/README | 2 +- Esm/ib/src/smi/sa/sa_CongestionRecords.c | 2 +- Esm/ib/src/smi/sa/sa_DeviceGroupMembership.c | 2 +- Esm/ib/src/smi/sa/sa_DeviceGroupName.c | 4 +- Esm/ib/src/smi/sa/sa_DeviceTree.c | 2 +- Esm/ib/src/smi/sa/sa_FabricInfoRecord.c | 2 +- Esm/ib/src/smi/sa/sa_McMemberRecord.c | 6 +- Esm/ib/src/smi/sa/sa_NodeRecord.c | 2 +- Esm/ib/src/smi/sa/sa_PathRecord.c | 2 +- Esm/ib/src/smi/sa/sa_PortInfoRecord.c | 2 +- Esm/ib/src/smi/sa/sa_QuarantinedNodeRecord.c | 2 +- Esm/ib/src/smi/sa/sa_SCSCTableRecord.c | 4 +- Esm/ib/src/smi/sa/sa_SLSCTableRecord.c | 2 +- Esm/ib/src/smi/sa/sa_TraceRecord.c | 2 +- Esm/ib/src/smi/sa/sa_Trap.c | 4 +- Esm/ib/src/smi/sa/sa_VFabricRecord.c | 2 +- Esm/ib/src/smi/sa/sa_m.h | 2 +- Esm/ib/src/smi/sa/sa_main.c | 2 +- Esm/ib/src/smi/sa/sa_userexits.c | 4 +- Esm/ib/src/smi/sa/sa_utility.c | 4 +- Esm/ib/src/smi/sm/Makefile | 12 +- Esm/ib/src/smi/sm/README | 2 +- Esm/ib/src/smi/sm/sm_activate.c | 2 +- Esm/ib/src/smi/sm/sm_ar.c | 10 +- Esm/ib/src/smi/sm/sm_async.c | 2 +- Esm/ib/src/smi/sm/sm_attribute.c | 2 +- Esm/ib/src/smi/sm/sm_buffer_control_tables.c | 2 +- Esm/ib/src/smi/sm/sm_cable_info.c | 2 +- Esm/ib/src/smi/sm/sm_congestion.c | 2 +- Esm/ib/src/smi/sm/sm_control.c | 2 +- Esm/ib/src/smi/sm/sm_counters.c | 4 +- Esm/ib/src/smi/sm/sm_dbsync.c | 20 +- Esm/ib/src/smi/sm/sm_dbsync_util.c | 2 +- Esm/ib/src/smi/sm/sm_dgrouting.c | 2 +- Esm/ib/src/smi/sm/sm_diag_ctrl.c | 2 +- Esm/ib/src/smi/sm/sm_discovery.c | 4 +- Esm/ib/src/smi/sm/sm_dispatch.c | 2 +- Esm/ib/src/smi/sm/sm_dor.c | 4 +- Esm/ib/src/smi/sm/sm_fattree.c | 2 +- Esm/ib/src/smi/sm/sm_flapping.c | 2 +- Esm/ib/src/smi/sm/sm_fsm.c | 4 +- Esm/ib/src/smi/sm/sm_hypercube.c | 2 +- Esm/ib/src/smi/sm/sm_lid_assignment.c | 2 +- Esm/ib/src/smi/sm/sm_linux.c | 2 +- Esm/ib/src/smi/sm/sm_linux_proc.c | 2 +- Esm/ib/src/smi/sm/sm_main.c | 6 +- Esm/ib/src/smi/sm/sm_mkey.c | 2 +- Esm/ib/src/smi/sm/sm_multicast.c | 2 +- Esm/ib/src/smi/sm/sm_parallelsweep.c | 2 +- Esm/ib/src/smi/sm/sm_partMgr.c | 2 +- Esm/ib/src/smi/sm/sm_pkeys.c | 2 +- Esm/ib/src/smi/sm/sm_popo.c | 2 +- Esm/ib/src/smi/sm/sm_qos.c | 2 +- Esm/ib/src/smi/sm/sm_routing.c | 2 +- Esm/ib/src/smi/sm/sm_routing_funcs.c | 2 +- Esm/ib/src/smi/sm/sm_switch_info.c | 2 +- Esm/ib/src/smi/sm/sm_topology.c | 13 +- Esm/ib/src/smi/sm/sm_topology_rcv.c | 2 +- Esm/ib/src/smi/sm/sm_update_fields.c | 2 +- Esm/ib/src/smi/sm/sm_userexits.c | 2 +- Esm/ib/src/smi/sm/sm_utility.c | 51 ++- Esm/ib/src/smi/sm/sm_utility_hft.c | 2 +- Esm/ib/src/smi/sm/stl_cca.c | 2 +- Esm/ib/test/README | 2 +- Esm/ib/test/cs/README | 2 +- Esm/ib/test/linux/README | 2 +- Esm/ib/test/linux/cs/usr/Makefile | 12 +- Esm/ib/test/linux/cs/usr/README | 2 +- Esm/ib/test/linux/usr/Makefile | 12 +- Esm/ib/test/linux/usr/cs/Makefile | 12 +- Esm/ib/test/mai/README | 2 +- Esm/ib/test/mai/filter/Makefile | 12 +- Esm/ib/test/mai/filter/README | 2 +- Esm/ib/test/mai/handles/Makefile | 12 +- Esm/ib/test/mai/handles/README | 2 +- Esm/ib/test/mai/open/Makefile | 12 +- Esm/ib/test/mai/open/README | 2 +- Esm/ib/test/mai/perf/Makefile | 12 +- Esm/ib/test/mai/perf/README | 2 +- Esm/ib/test/mai/qp0/Makefile | 12 +- Esm/ib/test/mai/qp0/README | 2 +- Esm/ib/test/smi/Makefile | 12 +- Esm/ib/test/smi/README | 2 +- Esm/ib/test/smi/sm/Makefile | 12 +- Esm/ib/test/smi/sm/README | 2 +- Esm/rpm_runmake | 14 +- Esm/runmake | 12 +- Esm/setenv | 12 +- Esm/update_opa-fm_spec.sh | 22 +- Esm/update_opa-fm_spec.sh.base | 14 +- IbAccess/Common/Ibt/Cm/cm_active.c | 6 +- IbAccess/Common/Ibt/Vca/ibt_utils.c | 4 +- IbAccess/Common/Inc/ib_helper.h | 2 +- IbAccess/Common/Inc/ib_sd.h | 2 +- IbAccess/Common/Inc/stl_helper.h | 2 +- IbAccess/Common/Inc/stl_pa_priv.h | 2 +- IbAccess/Common/Inc/stl_pa_types.h | 2 +- IbAccess/Common/Inc/stl_pkt.h | 2 +- IbAccess/Common/Inc/stl_pm.h | 2 +- IbAccess/Common/Inc/stl_sa_priv.h | 2 +- IbAccess/Common/Inc/stl_sa_types.h | 2 +- IbAccess/Common/Inc/stl_sd.h | 2 +- IbAccess/Common/Inc/stl_sm_priv.h | 2 +- IbAccess/Common/Inc/stl_sm_types.h | 2 +- IbAccess/Common/Inc/stl_types.h | 2 +- IbAccess/Common/Inc/umadt.h | 2 +- IbAccess/Common/Public/ibyteswap.h | 4 +- IbAccess/Common/Public/ievent.h | 4 +- IbAccess/Common/Public/iheapmanager.c | 6 +- IbAccess/Common/Public/imemory.c | 2 +- IbAccess/Common/Public/imemory.h | 2 +- IbAccess/Common/Public/iquickmap.c | 4 +- IbAccess/Common/Public/iquickmap.h | 4 +- IbAccess/Common/Public/ithread.h | 4 +- IbAccess/Common/Public/ithreadpool.c | 4 +- IbAccess/Common/Public/ithreadpool.h | 4 +- IbAccess/Common/SubnetDriver/query.c | 4 +- IbAccess/Common/SubnetDriver/sa.c | 4 +- IbAccess/Common/SubnetDriver/sdc.c | 10 +- IbAccess/Common/SubnetDriver/sdsend.c | 6 +- IbAccess/UserLinux/Public/Makefile | 12 +- IbAccess/UserLinux/Public/ievent.c | 4 +- IbAccess/UserLinux/Public/ithread.c | 4 +- IbPrint/sa.c | 6 +- IbPrint/sd.c | 2 +- IbPrint/stl_pa.c | 2 +- IbPrint/stl_pm.c | 2 +- IbPrint/stl_print.h | 2 +- IbPrint/stl_sa.c | 2 +- IbPrint/stl_sma.c | 6 +- IbaTools/FastFabric/Makefile | 12 +- IbaTools/FastFabric/opacablehealthcron.sh | 2 +- IbaTools/FastFabric/opafastfabric.pl | 12 +- IbaTools/FastFabric/opasetupssh.sh | 12 +- IbaTools/FastFabric/opaswdisableall.sh | 2 +- IbaTools/FastFabric/opatest.sh | 12 +- IbaTools/FastFabric/opauploadall.sh | 12 +- IbaTools/FastFabric/restampFirmwares.sh | 12 +- IbaTools/Makefile | 12 +- IbaTools/opaxmlextract/Makefile | 12 +- IbaTools/opaxmlextract/opaextractlink.sh | 28 +- IbaTools/opaxmlextract/opaextractperf2.sh | 12 +- IbaTools/opaxmlextract/opaextractstat.sh | 12 +- IbaTools/opaxmlextract/opaextractstat2.sh | 12 +- IbaTools/opaxmlextract/opamergeperf2.sh | 12 +- IbaTools/opaxmlextract/opaxmlextract.c | 2 +- IbaTools/opaxmlfilter/opaxmlfilter.c | 8 +- MakeTemplates/Makerules.module | 12 +- MakeTools/Makefile | 12 +- MakeTools/format_releasetag.sh | 12 +- MakeTools/funcs-ext.sh | 12 +- MakeTools/get_comp.sh | 14 +- MakeTools/make_src_tar.sh | 12 +- MakeTools/patch_version/patch_version.c | 2 +- MakeTools/prep.sh | 12 +- MakeTools/rm_version/rm_version.c | 4 +- MakeTools/setenv | 15 +- MakeTools/unifdef2.sh | 396 ++++++++++++++---- MakeTools/unpack_comp.sh | 12 +- Makerules/Defs.Common | 12 +- Makerules/Defs.Flags | 12 +- Makerules/Maketargets.bsp | 12 +- Makerules/Maketargets.product | 12 +- Makerules/README | 12 +- Makerules/Rules.Common | 16 +- Makerules/Target.LINUX.GNU.X86_64 | 12 +- Topology/fabricdata.c | 2 +- Topology/focus.c | 2 +- Topology/mad.c | 2 +- Topology/point.c | 2 +- Topology/route.c | 2 +- Topology/search.c | 2 +- Topology/snapshot.c | 2 +- Topology/sweep.c | 2 +- Topology/topology.h | 2 +- Xml/config_compression.c | 4 +- Xml/ixml.c | 22 +- Xml/ixml.h | 8 +- Xml/ixml_ib.c | 2 +- Xml/ixml_ib.h | 2 +- Xml/opaxmlindent/opaxmlindent.c | 4 +- Xml/xml_sample/xml_sample.c | 4 +- Xml/xml_sample2/xml_sample2.c | 4 +- opa-fm.spec.in | 12 +- opamgt/include/opamgt_pa_priv.h | 2 +- opamgt/include/public/opamgt_pa.h | 2 +- opamgt/include/public/opamgt_sa.h | 2 +- opamgt/samples/saquery.c | 2 +- opamgt/src/ib_notice.c | 4 +- opamgt/src/omgt_oob_connections.c | 2 +- opamgt/src/omgt_oob_ssl.c | 4 +- opamgt/src/opamgt.c | 4 +- opamgt/src/opamgt_dump_mad.c | 2 +- opamgt/src/opamgt_pa.c | 54 +-- opamgt/src/opamgt_sa.c | 4 +- opamgt/src/opamgt_sa_notice.c | 4 +- opamgt/src/opamgt_sa_query.c | 2 +- 491 files changed, 3105 insertions(+), 1779 deletions(-) create mode 100644 CommonInstall/comp_delta_prereq_RHEL82.pl create mode 100644 CommonInstall/comp_delta_prereq_SLES152.pl create mode 100644 CommonInstall/comp_ff_of_prereq_RHEL82.pl create mode 100644 CommonInstall/comp_ff_of_prereq_RHEL82.pl.base create mode 100644 CommonInstall/comp_ff_of_prereq_SLES152.pl create mode 100644 CommonInstall/comp_ff_of_prereq_SLES152.pl.base create mode 100644 CommonInstall/comp_fm_prereq_RHEL82.pl create mode 100644 CommonInstall/comp_fm_prereq_RHEL82.pl.base create mode 100644 CommonInstall/comp_fm_prereq_SLES152.pl create mode 100644 CommonInstall/comp_fm_prereq_SLES152.pl.base diff --git a/CommonInstall/Makefile b/CommonInstall/Makefile index 3526e511..2f11768b 100644 --- a/CommonInstall/Makefile +++ b/CommonInstall/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for OPENIB_HOST Project @@ -97,11 +97,11 @@ CLEAN_TARGETS_MISC = CLEAN_TARGETS = $(OBJECTS) $(RSCOBJECTS) $(IDL_TARGETS) $(CLEAN_TARGETS_MISC) # other files to remove during clobber phase CLOBBER_TARGETS_MISC= comp_ff_of_prereq_RHEL72.pl comp_ff_of_prereq_RHEL73.pl comp_ff_of_prereq_RHEL74.pl comp_ff_of_prereq_RHEL75.pl comp_ff_of_prereq_RHEL76.pl \ - comp_ff_of_prereq_RHEL77.pl comp_ff_of_prereq_RHEL8.pl comp_ff_of_prereq_RHEL81.pl \ - comp_ff_of_prereq_SLES122.pl comp_ff_of_prereq_SLES123.pl comp_ff_of_prereq_SLES124.pl comp_ff_of_prereq_SLES15.pl comp_ff_of_prereq_SLES151.pl \ + comp_ff_of_prereq_RHEL77.pl comp_ff_of_prereq_RHEL8.pl comp_ff_of_prereq_RHEL81.pl comp_ff_of_prereq_RHEL82.pl comp_ff_of_prereq_SLES122.pl \ + comp_ff_of_prereq_SLES123.pl comp_ff_of_prereq_SLES124.pl comp_ff_of_prereq_SLES15.pl comp_ff_of_prereq_SLES151.pl comp_ff_of_prereq_SLES152.pl \ comp_fm_prereq_RHEL72.pl comp_fm_prereq_RHEL73.pl comp_fm_prereq_RHEL74.pl comp_fm_prereq_RHEL75.pl comp_fm_prereq_RHEL76.pl comp_fm_prereq_RHEL77.pl \ - comp_fm_prereq_RHEL8.pl comp_fm_prereq_RHEL81.pl comp_fm_prereq_SLES122.pl comp_fm_prereq_SLES123.pl comp_fm_prereq_SLES124.pl comp_fm_prereq_SLES15.pl \ - comp_fm_prereq_SLES151.pl + comp_fm_prereq_RHEL8.pl comp_fm_prereq_RHEL81.pl comp_fm_prereq_RHEL82.pl comp_fm_prereq_SLES122.pl comp_fm_prereq_SLES123.pl comp_fm_prereq_SLES124.pl \ + comp_fm_prereq_SLES15.pl comp_fm_prereq_SLES151.pl comp_fm_prereq_SLES152.pl # sub-directory to install to within bin BIN_SUBDIR = # sub-directory to install to within include @@ -129,14 +129,14 @@ LOCALDEPLIBS = FF_FILES = comp_ff_of_prereq_RHEL72.pl comp_ff_of_prereq_RHEL73.pl comp_ff_of_prereq_RHEL74.pl \ comp_ff_of_prereq_RHEL75.pl comp_ff_of_prereq_RHEL76.pl comp_ff_of_prereq_RHEL77.pl comp_ff_of_prereq_RHEL78.pl \ - comp_ff_of_prereq_RHEL8.pl comp_ff_of_prereq_RHEL81.pl \ + comp_ff_of_prereq_RHEL8.pl comp_ff_of_prereq_RHEL81.pl comp_ff_of_prereq_RHEL82.pl \ comp_ff_of_prereq_SLES122.pl comp_ff_of_prereq_SLES123.pl comp_ff_of_prereq_SLES124.pl \ - comp_ff_of_prereq_SLES15.pl comp_ff_of_prereq_SLES151.pl + comp_ff_of_prereq_SLES15.pl comp_ff_of_prereq_SLES151.pl comp_ff_of_prereq_SLES152.pl FM_FILES = comp_fm_prereq_RHEL72.pl comp_fm_prereq_RHEL73.pl comp_fm_prereq_RHEL74.pl \ comp_fm_prereq_RHEL75.pl comp_fm_prereq_RHEL76.pl comp_fm_prereq_RHEL77.pl comp_fm_prereq_RHEL78.pl \ - comp_fm_prereq_RHEL8.pl comp_fm_prereq_RHEL81.pl \ + comp_fm_prereq_RHEL8.pl comp_fm_prereq_RHEL81.pl comp_fm_prereq_RHEL82.pl \ comp_fm_prereq_SLES122.pl comp_fm_prereq_SLES123.pl comp_fm_prereq_SLES124.pl \ - comp_fm_prereq_SLES15.pl comp_fm_prereq_SLES151.pl + comp_fm_prereq_SLES15.pl comp_fm_prereq_SLES151.pl comp_fm_prereq_SLES152.pl # Include Make Rules definitions and rules include $(TL_DIR)/$(PROJ_FILE_DIR)/Makerules.project diff --git a/CommonInstall/comp_delta.pl b/CommonInstall/comp_delta.pl index 6839bcc5..42f84c82 100755 --- a/CommonInstall/comp_delta.pl +++ b/CommonInstall/comp_delta.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 # This file incorporates work covered by the following copyright and permission notice @@ -76,6 +76,7 @@ my @delta_kernel_srpms_sles12_sp5 = ( 'ifs-kernel-updates-kmp-default' ); my @delta_kernel_srpms_sles15 = ( 'ifs-kernel-updates-kmp-default' ); my @delta_kernel_srpms_sles15_sp1 = ( 'ifs-kernel-updates-kmp-default' ); +my @delta_kernel_srpms_sles15_sp2 = ( 'ifs-kernel-updates-kmp-default' ); my @delta_kernel_srpms_rhel73 = ( 'kmod-ifs-kernel-updates' ); my @delta_kernel_srpms_rhel74 = ( 'kmod-ifs-kernel-updates' ); my @delta_kernel_srpms_rhel75 = ( 'kmod-ifs-kernel-updates' ); @@ -84,6 +85,7 @@ my @delta_kernel_srpms_rhel78 = ( 'kmod-ifs-kernel-updates' ); my @delta_kernel_srpms_rhel8 = ( 'kmod-ifs-kernel-updates' ); my @delta_kernel_srpms_rhel81 = ( 'kmod-ifs-kernel-updates' ); +my @delta_kernel_srpms_rhel82 = ( 'kmod-ifs-kernel-updates' ); my @delta_kernel_srpms = ( ); # This provides information for all kernel srpms @@ -158,12 +160,17 @@ ($) } elsif ("$CUR_DISTRO_VENDOR" eq 'SuSE' && "$CUR_VENDOR_VER" eq 'ES151') { @delta_kernel_srpms = ( @delta_kernel_srpms_sles15_sp1 ); + } elsif ("$CUR_DISTRO_VENDOR" eq 'SuSE' + && "$CUR_VENDOR_VER" eq 'ES152') { + @delta_kernel_srpms = ( @delta_kernel_srpms_sles15_sp2 ); } elsif ( "$CUR_VENDOR_VER" eq "ES74" ) { if ($HFI2_INSTALL) { @delta_kernel_srpms = (@delta_kernel_srpms_rhel74_hfi2); } else { @delta_kernel_srpms = (@delta_kernel_srpms_rhel74); } + } elsif ( "$CUR_VENDOR_VER" eq "ES82" ) { + @delta_kernel_srpms = ( @delta_kernel_srpms_rhel82 ); } elsif ( "$CUR_VENDOR_VER" eq "ES81" ) { @delta_kernel_srpms = ( @delta_kernel_srpms_rhel81 ); } elsif ( "$CUR_VENDOR_VER" eq "ES8" ) { @@ -799,6 +806,9 @@ () return ( has_version_delta() && rpm_is_installed("kmod-ifs-kernel-updates", $CUR_OS_VER)); } + } elsif ( "$CUR_VENDOR_VER" eq "ES82" ) { + return ( has_version_delta() + && rpm_is_installed("kmod-ifs-kernel-updates", $CUR_OS_VER)); } elsif ( "$CUR_VENDOR_VER" eq "ES81" ) { return ( has_version_delta() && rpm_is_installed("kmod-ifs-kernel-updates", $CUR_OS_VER)); @@ -835,6 +845,9 @@ () } elsif ( "$CUR_VENDOR_VER" eq 'ES151' ) { return ( has_version_delta() && rpm_is_installed("ifs-kernel-updates-kmp-default", $CUR_OS_VER)); + } elsif ( "$CUR_VENDOR_VER" eq 'ES152' ) { + return ( has_version_delta() + && rpm_is_installed("ifs-kernel-updates-kmp-default", $CUR_OS_VER)); } else { return 0; } @@ -1135,6 +1148,9 @@ () } elsif ( "$CUR_VENDOR_VER" eq "ES81" ) { return (has_version_delta() && rpm_is_installed("kmod-ifs-kernel-updates", $CUR_OS_VER)); + } elsif ( "$CUR_VENDOR_VER" eq "ES82" ) { + return (has_version_delta() + && rpm_is_installed("kmod-ifs-kernel-updates", $CUR_OS_VER)); } elsif ( "$CUR_VENDOR_VER" eq "ES123" ) { return (has_version_delta() && rpm_is_installed("ifs-kernel-updates-kmp-default", $CUR_OS_VER)); @@ -1150,6 +1166,9 @@ () } elsif ( "$CUR_VENDOR_VER" eq "ES151" ) { return (has_version_delta() && rpm_is_installed("ifs-kernel-updates-kmp-default", $CUR_OS_VER)); + } elsif ( "$CUR_VENDOR_VER" eq "ES152" ) { + return (has_version_delta() + && rpm_is_installed("ifs-kernel-updates-kmp-default", $CUR_OS_VER)); } else { return 0; } diff --git a/CommonInstall/comp_delta_prereq_RHEL72.pl b/CommonInstall/comp_delta_prereq_RHEL72.pl index 5a9012f8..727e9056 100644 --- a/CommonInstall/comp_delta_prereq_RHEL72.pl +++ b/CommonInstall/comp_delta_prereq_RHEL72.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_delta_prereq_RHEL73.pl b/CommonInstall/comp_delta_prereq_RHEL73.pl index a2b29cf6..c6947381 100644 --- a/CommonInstall/comp_delta_prereq_RHEL73.pl +++ b/CommonInstall/comp_delta_prereq_RHEL73.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_delta_prereq_RHEL74.pl b/CommonInstall/comp_delta_prereq_RHEL74.pl index a7a3a2a0..86f77772 100644 --- a/CommonInstall/comp_delta_prereq_RHEL74.pl +++ b/CommonInstall/comp_delta_prereq_RHEL74.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_delta_prereq_RHEL75.pl b/CommonInstall/comp_delta_prereq_RHEL75.pl index 9bc57e02..b4ddacc3 100644 --- a/CommonInstall/comp_delta_prereq_RHEL75.pl +++ b/CommonInstall/comp_delta_prereq_RHEL75.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_delta_prereq_RHEL76.pl b/CommonInstall/comp_delta_prereq_RHEL76.pl index 8125735e..14ccab75 100644 --- a/CommonInstall/comp_delta_prereq_RHEL76.pl +++ b/CommonInstall/comp_delta_prereq_RHEL76.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_delta_prereq_RHEL77.pl b/CommonInstall/comp_delta_prereq_RHEL77.pl index 8125735e..14ccab75 100644 --- a/CommonInstall/comp_delta_prereq_RHEL77.pl +++ b/CommonInstall/comp_delta_prereq_RHEL77.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_delta_prereq_RHEL78.pl b/CommonInstall/comp_delta_prereq_RHEL78.pl index 8125735e..14ccab75 100644 --- a/CommonInstall/comp_delta_prereq_RHEL78.pl +++ b/CommonInstall/comp_delta_prereq_RHEL78.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_delta_prereq_RHEL8.pl b/CommonInstall/comp_delta_prereq_RHEL8.pl index 804443d6..9df64a9e 100644 --- a/CommonInstall/comp_delta_prereq_RHEL8.pl +++ b/CommonInstall/comp_delta_prereq_RHEL8.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2019, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_delta_prereq_RHEL81.pl b/CommonInstall/comp_delta_prereq_RHEL81.pl index 804443d6..9df64a9e 100644 --- a/CommonInstall/comp_delta_prereq_RHEL81.pl +++ b/CommonInstall/comp_delta_prereq_RHEL81.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2019, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_delta_prereq_RHEL82.pl b/CommonInstall/comp_delta_prereq_RHEL82.pl new file mode 100644 index 00000000..9df64a9e --- /dev/null +++ b/CommonInstall/comp_delta_prereq_RHEL82.pl @@ -0,0 +1,137 @@ +#!/usr/bin/perl +## BEGIN_ICS_COPYRIGHT8 **************************************** +# +# Copyright (c) 2015-2020, Intel Corporation +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of Intel Corporation nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +## END_ICS_COPYRIGHT8 **************************************** +# +## [ICS VERSION STRING: unknown] +#use strict; +##use Term::ANSIColor; +##use Term::ANSIColor qw(:constants); +##use File::Basename; +##use Math::BigInt; +# +## ========================================================================== +# +#Installation Prequisites array for delta components +my @opa_stack_prereq = ( + "bash", + "kernel", + "kmod", + "rdma-core", + "systemd", + "glibc", + "pciutils", + "opensm-libs", + "libibumad", + "rdma-core-devel", +); +$comp_prereq_hash{'opa_stack_prereq'} = \@opa_stack_prereq; + +my @mpi_selector_prereq = ( + "bash", + "coreutils", + "perl", + "perl-Getopt-Long", + "tcsh", +); +$comp_prereq_hash{'mpi_selector_prereq'} = \@mpi_selector_prereq; + +my @intel_hfi_prereq = ( + "bash", + "glibc", + "libgcc", + "python2", + "systemd", + "numactl-libs", + "irqbalance", + "libatomic", +); +$comp_prereq_hash{'intel_hfi_prereq'} = \@intel_hfi_prereq; + +my @mvapich2_prereq = ( + "bash", + "libibverbs", + "librdmacm", + "glibc", + "zlib", + "sysfsutils", +); +$comp_prereq_hash{'mvapich2_prereq'} = \@mvapich2_prereq; + +my @openmpi_prereq = ( + "bash", + "glibc", + "libgcc", + "libgfortran", + "gcc-gfortran", + "libgomp", + "libibverbs", + "libquadmath", + "librdmacm", + "libstdc++", + "libstdc++-devel", + "opensm-libs", + "pkgconf", + "zlib", +); +$comp_prereq_hash{'openmpi_prereq'} = \@openmpi_prereq; + +my @mvapich2_gcc_hfi_prereq = ( + "bash", + "zlib", + "glibc", +); +$comp_prereq_hash{'mvapich2_gcc_hfi_prereq'} = \@mvapich2_gcc_hfi_prereq; + +my @mvapich2_intel_hfi_prereq = ( + "bash", +); +$comp_prereq_hash{'mvapich2_intel_hfi_prereq'} = \@mvapich2_intel_hfi_prereq; + +my @openmpi_gcc_hfi_prereq = ( + "bash", + "glibc", + "libgcc", + "libgfortran", + "gcc-gfortran", + "libgomp", + "libibverbs", + "libquadmath", + "librdmacm", + "libstdc++", + "libstdc++-devel", + "opensm-libs", + "pkgconf", + "zlib", +); +$comp_prereq_hash{'openmpi_gcc_hfi_prereq'} = \@openmpi_gcc_hfi_prereq; + +my @openmpi_intel_hfi_prereq = ( + "bash", +); +$comp_prereq_hash{'openmpi_intel_hfi_prereq'} = \@openmpi_intel_hfi_prereq; diff --git a/CommonInstall/comp_delta_prereq_SLES122.pl b/CommonInstall/comp_delta_prereq_SLES122.pl index 7b44ffd5..939ac302 100644 --- a/CommonInstall/comp_delta_prereq_SLES122.pl +++ b/CommonInstall/comp_delta_prereq_SLES122.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_delta_prereq_SLES123.pl b/CommonInstall/comp_delta_prereq_SLES123.pl index 29b1c1f9..46a41587 100644 --- a/CommonInstall/comp_delta_prereq_SLES123.pl +++ b/CommonInstall/comp_delta_prereq_SLES123.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_delta_prereq_SLES124.pl b/CommonInstall/comp_delta_prereq_SLES124.pl index 9fe4f42c..5d1bcc07 100644 --- a/CommonInstall/comp_delta_prereq_SLES124.pl +++ b/CommonInstall/comp_delta_prereq_SLES124.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_delta_prereq_SLES125.pl b/CommonInstall/comp_delta_prereq_SLES125.pl index 25775824..6d7cec1d 100644 --- a/CommonInstall/comp_delta_prereq_SLES125.pl +++ b/CommonInstall/comp_delta_prereq_SLES125.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_delta_prereq_SLES15.pl b/CommonInstall/comp_delta_prereq_SLES15.pl index 305f034f..32d66fb0 100644 --- a/CommonInstall/comp_delta_prereq_SLES15.pl +++ b/CommonInstall/comp_delta_prereq_SLES15.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** # -# Copyright (c) 2015-2017, Intel Corporation +# Copyright (c) 2015-2020, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_delta_prereq_SLES151.pl b/CommonInstall/comp_delta_prereq_SLES151.pl index 172a3cad..60aeb984 100644 --- a/CommonInstall/comp_delta_prereq_SLES151.pl +++ b/CommonInstall/comp_delta_prereq_SLES151.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** # -# Copyright (c) 2015-2019, Intel Corporation +# Copyright (c) 2015-2020, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_delta_prereq_SLES152.pl b/CommonInstall/comp_delta_prereq_SLES152.pl new file mode 100644 index 00000000..ccac779f --- /dev/null +++ b/CommonInstall/comp_delta_prereq_SLES152.pl @@ -0,0 +1,138 @@ +#!/usr/bin/perl +## BEGIN_ICS_COPYRIGHT8 **************************************** +# +# Copyright (c) 2015-2020, Intel Corporation +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of Intel Corporation nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +## END_ICS_COPYRIGHT8 **************************************** +# +## [ICS VERSION STRING: unknown] +#use strict; +##use Term::ANSIColor; +##use Term::ANSIColor qw(:constants); +##use File::Basename; +##use Math::BigInt; +# +## ========================================================================== +# +#Installation Prequisites array for delta components +my @opa_stack_prereq = ( + "bash", + "kmod", + "rdma-core", + "rdma-ndd", + "systemd", + "coreutils", + "grep", + "libosmcomp5", + "libibmad5", + "libibumad3", + "rdma-core-devel", +); +$comp_prereq_hash{'opa_stack_prereq'} = \@opa_stack_prereq; + +my @intel_hfi_prereq = ( + "glibc", + "libgcc_s1", + "bash", + "udev", + "libudev-devel", + "python-base", + "libedit0", + "libncurses6", + "libnuma1", + "irqbalance", + "libatomic1", +); +$comp_prereq_hash{'intel_hfi_prereq'} = \@intel_hfi_prereq; + +my @mvapich2_gcc_hfi_prereq = ( + "bash", + "glibc", + "libz1", + "mpi-selector", +); +$comp_prereq_hash{'mvapich2_gcc_hfi_prereq'} = \@mvapich2_gcc_hfi_prereq; + +my @mvapich2_intel_hfi_prereq = ( + "bash", + "mpi-selector", +); +$comp_prereq_hash{'mvapich2_intel_hfi_prereq'} = \@mvapich2_intel_hfi_prereq; + +my @openmpi_gcc_hfi_prereq = ( + "glibc", + "bash", + "libpsm_infinipath1", + "pkg-config", + "libgcc_s1", + "libgfortran4", + "gcc-fortran", + "libgomp1", + "libibverbs1", + "libquadmath0", + "librdmacm1", + "libstdc++6", + "libz1", + "opensm-devel", + "mpi-selector", +); +$comp_prereq_hash{'openmpi_gcc_hfi_prereq'} = \@openmpi_gcc_hfi_prereq; + +my @openmpi_intel_hfi_prereq = ( + "bash", + "mpi-selector", +); +$comp_prereq_hash{'openmpi_intel_hfi_prereq'} = \@openmpi_intel_hfi_prereq; + +my @mvapich2_prereq = ( + "bash", + "libibverbs1", + "librdmacm1", + "glibc", + "libz1", + "mpi-selector", +); +$comp_prereq_hash{'mvapich2_prereq'} = \@mvapich2_prereq; + +my @openmpi_prereq = ( + "glibc", + "bash", + "libz1", + "pkg-config", + "libgcc_s1", + "libgfortran3", + "gcc-fortran", + "libgomp1", + "libibverbs1", + "libquadmath0", + "librdmacm1", + "libstdc++6", + "libz1", + "opensm-libs3", + "opensm-devel", + "mpi-selector", +); +$comp_prereq_hash{'openmpi_prereq'} = \@openmpi_prereq; diff --git a/CommonInstall/comp_fastfabric.pl b/CommonInstall/comp_fastfabric.pl index 1838e538..9737be0b 100755 --- a/CommonInstall/comp_fastfabric.pl +++ b/CommonInstall/comp_fastfabric.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL72.pl b/CommonInstall/comp_ff_of_prereq_RHEL72.pl index 7107407c..541e71f2 100644 --- a/CommonInstall/comp_ff_of_prereq_RHEL72.pl +++ b/CommonInstall/comp_ff_of_prereq_RHEL72.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL72.pl.base b/CommonInstall/comp_ff_of_prereq_RHEL72.pl.base index 7107407c..541e71f2 100644 --- a/CommonInstall/comp_ff_of_prereq_RHEL72.pl.base +++ b/CommonInstall/comp_ff_of_prereq_RHEL72.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL73.pl b/CommonInstall/comp_ff_of_prereq_RHEL73.pl index 407d31a5..c5fcbfef 100644 --- a/CommonInstall/comp_ff_of_prereq_RHEL73.pl +++ b/CommonInstall/comp_ff_of_prereq_RHEL73.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL73.pl.base b/CommonInstall/comp_ff_of_prereq_RHEL73.pl.base index 407d31a5..c5fcbfef 100644 --- a/CommonInstall/comp_ff_of_prereq_RHEL73.pl.base +++ b/CommonInstall/comp_ff_of_prereq_RHEL73.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL74.pl b/CommonInstall/comp_ff_of_prereq_RHEL74.pl index c45e66c2..c960e74e 100644 --- a/CommonInstall/comp_ff_of_prereq_RHEL74.pl +++ b/CommonInstall/comp_ff_of_prereq_RHEL74.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL74.pl.base b/CommonInstall/comp_ff_of_prereq_RHEL74.pl.base index c45e66c2..c960e74e 100644 --- a/CommonInstall/comp_ff_of_prereq_RHEL74.pl.base +++ b/CommonInstall/comp_ff_of_prereq_RHEL74.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL75.pl b/CommonInstall/comp_ff_of_prereq_RHEL75.pl index 591bbff3..49d4bd11 100644 --- a/CommonInstall/comp_ff_of_prereq_RHEL75.pl +++ b/CommonInstall/comp_ff_of_prereq_RHEL75.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL75.pl.base b/CommonInstall/comp_ff_of_prereq_RHEL75.pl.base index 591bbff3..49d4bd11 100644 --- a/CommonInstall/comp_ff_of_prereq_RHEL75.pl.base +++ b/CommonInstall/comp_ff_of_prereq_RHEL75.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL76.pl b/CommonInstall/comp_ff_of_prereq_RHEL76.pl index af44df6e..49d4bd11 100644 --- a/CommonInstall/comp_ff_of_prereq_RHEL76.pl +++ b/CommonInstall/comp_ff_of_prereq_RHEL76.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL76.pl.base b/CommonInstall/comp_ff_of_prereq_RHEL76.pl.base index af44df6e..49d4bd11 100644 --- a/CommonInstall/comp_ff_of_prereq_RHEL76.pl.base +++ b/CommonInstall/comp_ff_of_prereq_RHEL76.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL77.pl b/CommonInstall/comp_ff_of_prereq_RHEL77.pl index af44df6e..49d4bd11 100644 --- a/CommonInstall/comp_ff_of_prereq_RHEL77.pl +++ b/CommonInstall/comp_ff_of_prereq_RHEL77.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL77.pl.base b/CommonInstall/comp_ff_of_prereq_RHEL77.pl.base index af44df6e..49d4bd11 100644 --- a/CommonInstall/comp_ff_of_prereq_RHEL77.pl.base +++ b/CommonInstall/comp_ff_of_prereq_RHEL77.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL78.pl b/CommonInstall/comp_ff_of_prereq_RHEL78.pl index af44df6e..49d4bd11 100644 --- a/CommonInstall/comp_ff_of_prereq_RHEL78.pl +++ b/CommonInstall/comp_ff_of_prereq_RHEL78.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL78.pl.base b/CommonInstall/comp_ff_of_prereq_RHEL78.pl.base index af44df6e..49d4bd11 100644 --- a/CommonInstall/comp_ff_of_prereq_RHEL78.pl.base +++ b/CommonInstall/comp_ff_of_prereq_RHEL78.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL8.pl b/CommonInstall/comp_ff_of_prereq_RHEL8.pl index ee2fa786..49d4bd11 100644 --- a/CommonInstall/comp_ff_of_prereq_RHEL8.pl +++ b/CommonInstall/comp_ff_of_prereq_RHEL8.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2019, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL8.pl.base b/CommonInstall/comp_ff_of_prereq_RHEL8.pl.base index ee2fa786..49d4bd11 100644 --- a/CommonInstall/comp_ff_of_prereq_RHEL8.pl.base +++ b/CommonInstall/comp_ff_of_prereq_RHEL8.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2019, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL81.pl b/CommonInstall/comp_ff_of_prereq_RHEL81.pl index ee2fa786..49d4bd11 100644 --- a/CommonInstall/comp_ff_of_prereq_RHEL81.pl +++ b/CommonInstall/comp_ff_of_prereq_RHEL81.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2019, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL81.pl.base b/CommonInstall/comp_ff_of_prereq_RHEL81.pl.base index ee2fa786..49d4bd11 100644 --- a/CommonInstall/comp_ff_of_prereq_RHEL81.pl.base +++ b/CommonInstall/comp_ff_of_prereq_RHEL81.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2019, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_RHEL82.pl b/CommonInstall/comp_ff_of_prereq_RHEL82.pl new file mode 100644 index 00000000..49d4bd11 --- /dev/null +++ b/CommonInstall/comp_ff_of_prereq_RHEL82.pl @@ -0,0 +1,87 @@ +#!/usr/bin/perl +## BEGIN_ICS_COPYRIGHT8 **************************************** +# +# Copyright (c) 2015-2020, Intel Corporation +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of Intel Corporation nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +## END_ICS_COPYRIGHT8 **************************************** +# +## [ICS VERSION STRING: unknown] +#use strict; +##use Term::ANSIColor; +##use Term::ANSIColor qw(:constants); +##use File::Basename; +##use Math::BigInt; +# +## ========================================================================== +# +#Installation Prequisites array for fast fabric +#and of tools component +my @oftools_prereq = ( + "glibc", + "libgcc", + "libibumad", + "libibverbs", + "libstdc++", + "ibacm", + "rdma-core", +); +$comp_prereq_hash{'oftools_prereq'} = \@oftools_prereq; + +my @fastfabric_prereq = ( + "atlas", + "bash", + "bc", + "expat", + "expect", + "glibc", + "libgcc", + "libibumad", + "libibverbs", + "libstdc++", + "ncurses-libs", + "openssl-libs", + "perl", + "perl-Getopt-Long", + "perl-Socket", + "rdma-core", + "tcl", + "zlib", +); +$comp_prereq_hash{'fastfabric_prereq'} = \@fastfabric_prereq; + +my @opamgt_sdk_prereq = ( + "bash", + "glibc", + "libgcc", + "libibumad", + "libibverbs", + "libstdc++", + "openssl", + "openssl-devel", + "openssl-libs", + "rdma-core-devel", +); +$comp_prereq_hash{'opamgt_sdk_prereq'} = \@opamgt_sdk_prereq; diff --git a/CommonInstall/comp_ff_of_prereq_RHEL82.pl.base b/CommonInstall/comp_ff_of_prereq_RHEL82.pl.base new file mode 100644 index 00000000..49d4bd11 --- /dev/null +++ b/CommonInstall/comp_ff_of_prereq_RHEL82.pl.base @@ -0,0 +1,87 @@ +#!/usr/bin/perl +## BEGIN_ICS_COPYRIGHT8 **************************************** +# +# Copyright (c) 2015-2020, Intel Corporation +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of Intel Corporation nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +## END_ICS_COPYRIGHT8 **************************************** +# +## [ICS VERSION STRING: unknown] +#use strict; +##use Term::ANSIColor; +##use Term::ANSIColor qw(:constants); +##use File::Basename; +##use Math::BigInt; +# +## ========================================================================== +# +#Installation Prequisites array for fast fabric +#and of tools component +my @oftools_prereq = ( + "glibc", + "libgcc", + "libibumad", + "libibverbs", + "libstdc++", + "ibacm", + "rdma-core", +); +$comp_prereq_hash{'oftools_prereq'} = \@oftools_prereq; + +my @fastfabric_prereq = ( + "atlas", + "bash", + "bc", + "expat", + "expect", + "glibc", + "libgcc", + "libibumad", + "libibverbs", + "libstdc++", + "ncurses-libs", + "openssl-libs", + "perl", + "perl-Getopt-Long", + "perl-Socket", + "rdma-core", + "tcl", + "zlib", +); +$comp_prereq_hash{'fastfabric_prereq'} = \@fastfabric_prereq; + +my @opamgt_sdk_prereq = ( + "bash", + "glibc", + "libgcc", + "libibumad", + "libibverbs", + "libstdc++", + "openssl", + "openssl-devel", + "openssl-libs", + "rdma-core-devel", +); +$comp_prereq_hash{'opamgt_sdk_prereq'} = \@opamgt_sdk_prereq; diff --git a/CommonInstall/comp_ff_of_prereq_SLES122.pl b/CommonInstall/comp_ff_of_prereq_SLES122.pl index 630b16cd..0b0e76d0 100644 --- a/CommonInstall/comp_ff_of_prereq_SLES122.pl +++ b/CommonInstall/comp_ff_of_prereq_SLES122.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_SLES122.pl.base b/CommonInstall/comp_ff_of_prereq_SLES122.pl.base index 630b16cd..0b0e76d0 100644 --- a/CommonInstall/comp_ff_of_prereq_SLES122.pl.base +++ b/CommonInstall/comp_ff_of_prereq_SLES122.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_SLES123.pl b/CommonInstall/comp_ff_of_prereq_SLES123.pl index 0fc926da..1c0bcf28 100644 --- a/CommonInstall/comp_ff_of_prereq_SLES123.pl +++ b/CommonInstall/comp_ff_of_prereq_SLES123.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_SLES123.pl.base b/CommonInstall/comp_ff_of_prereq_SLES123.pl.base index 0fc926da..1c0bcf28 100644 --- a/CommonInstall/comp_ff_of_prereq_SLES123.pl.base +++ b/CommonInstall/comp_ff_of_prereq_SLES123.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_SLES124.pl b/CommonInstall/comp_ff_of_prereq_SLES124.pl index 02913349..1c0bcf28 100644 --- a/CommonInstall/comp_ff_of_prereq_SLES124.pl +++ b/CommonInstall/comp_ff_of_prereq_SLES124.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_SLES124.pl.base b/CommonInstall/comp_ff_of_prereq_SLES124.pl.base index 02913349..1c0bcf28 100644 --- a/CommonInstall/comp_ff_of_prereq_SLES124.pl.base +++ b/CommonInstall/comp_ff_of_prereq_SLES124.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_SLES125.pl b/CommonInstall/comp_ff_of_prereq_SLES125.pl index 02913349..1c0bcf28 100644 --- a/CommonInstall/comp_ff_of_prereq_SLES125.pl +++ b/CommonInstall/comp_ff_of_prereq_SLES125.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_SLES125.pl.base b/CommonInstall/comp_ff_of_prereq_SLES125.pl.base index 02913349..1c0bcf28 100644 --- a/CommonInstall/comp_ff_of_prereq_SLES125.pl.base +++ b/CommonInstall/comp_ff_of_prereq_SLES125.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_ff_of_prereq_SLES15.pl b/CommonInstall/comp_ff_of_prereq_SLES15.pl index 743ac94f..4eb9d8f1 100644 --- a/CommonInstall/comp_ff_of_prereq_SLES15.pl +++ b/CommonInstall/comp_ff_of_prereq_SLES15.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** # -# Copyright (c) 2015-2017, Intel Corporation +# Copyright (c) 2015-2020, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/CommonInstall/comp_ff_of_prereq_SLES15.pl.base b/CommonInstall/comp_ff_of_prereq_SLES15.pl.base index 743ac94f..4eb9d8f1 100644 --- a/CommonInstall/comp_ff_of_prereq_SLES15.pl.base +++ b/CommonInstall/comp_ff_of_prereq_SLES15.pl.base @@ -1,7 +1,7 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** # -# Copyright (c) 2015-2017, Intel Corporation +# Copyright (c) 2015-2020, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/CommonInstall/comp_ff_of_prereq_SLES151.pl b/CommonInstall/comp_ff_of_prereq_SLES151.pl index d51d0114..4eb9d8f1 100644 --- a/CommonInstall/comp_ff_of_prereq_SLES151.pl +++ b/CommonInstall/comp_ff_of_prereq_SLES151.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** # -# Copyright (c) 2015-2019, Intel Corporation +# Copyright (c) 2015-2020, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/CommonInstall/comp_ff_of_prereq_SLES151.pl.base b/CommonInstall/comp_ff_of_prereq_SLES151.pl.base index d51d0114..4eb9d8f1 100644 --- a/CommonInstall/comp_ff_of_prereq_SLES151.pl.base +++ b/CommonInstall/comp_ff_of_prereq_SLES151.pl.base @@ -1,7 +1,7 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** # -# Copyright (c) 2015-2019, Intel Corporation +# Copyright (c) 2015-2020, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/CommonInstall/comp_ff_of_prereq_SLES152.pl b/CommonInstall/comp_ff_of_prereq_SLES152.pl new file mode 100644 index 00000000..4eb9d8f1 --- /dev/null +++ b/CommonInstall/comp_ff_of_prereq_SLES152.pl @@ -0,0 +1,90 @@ +#!/usr/bin/perl +## BEGIN_ICS_COPYRIGHT8 **************************************** +# +# Copyright (c) 2015-2020, Intel Corporation +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of Intel Corporation nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +## END_ICS_COPYRIGHT8 **************************************** +# +## [ICS VERSION STRING: unknown] +#use strict; +##use Term::ANSIColor; +##use Term::ANSIColor qw(:constants); +##use File::Basename; +##use Math::BigInt; +# +## ========================================================================== +# +#Installation Prequisites array for fast fabric +#and of tools component + +my @oftools_prereq = ( + "glibc", + "libgcc_s1", + "libibmad5", + "libibumad3", + "libibverbs1", + "libstdc++6", + "ibacm", +); +$comp_prereq_hash{'oftools_prereq'} = \@oftools_prereq; + +my @fastfabric_prereq = ( + "glibc", + "bash", + "expect", + "perl-base", + "tcl", + "libexpat1", + "libgcc_s1", + "libibmad5", + "libibumad3", + "libibverbs1", + "libncurses6", + "libopenssl1_1", + "libstdc++6", + "libz1", + "bc", + "rdma-core", + "rdma-ndd", + "qperf", + "perftest", +); +$comp_prereq_hash{'fastfabric_prereq'} = \@fastfabric_prereq; + +my @opamgt_sdk_prereq = ( + "bash", + "glibc", + "libgcc_s1", + "libibumad3", + "libibverbs1", + "libopenssl-devel", + "libopenssl1_1", + "libstdc++6", + "openssl", + "rdma-core-devel", + "rdma-ndd", +); +$comp_prereq_hash{'opamgt_sdk_prereq'} = \@opamgt_sdk_prereq; diff --git a/CommonInstall/comp_ff_of_prereq_SLES152.pl.base b/CommonInstall/comp_ff_of_prereq_SLES152.pl.base new file mode 100644 index 00000000..4eb9d8f1 --- /dev/null +++ b/CommonInstall/comp_ff_of_prereq_SLES152.pl.base @@ -0,0 +1,90 @@ +#!/usr/bin/perl +## BEGIN_ICS_COPYRIGHT8 **************************************** +# +# Copyright (c) 2015-2020, Intel Corporation +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of Intel Corporation nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +## END_ICS_COPYRIGHT8 **************************************** +# +## [ICS VERSION STRING: unknown] +#use strict; +##use Term::ANSIColor; +##use Term::ANSIColor qw(:constants); +##use File::Basename; +##use Math::BigInt; +# +## ========================================================================== +# +#Installation Prequisites array for fast fabric +#and of tools component + +my @oftools_prereq = ( + "glibc", + "libgcc_s1", + "libibmad5", + "libibumad3", + "libibverbs1", + "libstdc++6", + "ibacm", +); +$comp_prereq_hash{'oftools_prereq'} = \@oftools_prereq; + +my @fastfabric_prereq = ( + "glibc", + "bash", + "expect", + "perl-base", + "tcl", + "libexpat1", + "libgcc_s1", + "libibmad5", + "libibumad3", + "libibverbs1", + "libncurses6", + "libopenssl1_1", + "libstdc++6", + "libz1", + "bc", + "rdma-core", + "rdma-ndd", + "qperf", + "perftest", +); +$comp_prereq_hash{'fastfabric_prereq'} = \@fastfabric_prereq; + +my @opamgt_sdk_prereq = ( + "bash", + "glibc", + "libgcc_s1", + "libibumad3", + "libibverbs1", + "libopenssl-devel", + "libopenssl1_1", + "libstdc++6", + "openssl", + "rdma-core-devel", + "rdma-ndd", +); +$comp_prereq_hash{'opamgt_sdk_prereq'} = \@opamgt_sdk_prereq; diff --git a/CommonInstall/comp_fm_prereq_RHEL72.pl b/CommonInstall/comp_fm_prereq_RHEL72.pl index 4a10b94f..add8bfbe 100644 --- a/CommonInstall/comp_fm_prereq_RHEL72.pl +++ b/CommonInstall/comp_fm_prereq_RHEL72.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_RHEL72.pl.base b/CommonInstall/comp_fm_prereq_RHEL72.pl.base index 4a10b94f..add8bfbe 100644 --- a/CommonInstall/comp_fm_prereq_RHEL72.pl.base +++ b/CommonInstall/comp_fm_prereq_RHEL72.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_RHEL73.pl b/CommonInstall/comp_fm_prereq_RHEL73.pl index 7566eaaf..fb94df1f 100644 --- a/CommonInstall/comp_fm_prereq_RHEL73.pl +++ b/CommonInstall/comp_fm_prereq_RHEL73.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_RHEL73.pl.base b/CommonInstall/comp_fm_prereq_RHEL73.pl.base index 7566eaaf..fb94df1f 100644 --- a/CommonInstall/comp_fm_prereq_RHEL73.pl.base +++ b/CommonInstall/comp_fm_prereq_RHEL73.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_RHEL74.pl b/CommonInstall/comp_fm_prereq_RHEL74.pl index 3c9d252b..63650196 100644 --- a/CommonInstall/comp_fm_prereq_RHEL74.pl +++ b/CommonInstall/comp_fm_prereq_RHEL74.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_RHEL74.pl.base b/CommonInstall/comp_fm_prereq_RHEL74.pl.base index 3c9d252b..63650196 100644 --- a/CommonInstall/comp_fm_prereq_RHEL74.pl.base +++ b/CommonInstall/comp_fm_prereq_RHEL74.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_RHEL75.pl b/CommonInstall/comp_fm_prereq_RHEL75.pl index 28a93771..bb834773 100644 --- a/CommonInstall/comp_fm_prereq_RHEL75.pl +++ b/CommonInstall/comp_fm_prereq_RHEL75.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_RHEL75.pl.base b/CommonInstall/comp_fm_prereq_RHEL75.pl.base index 28a93771..bb834773 100644 --- a/CommonInstall/comp_fm_prereq_RHEL75.pl.base +++ b/CommonInstall/comp_fm_prereq_RHEL75.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_RHEL76.pl b/CommonInstall/comp_fm_prereq_RHEL76.pl index a1664896..bb834773 100644 --- a/CommonInstall/comp_fm_prereq_RHEL76.pl +++ b/CommonInstall/comp_fm_prereq_RHEL76.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_RHEL76.pl.base b/CommonInstall/comp_fm_prereq_RHEL76.pl.base index a1664896..bb834773 100644 --- a/CommonInstall/comp_fm_prereq_RHEL76.pl.base +++ b/CommonInstall/comp_fm_prereq_RHEL76.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_RHEL77.pl b/CommonInstall/comp_fm_prereq_RHEL77.pl index a1664896..bb834773 100644 --- a/CommonInstall/comp_fm_prereq_RHEL77.pl +++ b/CommonInstall/comp_fm_prereq_RHEL77.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_RHEL77.pl.base b/CommonInstall/comp_fm_prereq_RHEL77.pl.base index a1664896..bb834773 100644 --- a/CommonInstall/comp_fm_prereq_RHEL77.pl.base +++ b/CommonInstall/comp_fm_prereq_RHEL77.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_RHEL78.pl b/CommonInstall/comp_fm_prereq_RHEL78.pl index a1664896..bb834773 100644 --- a/CommonInstall/comp_fm_prereq_RHEL78.pl +++ b/CommonInstall/comp_fm_prereq_RHEL78.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_RHEL78.pl.base b/CommonInstall/comp_fm_prereq_RHEL78.pl.base index a1664896..bb834773 100644 --- a/CommonInstall/comp_fm_prereq_RHEL78.pl.base +++ b/CommonInstall/comp_fm_prereq_RHEL78.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_RHEL8.pl b/CommonInstall/comp_fm_prereq_RHEL8.pl index c16ef219..21bbb78e 100644 --- a/CommonInstall/comp_fm_prereq_RHEL8.pl +++ b/CommonInstall/comp_fm_prereq_RHEL8.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2019, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_RHEL8.pl.base b/CommonInstall/comp_fm_prereq_RHEL8.pl.base index c16ef219..21bbb78e 100644 --- a/CommonInstall/comp_fm_prereq_RHEL8.pl.base +++ b/CommonInstall/comp_fm_prereq_RHEL8.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2019, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_RHEL81.pl b/CommonInstall/comp_fm_prereq_RHEL81.pl index c16ef219..21bbb78e 100644 --- a/CommonInstall/comp_fm_prereq_RHEL81.pl +++ b/CommonInstall/comp_fm_prereq_RHEL81.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2019, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_RHEL81.pl.base b/CommonInstall/comp_fm_prereq_RHEL81.pl.base index c16ef219..21bbb78e 100644 --- a/CommonInstall/comp_fm_prereq_RHEL81.pl.base +++ b/CommonInstall/comp_fm_prereq_RHEL81.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2019, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_RHEL82.pl b/CommonInstall/comp_fm_prereq_RHEL82.pl new file mode 100644 index 00000000..21bbb78e --- /dev/null +++ b/CommonInstall/comp_fm_prereq_RHEL82.pl @@ -0,0 +1,52 @@ +#!/usr/bin/perl +## BEGIN_ICS_COPYRIGHT8 **************************************** +# +# Copyright (c) 2015-2020, Intel Corporation +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of Intel Corporation nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +## END_ICS_COPYRIGHT8 **************************************** +# +## [ICS VERSION STRING: unknown] +#use strict; +##use Term::ANSIColor; +##use Term::ANSIColor qw(:constants); +##use File::Basename; +##use Math::BigInt; +# +## ========================================================================== +# +#Installation Prequisites array for opafm +my @opafm_prereq = ( + "bash", + "expat", + "glibc", + "libibumad", + "libibverbs", + "openssl-libs", + "rdma-core", + "systemd", + "zlib", +); +$comp_prereq_hash{'opafm_prereq'} = \@opafm_prereq; diff --git a/CommonInstall/comp_fm_prereq_RHEL82.pl.base b/CommonInstall/comp_fm_prereq_RHEL82.pl.base new file mode 100644 index 00000000..21bbb78e --- /dev/null +++ b/CommonInstall/comp_fm_prereq_RHEL82.pl.base @@ -0,0 +1,52 @@ +#!/usr/bin/perl +## BEGIN_ICS_COPYRIGHT8 **************************************** +# +# Copyright (c) 2015-2020, Intel Corporation +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of Intel Corporation nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +## END_ICS_COPYRIGHT8 **************************************** +# +## [ICS VERSION STRING: unknown] +#use strict; +##use Term::ANSIColor; +##use Term::ANSIColor qw(:constants); +##use File::Basename; +##use Math::BigInt; +# +## ========================================================================== +# +#Installation Prequisites array for opafm +my @opafm_prereq = ( + "bash", + "expat", + "glibc", + "libibumad", + "libibverbs", + "openssl-libs", + "rdma-core", + "systemd", + "zlib", +); +$comp_prereq_hash{'opafm_prereq'} = \@opafm_prereq; diff --git a/CommonInstall/comp_fm_prereq_SLES122.pl b/CommonInstall/comp_fm_prereq_SLES122.pl index 819b374d..f183d290 100644 --- a/CommonInstall/comp_fm_prereq_SLES122.pl +++ b/CommonInstall/comp_fm_prereq_SLES122.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_SLES122.pl.base b/CommonInstall/comp_fm_prereq_SLES122.pl.base index 819b374d..f183d290 100644 --- a/CommonInstall/comp_fm_prereq_SLES122.pl.base +++ b/CommonInstall/comp_fm_prereq_SLES122.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_SLES123.pl b/CommonInstall/comp_fm_prereq_SLES123.pl index 06aa0d42..81d6ef7a 100644 --- a/CommonInstall/comp_fm_prereq_SLES123.pl +++ b/CommonInstall/comp_fm_prereq_SLES123.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_SLES123.pl.base b/CommonInstall/comp_fm_prereq_SLES123.pl.base index 06aa0d42..81d6ef7a 100644 --- a/CommonInstall/comp_fm_prereq_SLES123.pl.base +++ b/CommonInstall/comp_fm_prereq_SLES123.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_SLES124.pl b/CommonInstall/comp_fm_prereq_SLES124.pl index aa0845d2..81d6ef7a 100644 --- a/CommonInstall/comp_fm_prereq_SLES124.pl +++ b/CommonInstall/comp_fm_prereq_SLES124.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_SLES124.pl.base b/CommonInstall/comp_fm_prereq_SLES124.pl.base index aa0845d2..81d6ef7a 100644 --- a/CommonInstall/comp_fm_prereq_SLES124.pl.base +++ b/CommonInstall/comp_fm_prereq_SLES124.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_SLES125.pl b/CommonInstall/comp_fm_prereq_SLES125.pl index aa0845d2..81d6ef7a 100644 --- a/CommonInstall/comp_fm_prereq_SLES125.pl +++ b/CommonInstall/comp_fm_prereq_SLES125.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_SLES125.pl.base b/CommonInstall/comp_fm_prereq_SLES125.pl.base index aa0845d2..81d6ef7a 100644 --- a/CommonInstall/comp_fm_prereq_SLES125.pl.base +++ b/CommonInstall/comp_fm_prereq_SLES125.pl.base @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# ## END_ICS_COPYRIGHT8 **************************************** # ## [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_fm_prereq_SLES15.pl b/CommonInstall/comp_fm_prereq_SLES15.pl index f4dac896..4987d7fe 100644 --- a/CommonInstall/comp_fm_prereq_SLES15.pl +++ b/CommonInstall/comp_fm_prereq_SLES15.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** # -# Copyright (c) 2015-2017, Intel Corporation +# Copyright (c) 2015-2020, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/CommonInstall/comp_fm_prereq_SLES15.pl.base b/CommonInstall/comp_fm_prereq_SLES15.pl.base index f4dac896..4987d7fe 100644 --- a/CommonInstall/comp_fm_prereq_SLES15.pl.base +++ b/CommonInstall/comp_fm_prereq_SLES15.pl.base @@ -1,7 +1,7 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** # -# Copyright (c) 2015-2017, Intel Corporation +# Copyright (c) 2015-2020, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/CommonInstall/comp_fm_prereq_SLES151.pl b/CommonInstall/comp_fm_prereq_SLES151.pl index 289eddb2..4987d7fe 100644 --- a/CommonInstall/comp_fm_prereq_SLES151.pl +++ b/CommonInstall/comp_fm_prereq_SLES151.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** # -# Copyright (c) 2015-2019, Intel Corporation +# Copyright (c) 2015-2020, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/CommonInstall/comp_fm_prereq_SLES151.pl.base b/CommonInstall/comp_fm_prereq_SLES151.pl.base index 289eddb2..4987d7fe 100644 --- a/CommonInstall/comp_fm_prereq_SLES151.pl.base +++ b/CommonInstall/comp_fm_prereq_SLES151.pl.base @@ -1,7 +1,7 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** # -# Copyright (c) 2015-2019, Intel Corporation +# Copyright (c) 2015-2020, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/CommonInstall/comp_fm_prereq_SLES152.pl b/CommonInstall/comp_fm_prereq_SLES152.pl new file mode 100644 index 00000000..4987d7fe --- /dev/null +++ b/CommonInstall/comp_fm_prereq_SLES152.pl @@ -0,0 +1,54 @@ +#!/usr/bin/perl +## BEGIN_ICS_COPYRIGHT8 **************************************** +# +# Copyright (c) 2015-2020, Intel Corporation +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of Intel Corporation nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +## END_ICS_COPYRIGHT8 **************************************** +# +## [ICS VERSION STRING: unknown] +#use strict; +##use Term::ANSIColor; +##use Term::ANSIColor qw(:constants); +##use File::Basename; +##use Math::BigInt; +# +## ========================================================================== +# +##Installation Prequisites array for opafm +my @opafm_prereq = ( + "glibc", + "bash", + "rdma-core", + "rdma-ndd", + "systemd", + "libexpat1", + "libibmad5", + "libibumad3", + "libibverbs1", + "libopenssl1_1", + "libz1", +); +$comp_prereq_hash{'opafm_prereq'} = \@opafm_prereq; diff --git a/CommonInstall/comp_fm_prereq_SLES152.pl.base b/CommonInstall/comp_fm_prereq_SLES152.pl.base new file mode 100644 index 00000000..4987d7fe --- /dev/null +++ b/CommonInstall/comp_fm_prereq_SLES152.pl.base @@ -0,0 +1,54 @@ +#!/usr/bin/perl +## BEGIN_ICS_COPYRIGHT8 **************************************** +# +# Copyright (c) 2015-2020, Intel Corporation +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of Intel Corporation nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# +## END_ICS_COPYRIGHT8 **************************************** +# +## [ICS VERSION STRING: unknown] +#use strict; +##use Term::ANSIColor; +##use Term::ANSIColor qw(:constants); +##use File::Basename; +##use Math::BigInt; +# +## ========================================================================== +# +##Installation Prequisites array for opafm +my @opafm_prereq = ( + "glibc", + "bash", + "rdma-core", + "rdma-ndd", + "systemd", + "libexpat1", + "libibmad5", + "libibumad3", + "libibverbs1", + "libopenssl1_1", + "libz1", +); +$comp_prereq_hash{'opafm_prereq'} = \@opafm_prereq; diff --git a/CommonInstall/comp_oftools.pl b/CommonInstall/comp_oftools.pl index 5cb5f59a..d6b6d653 100755 --- a/CommonInstall/comp_oftools.pl +++ b/CommonInstall/comp_oftools.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_omnipath.pl b/CommonInstall/comp_omnipath.pl index db957102..1a0da72e 100644 --- a/CommonInstall/comp_omnipath.pl +++ b/CommonInstall/comp_omnipath.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** #[ICS VERSION STRING: unknown] diff --git a/CommonInstall/comp_qlgc_fm.pl b/CommonInstall/comp_qlgc_fm.pl index c7473ab3..c4d06c94 100755 --- a/CommonInstall/comp_qlgc_fm.pl +++ b/CommonInstall/comp_qlgc_fm.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/CommonInstall/do_build.sh b/CommonInstall/do_build.sh index 548c2a2e..84568e67 100755 --- a/CommonInstall/do_build.sh +++ b/CommonInstall/do_build.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/CommonInstall/do_mvapich2_build.sh b/CommonInstall/do_mvapich2_build.sh index ba0abfca..58cd8eea 100755 --- a/CommonInstall/do_mvapich2_build.sh +++ b/CommonInstall/do_mvapich2_build.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # This file incorporates work covered by the following copyright and permission notice diff --git a/CommonInstall/do_openmpi_build.sh b/CommonInstall/do_openmpi_build.sh index 1f91ea0a..e6e16b48 100755 --- a/CommonInstall/do_openmpi_build.sh +++ b/CommonInstall/do_openmpi_build.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# +# # Copyright (c) 2015-2020, Intel Corporation -# +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # This file incorporates work covered by the following copyright and permission notice diff --git a/CommonInstall/main_omnipathwrap_delta.pl b/CommonInstall/main_omnipathwrap_delta.pl index c32475d2..421ab117 100644 --- a/CommonInstall/main_omnipathwrap_delta.pl +++ b/CommonInstall/main_omnipathwrap_delta.pl @@ -1,7 +1,7 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** # -# Copyright (c) 2015-2017, Intel Corporation +# Copyright (c) 2015-2020, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -77,6 +77,8 @@ @OmniPathAllComponents ); my @Components_sles15_sp1 = ( "opa_stack", @OmniPathAllComponents ); +my @Components_sles15_sp2 = ( "opa_stack", + @OmniPathAllComponents ); my @Components_rhel74 = ( "opa_stack", "mpi_selector", @OmniPathAllComponents ); my @Components_rhel75 = ( "opa_stack", "mpi_selector", @@ -91,6 +93,8 @@ @OmniPathAllComponents ); my @Components_rhel81 = ( "opa_stack", "mpi_selector", @OmniPathAllComponents ); +my @Components_rhel82 = ( "opa_stack", "mpi_selector", + @OmniPathAllComponents ); @Components = ( ); @@ -908,6 +912,36 @@ }, ); +my %intel_hfi_rhel82_comp_info = ( + "intel_hfi" => { Name => "Intel HFI Components", + DefaultInstall => $State_Install, + SrcDir => file_glob("./IntelOPA-OFA_DELTA.*"), + PreReq => " opa_stack ", CoReq => " oftools ", + # TBD - HasFirmware - FW update + Hidden => 0, Disabled => 0, IsOFA => 1, + KernelRpms => [ ], + FirmwareRpms => [ + "hfi1-firmware", "hfi1-firmware_debug" + ], + UserRpms => [ #"libhfi1", "libhfi1-static", + "libpsm2", + "libpsm2-devel", "libpsm2-compat", + "libfabric", "libfabric-devel", + "libfabric-psm2", "libfabric-verbs", + "hfi1-diagtools-sw", "hfidiags", + ], + DebugRpms => [ #"hfi1_debuginfo", + "hfi1-diagtools-sw-debuginfo", + "libpsm2-debuginfo", #"libhfi1-debuginfo" + ], + HasStart => 1, HasFirmware => 0, DefaultStart => 1, + StartPreReq => " opa_stack ", + StartComponents => [ "intel_hfi" ], + StartupScript => "", + StartupParams => [ ] + }, +); + # For SLES12sp3 that has different name for libpsm2 my %intel_hfi_sles123_comp_info = ( "intel_hfi" => { Name => "Intel HFI Components", @@ -1270,6 +1304,14 @@ sub init_components %opa_stack_dev_comp_info, %opa_stack_rhel_comp_info, ); + } elsif ( "$CUR_VENDOR_VER" eq "ES82" ) { + @Components = ( @Components_rhel82 ); + @SubComponents = ( @SubComponents_newer ); + %ComponentInfo = ( %ComponentInfo, %ibacm_comp_info, + %intel_hfi_rhel82_comp_info, + %opa_stack_dev_comp_info, + %opa_stack_rhel_comp_info, + ); } elsif ( "$CUR_VENDOR_VER" eq "ES15" ) { @Components = ( @Components_sles15 ); @SubComponents = ( @SubComponents_newer ); @@ -1286,6 +1328,14 @@ sub init_components %opa_stack_dev_comp_info, %opa_stack_sles15_comp_info, ); + } elsif ( "$CUR_VENDOR_VER" eq "ES152" ) { + @Components = ( @Components_sles15_sp2 ); + @SubComponents = ( @SubComponents_newer ); + %ComponentInfo = ( %ComponentInfo, %ibacm_comp_info, + %intel_hfi_sles15_comp_info, + %opa_stack_dev_comp_info, + %opa_stack_sles15_comp_info, + ); } else { # unknown or unsupported distro, leave lists empty # verify_distrib_files will catch unsupported distro diff --git a/CommonInstall/ofed_firmware.pl b/CommonInstall/ofed_firmware.pl index 221d30df..7603cf34 100755 --- a/CommonInstall/ofed_firmware.pl +++ b/CommonInstall/ofed_firmware.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/CommonInstall/overrides_delta.pl b/CommonInstall/overrides_delta.pl index 89e8109b..dc9ac640 100644 --- a/CommonInstall/overrides_delta.pl +++ b/CommonInstall/overrides_delta.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] @@ -90,6 +90,10 @@ "opa_stack_dev", "delta_ipoib", "delta_debug", ); +my @delta_Components_rhel82 = ( "opa_stack", "mpi_selector", "intel_hfi", + "opa_stack_dev", + "delta_ipoib", + "delta_debug", ); my @delta_Components_sles15 = ( "opa_stack", "intel_hfi", "opa_stack_dev", "delta_ipoib", @@ -98,6 +102,10 @@ "opa_stack_dev", "delta_ipoib", "delta_debug", ); +my @delta_Components_sles15_sp2 = ( "opa_stack", "intel_hfi", + "opa_stack_dev", + "delta_ipoib", + "delta_debug", ); @Components = ( ); # RHEL7.2, ibacm is a full component with rpms to install @@ -136,10 +144,14 @@ () @Components = ( @delta_Components_rhel8 ); } elsif ( "$CUR_VENDOR_VER" eq "ES81" ) { @Components = ( @delta_Components_rhel81 ); + } elsif ( "$CUR_VENDOR_VER" eq "ES82" ) { + @Components = ( @delta_Components_rhel82 ); } elsif ( "$CUR_VENDOR_VER" eq "ES15" ) { @Components = ( @delta_Components_sles15 ); } elsif ( "$CUR_VENDOR_VER" eq "ES151" ) { @Components = ( @delta_Components_sles15_sp1 ); + } elsif ( "$CUR_VENDOR_VER" eq "ES152" ) { + @Components = ( @delta_Components_sles15_sp2 ); } else { # unsupported OS @Components = ( ); diff --git a/CommonInstall/util_basicfile.pl b/CommonInstall/util_basicfile.pl index 53cbbcbe..045e8e48 100755 --- a/CommonInstall/util_basicfile.pl +++ b/CommonInstall/util_basicfile.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/CommonInstall/util_basicio.pl b/CommonInstall/util_basicio.pl index 7bcd5132..89a134e4 100755 --- a/CommonInstall/util_basicio.pl +++ b/CommonInstall/util_basicio.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/CommonInstall/util_blacklist.pl b/CommonInstall/util_blacklist.pl index 8d819fcc..fe724428 100755 --- a/CommonInstall/util_blacklist.pl +++ b/CommonInstall/util_blacklist.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/CommonInstall/util_build.pl b/CommonInstall/util_build.pl index 2169db70..89a96d2b 100755 --- a/CommonInstall/util_build.pl +++ b/CommonInstall/util_build.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/CommonInstall/util_components.pl b/CommonInstall/util_components.pl index 4e6021e8..15752326 100755 --- a/CommonInstall/util_components.pl +++ b/CommonInstall/util_components.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/CommonInstall/util_configfile.pl b/CommonInstall/util_configfile.pl index 8ed527a2..b593bcb6 100755 --- a/CommonInstall/util_configfile.pl +++ b/CommonInstall/util_configfile.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # diff --git a/CommonInstall/util_deb.pl b/CommonInstall/util_deb.pl index 9c8d2baf..3a033215 100755 --- a/CommonInstall/util_deb.pl +++ b/CommonInstall/util_deb.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/CommonInstall/util_driver.pl b/CommonInstall/util_driver.pl index 80ac93de..8e7b4df9 100755 --- a/CommonInstall/util_driver.pl +++ b/CommonInstall/util_driver.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/CommonInstall/util_hosttools.pl b/CommonInstall/util_hosttools.pl index 7274801d..d87dfda9 100755 --- a/CommonInstall/util_hosttools.pl +++ b/CommonInstall/util_hosttools.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/CommonInstall/util_ifcfg.pl b/CommonInstall/util_ifcfg.pl index d847b5eb..a8304415 100755 --- a/CommonInstall/util_ifcfg.pl +++ b/CommonInstall/util_ifcfg.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/CommonInstall/util_init.pl b/CommonInstall/util_init.pl index 623961e7..fb2979df 100755 --- a/CommonInstall/util_init.pl +++ b/CommonInstall/util_init.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl ## BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/CommonInstall/util_linuxconfig.pl b/CommonInstall/util_linuxconfig.pl index e80ff0fd..a7c0ca48 100755 --- a/CommonInstall/util_linuxconfig.pl +++ b/CommonInstall/util_linuxconfig.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/CommonInstall/util_rpm.pl b/CommonInstall/util_rpm.pl index 9851bd4e..512cfdd1 100755 --- a/CommonInstall/util_rpm.pl +++ b/CommonInstall/util_rpm.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] @@ -727,7 +727,7 @@ ($$) } else { my $osver = rpm_tr_os_version("$mode"); # OS version # we expect 1 match, ignore all other filenames returned - if ( "$CUR_VENDOR_VER" eq 'ES122' || "$CUR_VENDOR_VER" eq 'ES123' || "$CUR_VENDOR_VER" eq 'ES124' || "$CUR_VENDOR_VER" eq 'ES125' ||"$CUR_VENDOR_VER" eq 'ES15' || "$CUR_VENDOR_VER" eq 'ES151') { + if ( "$CUR_VENDOR_VER" eq 'ES122' || "$CUR_VENDOR_VER" eq 'ES123' || "$CUR_VENDOR_VER" eq 'ES124' || "$CUR_VENDOR_VER" eq 'ES125' ||"$CUR_VENDOR_VER" eq 'ES15' || "$CUR_VENDOR_VER" eq 'ES151' || "$CUR_VENDOR_VER" eq 'ES152' ) { DebugPrint("Checking for Kernel Rpm: ${rpmpath}-${osver}_k*.${cpu}.rpm\n"); $rpmfile = file_glob("${rpmpath}-${osver}_k*.${cpu}.rpm"); } else { diff --git a/CommonInstall/util_startup.pl b/CommonInstall/util_startup.pl index b8a3f06b..c0020eb8 100755 --- a/CommonInstall/util_startup.pl +++ b/CommonInstall/util_startup.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/Esm/Makefile.linux b/Esm/Makefile.linux index b26e1d80..4ab2ebb3 100644 --- a/Esm/Makefile.linux +++ b/Esm/Makefile.linux @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for Esm Project @@ -142,6 +142,9 @@ endif ifeq "$(BUILD_TARGET_OS_VENDOR_VERSION)" "ES81" PREREQ_SOURCE= $(TL_DIR)/CommonInstall/comp_fm_prereq_RHEL81.pl endif +ifeq "$(BUILD_TARGET_OS_VENDOR_VERSION)" "ES82" + PREREQ_SOURCE= $(TL_DIR)/CommonInstall/comp_fm_prereq_RHEL82.pl +endif ifeq "$(BUILD_TARGET_OS_VENDOR_VERSION)" "ES122" PREREQ_SOURCE= $(TL_DIR)/CommonInstall/comp_fm_prereq_SLES122.pl endif @@ -160,6 +163,9 @@ endif ifeq "$(BUILD_TARGET_OS_VENDOR_VERSION)" "ES151" PREREQ_SOURCE= $(TL_DIR)/CommonInstall/comp_fm_prereq_SLES151.pl endif +ifeq "$(BUILD_TARGET_OS_VENDOR_VERSION)" "ES152" + PREREQ_SOURCE= $(TL_DIR)/CommonInstall/comp_fm_prereq_SLES152.pl +endif # Source files to include in DSP File @@ -242,6 +248,10 @@ comp.pl: $(COMP_SOURCES) cat $(PREREQ_SOURCE) $(COMP_SOURCES) > comp.pl chmod +x comp.pl +fmbuild: fmbuild.base + cp $< $@ + sed -i "s/__FEATURE_SET__/$(OPA_FEATURE_SET)/" $@ + # install for includes, libs and cmds phases include $(TL_DIR)/Makerules/Maketargets.install @@ -283,7 +293,7 @@ endif cd $(PROJ_STAGE_DIR) && $(PATCH_BRAND) -m % "$(BUILD_BRAND)" INSTALL # package builds standard package -package: +package: fmbuild mkdir -p $(RELEASE_DIR) rm -f packaged_files dist_files cd $(STAGE_DIR) ; \ diff --git a/Esm/Makerules.project b/Esm/Makerules.project index c3883708..65b3a614 100755 --- a/Esm/Makerules.project +++ b/Esm/Makerules.project @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** ## Rules for ALL_HOST project #=============================================================================# diff --git a/Esm/Makesettings.project b/Esm/Makesettings.project index 2c7d9e15..a2e05d28 100644 --- a/Esm/Makesettings.project +++ b/Esm/Makesettings.project @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** ## Make Settings at project level #=============================================================================# diff --git a/Esm/README b/Esm/README index 94096cb6..996503b7 100644 --- a/Esm/README +++ b/Esm/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/build.env b/Esm/build.env index 4dd7478c..6bd94582 100644 --- a/Esm/build.env +++ b/Esm/build.env @@ -1,6 +1,6 @@ # Adjust the environment variables if necessary export PRODUCT=VIEO_HOST -export RELEASE_TAG=10_10_2_0_44 +export RELEASE_TAG=10_10_3_0_11 export BUILD_CONFIG=${BUILD_CONFIG:-"release"} export BUILD_WITH_STACK=OPENIB export LDENVFS= diff --git a/Esm/build_label b/Esm/build_label index 7f7cfe94..e4d14924 100644 --- a/Esm/build_label +++ b/Esm/build_label @@ -1 +1 @@ -Build of VIEO_HOST 03/18/20 23:55 Tag: VIEO_HOST_LINUX_opa-10_10_10_10_2_0_44 +Build of VIEO_HOST 06/30/20 23:58 Tag: VIEO_HOST_LINUX_opa-10_10_10_10_3_0_11 diff --git a/Esm/fm_install.sh b/Esm/fm_install.sh index 93adc3a5..ee7c125c 100755 --- a/Esm/fm_install.sh +++ b/Esm/fm_install.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** [ -z "${BUILDDIR}" ] && BUILDDIR="." diff --git a/Esm/fm_install.sh.base b/Esm/fm_install.sh.base index 93adc3a5..ee7c125c 100755 --- a/Esm/fm_install.sh.base +++ b/Esm/fm_install.sh.base @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** [ -z "${BUILDDIR}" ] && BUILDDIR="." diff --git a/Esm/fmbuild b/Esm/fmbuild index 9664a030..4f031a9a 100755 --- a/Esm/fmbuild +++ b/Esm/fmbuild @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # This is the main build script used with the FM src rpm's %build operation diff --git a/Esm/fmbuild.base b/Esm/fmbuild.base index 9664a030..4f031a9a 100755 --- a/Esm/fmbuild.base +++ b/Esm/fmbuild.base @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # This is the main build script used with the FM src rpm's %build operation diff --git a/Esm/get_id_and_versionid.sh b/Esm/get_id_and_versionid.sh index c6073cb0..09ae69ae 100755 --- a/Esm/get_id_and_versionid.sh +++ b/Esm/get_id_and_versionid.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** if [ -f /etc/os-release ] diff --git a/Esm/ib/Makefile b/Esm/ib/Makefile index 99b66941..a3942728 100755 --- a/Esm/ib/Makefile +++ b/Esm/ib/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/Makerules.module b/Esm/ib/Makerules.module index d370bca4..7d7ad4d9 100644 --- a/Esm/ib/Makerules.module +++ b/Esm/ib/Makerules.module @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** ## Rules for SM module #=============================================================================# diff --git a/Esm/ib/README b/Esm/ib/README index 824e5db8..71128365 100644 --- a/Esm/ib/README +++ b/Esm/ib/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/doc/cs/README b/Esm/ib/doc/cs/README index 2a87f97a..cee95d0e 100644 --- a/Esm/ib/doc/cs/README +++ b/Esm/ib/doc/cs/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/include/README b/Esm/ib/include/README index a22314f7..c575ec14 100644 --- a/Esm/ib/include/README +++ b/Esm/ib/include/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/include/cs_g.h b/Esm/ib/include/cs_g.h index 359be6c8..8fddf6f7 100644 --- a/Esm/ib/include/cs_g.h +++ b/Esm/ib/include/cs_g.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/include/cs_log.h b/Esm/ib/include/cs_log.h index b0795e59..614652c9 100644 --- a/Esm/ib/include/cs_log.h +++ b/Esm/ib/include/cs_log.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/include/fm_xml.h b/Esm/ib/include/fm_xml.h index 641d3a33..21783620 100644 --- a/Esm/ib/include/fm_xml.h +++ b/Esm/ib/include/fm_xml.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/include/hsm_com_srvr_api.h b/Esm/ib/include/hsm_com_srvr_api.h index d241bb23..cbeb2334 100644 --- a/Esm/ib/include/hsm_com_srvr_api.h +++ b/Esm/ib/include/hsm_com_srvr_api.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/include/hsm_config_srvr_api.h b/Esm/ib/include/hsm_config_srvr_api.h index 13680616..d41357e1 100644 --- a/Esm/ib/include/hsm_config_srvr_api.h +++ b/Esm/ib/include/hsm_config_srvr_api.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/include/hsm_config_srvr_data.h b/Esm/ib/include/hsm_config_srvr_data.h index 6d6c5813..ceefb075 100644 --- a/Esm/ib/include/hsm_config_srvr_data.h +++ b/Esm/ib/include/hsm_config_srvr_data.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/include/ib_sm.h b/Esm/ib/include/ib_sm.h index f86491c8..bc41e582 100644 --- a/Esm/ib/include/ib_sm.h +++ b/Esm/ib/include/ib_sm.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/include/ifs_g.h b/Esm/ib/include/ifs_g.h index 2c90c385..caec0960 100644 --- a/Esm/ib/include/ifs_g.h +++ b/Esm/ib/include/ifs_g.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/include/mai_g.h b/Esm/ib/include/mai_g.h index 4287fc23..31fb9c0b 100644 --- a/Esm/ib/include/mai_g.h +++ b/Esm/ib/include/mai_g.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/include/vs_g.h b/Esm/ib/include/vs_g.h index 48173a13..54359a85 100644 --- a/Esm/ib/include/vs_g.h +++ b/Esm/ib/include/vs_g.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/man/Makefile b/Esm/ib/man/Makefile index 46a676d0..82485bbb 100644 --- a/Esm/ib/man/Makefile +++ b/Esm/ib/man/Makefile @@ -1,4 +1,30 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** +# +# Copyright (c) 2015-2020, Intel Corporation +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# * Redistributions of source code must retain the above copyright notice, +# this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of Intel Corporation nor the names of its contributors +# may be used to endorse or promote products derived from this software +# without specific prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE +# DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE +# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR +# SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER +# CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, +# OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE +# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for IbaTools/man diff --git a/Esm/ib/src/Makefile b/Esm/ib/src/Makefile index b1ad9190..b477892c 100755 --- a/Esm/ib/src/Makefile +++ b/Esm/ib/src/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/src/README b/Esm/ib/src/README index 65940e9a..ab2297a1 100644 --- a/Esm/ib/src/README +++ b/Esm/ib/src/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/config/Makefile b/Esm/ib/src/config/Makefile index 0d524df8..9584533b 100644 --- a/Esm/ib/src/config/Makefile +++ b/Esm/ib/src/config/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/src/config/README b/Esm/ib/src/config/README index 75725df4..a84b0e32 100644 --- a/Esm/ib/src/config/README +++ b/Esm/ib/src/config/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/config/fm_digest.c b/Esm/ib/src/config/fm_digest.c index 7a2b295d..ad4745a7 100644 --- a/Esm/ib/src/config/fm_digest.c +++ b/Esm/ib/src/config/fm_digest.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/config/fm_digest.h b/Esm/ib/src/config/fm_digest.h index 7d6a41e7..14e277b8 100644 --- a/Esm/ib/src/config/fm_digest.h +++ b/Esm/ib/src/config/fm_digest.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/config/fm_xml.c b/Esm/ib/src/config/fm_xml.c index 3acb6b10..43b7e6da 100644 --- a/Esm/ib/src/config/fm_xml.c +++ b/Esm/ib/src/config/fm_xml.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -242,7 +242,7 @@ int getXMLConfigData(uint8_t *buffer, uint32_t bufflen, uint32_t *filelen) buffer[index++] = nextByte; if (index >= bufflen) { *filelen = 0; - IB_LOG_ERROR("Buffer overrun geting ESM config file! rc:",0x0020); + IB_LOG_ERROR("Buffer overrun getting ESM config file! rc:",0x0020); fclose(file); return -1; } @@ -940,7 +940,7 @@ void BasisU8XmlParserEnd(IXmlParserState_t *state, const IXML_FIELD *field, void return; } if (!content) { - IXmlParserPrintError(state, "Invald %s tag value, cannot be empty", field->tag); + IXmlParserPrintError(state, "Invalid %s tag value, cannot be empty", field->tag); return; } @@ -5452,7 +5452,7 @@ static void SmMcastDgXmlParserEnd(IXmlParserState_t *state, const IXML_FIELD *fi // if the group is disabled; skip it if (mdgp->def_mc_create == 0) { if (xml_parse_debug) - fprintf(stdout, "MulticastGroup ingnored: Create == 0\n"); + fprintf(stdout, "MulticastGroup ignored: Create == 0\n"); goto cleanup; } @@ -6740,7 +6740,7 @@ static void FeTrapNumberParserEnd(IXmlParserState_t *state, const IXML_FIELD *fi } if (feTrapSubInstance >= FE_MAX_TRAP_SUBS && trap_num != TRAP_ALL) { - IXmlParserPrintWarning(state, "Trap Subscriptions Limit Excceded, only %u Subscriptions. Trap %u will be ignored", + IXmlParserPrintWarning(state, "Trap Subscriptions Limit Exceeded, only %u Subscriptions. Trap %u will be ignored", FE_MAX_TRAP_SUBS, trap_num); return; } diff --git a/Esm/ib/src/cs/Makefile b/Esm/ib/src/cs/Makefile index 28f56ce9..7d083e2f 100644 --- a/Esm/ib/src/cs/Makefile +++ b/Esm/ib/src/cs/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/src/cs/README b/Esm/ib/src/cs/README index c57b094d..9feafb0a 100644 --- a/Esm/ib/src/cs/README +++ b/Esm/ib/src/cs/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/cs/cs_bitset.c b/Esm/ib/src/cs/cs_bitset.c index 9a073fb7..716bcbc1 100644 --- a/Esm/ib/src/cs/cs_bitset.c +++ b/Esm/ib/src/cs/cs_bitset.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/cs/cs_context.c b/Esm/ib/src/cs/cs_context.c index 888535e2..133365b4 100644 --- a/Esm/ib/src/cs/cs_context.c +++ b/Esm/ib/src/cs/cs_context.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/cs/cs_csm_log.c b/Esm/ib/src/cs/cs_csm_log.c index 8fa03087..ef0477f4 100644 --- a/Esm/ib/src/cs/cs_csm_log.c +++ b/Esm/ib/src/cs/cs_csm_log.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/cs/cs_queue.c b/Esm/ib/src/cs/cs_queue.c index cb8d2cb6..eac1a34c 100644 --- a/Esm/ib/src/cs/cs_queue.c +++ b/Esm/ib/src/cs/cs_queue.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -82,7 +82,7 @@ cs_Queue_ptr cs_queue_CreateQueue( Pool_t *pool, uint32_t MaxElements ) { que->Capacity = MaxElements; cs_queue_MakeEmpty( que ); IB_LOG_VERBOSE_FMT(__func__, - "Created Queue with entry count of %d and total Queue aize of %d", + "Created Queue with entry count of %d and total Queue size of %d", que->Capacity, qsize); } return que; diff --git a/Esm/ib/src/cs/cs_utility.c b/Esm/ib/src/cs/cs_utility.c index dd0c0ace..2b6a5b1a 100644 --- a/Esm/ib/src/cs/cs_utility.c +++ b/Esm/ib/src/cs/cs_utility.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -396,7 +396,7 @@ cs_convert_status (Status_t status) { case VSTATUS_UNRECOVERABLE: return "108: unrecoverable error"; case VSTATUS_TIMEOUT_LIMIT: return "109: cumulative timeout limit reached"; case VSTATUS_ITERATOR_OUT_OF_DATE: return "119: data referred by case updated or deleted."; - case VSTATUS_INSUFFICIENT_PERMISSION: return "120: client has insufficient privillages"; + case VSTATUS_INSUFFICIENT_PERMISSION: return "120: client has insufficient privileges"; case VSTATUS_INVALID_CQ_HANDLE: return "126: CQ handle is invalid"; case VSTATUS_INVALID_FORMAT: return "127: Data format is invalid"; case VSTATUS_REJECT: return "128: Request rejected"; diff --git a/Esm/ib/src/cs/vs_pool_common.c b/Esm/ib/src/cs/vs_pool_common.c index 08f67472..f39d6e99 100644 --- a/Esm/ib/src/cs/vs_pool_common.c +++ b/Esm/ib/src/cs/vs_pool_common.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/cs/vs_thr_common.c b/Esm/ib/src/cs/vs_thr_common.c index e3d047e9..1ba43539 100644 --- a/Esm/ib/src/cs/vs_thr_common.c +++ b/Esm/ib/src/cs/vs_thr_common.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/eeph/Makefile b/Esm/ib/src/eeph/Makefile index 96fa5a9d..79343be4 100755 --- a/Esm/ib/src/eeph/Makefile +++ b/Esm/ib/src/eeph/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for EEPH Module diff --git a/Esm/ib/src/eeph/lacp/Makefile b/Esm/ib/src/eeph/lacp/Makefile index f4451e66..971fb523 100755 --- a/Esm/ib/src/eeph/lacp/Makefile +++ b/Esm/ib/src/eeph/lacp/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for LACP Module diff --git a/Esm/ib/src/eeph_mux/Makefile b/Esm/ib/src/eeph_mux/Makefile index 57d2e5fd..4d16985b 100755 --- a/Esm/ib/src/eeph_mux/Makefile +++ b/Esm/ib/src/eeph_mux/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for Mux/Demux Module diff --git a/Esm/ib/src/eepha/Makefile b/Esm/ib/src/eepha/Makefile index bd41a0fc..453921c2 100755 --- a/Esm/ib/src/eepha/Makefile +++ b/Esm/ib/src/eepha/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/src/fe/README b/Esm/ib/src/fe/README index 36cdabb7..7e4144b5 100644 --- a/Esm/ib/src/fe/README +++ b/Esm/ib/src/fe/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/fe/fe_lib/README b/Esm/ib/src/fe/fe_lib/README index 36bbb08d..d9898af5 100644 --- a/Esm/ib/src/fe/fe_lib/README +++ b/Esm/ib/src/fe/fe_lib/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/fe/fe_mad.c b/Esm/ib/src/fe/fe_mad.c index 3114b0fa..29ee8253 100644 --- a/Esm/ib/src/fe/fe_mad.c +++ b/Esm/ib/src/fe/fe_mad.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -129,7 +129,7 @@ uint32_t fe_vieo_init(uint8_t *logName) DM_IF3_MCLASS,&fd_dm); if (rc != VSTATUS_OK) { - IB_LOG_INFINI_INFORC("Failed to open Device Manager, wil try later. rc:", rc); + IB_LOG_INFINI_INFORC("Failed to open Device Manager, will try later. rc:", rc); fd_dm = INVALID_HANDLE; } diff --git a/Esm/ib/src/fe/fe_main.c b/Esm/ib/src/fe/fe_main.c index 8837423a..1d9c4e00 100644 --- a/Esm/ib/src/fe/fe_main.c +++ b/Esm/ib/src/fe/fe_main.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/fe/fe_proc/Makefile b/Esm/ib/src/fe/fe_proc/Makefile index 33fb50aa..2d8efaba 100755 --- a/Esm/ib/src/fe/fe_proc/Makefile +++ b/Esm/ib/src/fe/fe_proc/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/src/fe/fe_proc/README b/Esm/ib/src/fe/fe_proc/README index 5f003b5e..3ebfdde6 100644 --- a/Esm/ib/src/fe/fe_proc/README +++ b/Esm/ib/src/fe/fe_proc/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/fe/net/README b/Esm/ib/src/fe/net/README index 4ddc5fbd..d557ed58 100644 --- a/Esm/ib/src/fe/net/README +++ b/Esm/ib/src/fe/net/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/fe/net/libnet.c b/Esm/ib/src/fe/net/libnet.c index b30bc64f..847fc0f6 100644 --- a/Esm/ib/src/fe/net/libnet.c +++ b/Esm/ib/src/fe/net/libnet.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -832,7 +832,7 @@ static NetConnection *NewConnection() { rc = vs_pool_alloc(&fe_pool,sizeof(NetConnection),(void *)&conn); if (rc != VSTATUS_OK) { - IB_LOG_ERROR0("Unable to allocate memory for a NetConnetion"); + IB_LOG_ERROR0("Unable to allocate memory for a NetConnection"); } else { memset(conn, 0, sizeof(NetConnection)); diff --git a/Esm/ib/src/fe/sa/README b/Esm/ib/src/fe/sa/README index 468c4f38..0e30adf1 100644 --- a/Esm/ib/src/fe/sa/README +++ b/Esm/ib/src/fe/sa/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/fe/test/README b/Esm/ib/src/fe/test/README index 81c90ea6..d5fb7a78 100644 --- a/Esm/ib/src/fe/test/README +++ b/Esm/ib/src/fe/test/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/ibaccess/README b/Esm/ib/src/ibaccess/README index b395aaef..2227f9ca 100644 --- a/Esm/ib/src/ibaccess/README +++ b/Esm/ib/src/ibaccess/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/ibaccess/cs_mad_openib.c b/Esm/ib/src/ibaccess/cs_mad_openib.c index 3b29884f..0d05d0d2 100644 --- a/Esm/ib/src/ibaccess/cs_mad_openib.c +++ b/Esm/ib/src/ibaccess/cs_mad_openib.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -419,7 +419,7 @@ ib_recv_sma(IBhandle_t handle, Mai_t *mai, uint64_t timeout) // get back at least header of our request if (status != FSUCCESS && status != FTIMEOUT && status != FREJECT) { // unexpected problem getting packets - IB_LOG_ERRORSTR("Recieved SMA status:", iba_fstatus_msg(status)); + IB_LOG_ERRORSTR("Received SMA status:", iba_fstatus_msg(status)); IB_EXIT(__func__, VSTATUS_BAD); return VSTATUS_BAD; } diff --git a/Esm/ib/src/ibaccess/vs_lck.c b/Esm/ib/src/ibaccess/vs_lck.c index 2f1c2cab..e1804702 100644 --- a/Esm/ib/src/ibaccess/vs_lck.c +++ b/Esm/ib/src/ibaccess/vs_lck.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/ibaccess/vs_pool.c b/Esm/ib/src/ibaccess/vs_pool.c index aa9924c4..1f940503 100644 --- a/Esm/ib/src/ibaccess/vs_pool.c +++ b/Esm/ib/src/ibaccess/vs_pool.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/ibaccess/vs_thr.c b/Esm/ib/src/ibaccess/vs_thr.c index 364b0216..b57080a8 100644 --- a/Esm/ib/src/ibaccess/vs_thr.c +++ b/Esm/ib/src/ibaccess/vs_thr.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/if3/Makefile b/Esm/ib/src/if3/Makefile index 9f7ccb76..f8b643f2 100755 --- a/Esm/ib/src/if3/Makefile +++ b/Esm/ib/src/if3/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/src/if3/README b/Esm/ib/src/if3/README index 2fed91b9..d46ff070 100644 --- a/Esm/ib/src/if3/README +++ b/Esm/ib/src/if3/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/if3/felib.c b/Esm/ib/src/if3/felib.c index 8cf9632f..41e8ab86 100644 --- a/Esm/ib/src/if3/felib.c +++ b/Esm/ib/src/if3/felib.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -577,7 +577,7 @@ if3_mngr_mad_init (Mai_t * madp, ManagerInfo_t * fp) madp->base.bversion = MAD_BVERSION; if (madp->base.mclass == MAD_CV_SUBN_ADM) { madp->base.cversion = SA_MAD_CVERSION; - IB_LOG_INFO("seting CVERSION for SA queries to 1.1 compliant seting ", + IB_LOG_INFO("setting CVERSION for SA queries to 1.1 compliant seting ", madp->base.cversion); } else madp->base.cversion = MAD_CVERSION; @@ -907,7 +907,7 @@ if3_open (uint32_t dev, uint32_t port, uint8_t mclass, IBhandle_t * pfd) mi->mclass = mclass; /* - * Now open mai and querry and other general incoming stuff + * Now open mai and query and other general incoming stuff */ rc = mai_open (MAI_GSI_QP, dev, port, &mi->fdr); @@ -1200,7 +1200,7 @@ if3_cntrl_cmd_send (IBhandle_t fd, uint8_t cmd) } if (rc != VSTATUS_OK && rc != VSTATUS_MAI_INTERNAL) { - IB_LOG_WARNRC("mai_recev failed rc:", rc); + IB_LOG_WARNRC("if3_recv failed rc:", rc); goto bail; } @@ -1241,7 +1241,7 @@ open_mngr_cnx(uint32_t dev, uint32_t port, mi->mclass = mclass; // - // open mai and querry and other general incoming stuff + // open mai and query and other general incoming stuff rc = mai_open(MAI_GSI_QP, dev, port, &mi->fdr); if (rc != VSTATUS_OK) { IB_LOG_ERRORRC("can't open mai rc:", rc); @@ -1529,7 +1529,7 @@ if3_mngr_open_cnx_fe (uint32_t dev, uint32_t port, uint16_t mclass, IBhandle_t * mi->mclass = mclass; /* - * Now open mai and querry and other general incoming stuff + * Now open mai and query and other general incoming stuff */ rc = mai_open (MAI_GSI_QP, dev, port, &mi->fdr); @@ -1872,7 +1872,7 @@ if3_dbsync_reply_to_mngr(IBhandle_t fhdl, Mai_t * fmad, // send DB Synch reply to the remote STL SM that issued the request if (VSTATUS_OK != (rc = rmpp_send_reply(fmad, rmpp_cntxt))) { - IB_LOG_ERROR_FMT(__func__, "Failed to foward RMPP request to manager: rc %d", rc); + IB_LOG_ERROR_FMT(__func__, "Failed to forward RMPP request to manager: rc %d", rc); } // deallocate the context rmpp_cntxt_release(rmpp_cntxt); @@ -2076,7 +2076,7 @@ if3_mngr_send_mad(IBhandle_t fd, SA_MAD *psa, uint32_t dataLength, uint8_t *buff // forward FEC or STL manager single MAD request to STL manager if (VSTATUS_OK != (rc = rmpp_send_request(&mad, fe_cntxt))) { - IB_LOG_ERROR_FMT(__func__, "Failed to foward RMPP request to manager: rc %d", rc); + IB_LOG_ERROR_FMT(__func__, "Failed to forward RMPP request to manager: rc %d", rc); } else { // release context for single MAD request rmpp_cntxt_full_release(fe_cntxt); @@ -2304,7 +2304,7 @@ if3_mngr_send_passthru_mad (IBhandle_t fd, SA_MAD *psa, uint32_t dataLength, // forward FEC or STL manager single MAD request to STL manager if (VSTATUS_OK != (rc = rmpp_send_request(&mad, fe_cntxt))) { - IB_LOG_ERROR_FMT(__func__, "Failed to foward RMPP request to manager: rc %d", rc); + IB_LOG_ERROR_FMT(__func__, "Failed to forward RMPP request to manager: rc %d", rc); } else { // release context for single MAD request rmpp_cntxt_full_release(fe_cntxt); @@ -3062,7 +3062,7 @@ if3_mngr_register_sa (IBhandle_t fd, uint8_t * servName, uint64_t servID, uint32 IB_LOG_ERROR0 ("too many service records at SA"); rc = VSTATUS_BUSY; } else { - IB_LOG_ERRORRC("error querrying SA rc:", rc); + IB_LOG_ERRORRC("error querying SA rc:", rc); } goto done; diff --git a/Esm/ib/src/if3/hsm_com_server.c b/Esm/ib/src/if3/hsm_com_server.c index c5d6833b..cf0c3a27 100644 --- a/Esm/ib/src/if3/hsm_com_server.c +++ b/Esm/ib/src/if3/hsm_com_server.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/if3/hsm_com_srvr_api.c b/Esm/ib/src/if3/hsm_com_srvr_api.c index 93798b03..8f3ed4b9 100644 --- a/Esm/ib/src/if3/hsm_com_srvr_api.c +++ b/Esm/ib/src/if3/hsm_com_srvr_api.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/if3/hsm_com_srvr_common.c b/Esm/ib/src/if3/hsm_com_srvr_common.c index 82835e59..60b1df8f 100644 --- a/Esm/ib/src/if3/hsm_com_srvr_common.c +++ b/Esm/ib/src/if3/hsm_com_srvr_common.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/if3/hsm_com_srvr_data.h b/Esm/ib/src/if3/hsm_com_srvr_data.h index 2e40d084..5c0aec3e 100644 --- a/Esm/ib/src/if3/hsm_com_srvr_data.h +++ b/Esm/ib/src/if3/hsm_com_srvr_data.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/if3/if3_ssl.c b/Esm/ib/src/if3/if3_ssl.c index e6810ddd..f2582e61 100644 --- a/Esm/ib/src/if3/if3_ssl.c +++ b/Esm/ib/src/if3/if3_ssl.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -641,7 +641,7 @@ void * if3_ssl_accept(void *context, int clientfd) // required to present a certificate. For now, strict security // enforement is not enforced. if (!(cert = SSL_get_peer_certificate(session))) { - IB_LOG_INFINI_INFO_FMT(__func__, "Client has no certifcate to verfiy"); + IB_LOG_INFINI_INFO_FMT(__func__, "Client has no certificate to verify"); } else { long result; diff --git a/Esm/ib/src/if3/rmpp.c b/Esm/ib/src/if3/rmpp.c index 49a90964..b8032d25 100644 --- a/Esm/ib/src/if3/rmpp.c +++ b/Esm/ib/src/if3/rmpp.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -933,7 +933,7 @@ rmpp_send_multi_sa(Mai_t *maip, rmpp_cntxt_t *rmpp_cntxt) } if (chkSum != rmpp_cntxt->chkSum) { IB_LOG_ERROR_FMT(__func__, - "CHECKSUM FAILED [%d vs %d] for completeted %s[%s] RMPP TRANSACTION from LID[0x%x], TID["FMT_U64"]", + "CHECKSUM FAILED [%d vs %d] for completed %s[%s] RMPP TRANSACTION from LID[0x%x], TID["FMT_U64"]", chkSum, rmpp_cntxt->chkSum, info->rmpp_get_method_text((int)rmpp_cntxt->method), info->rmpp_get_aid_name((int)rmpp_cntxt->mad.base.mclass, (int)rmpp_cntxt->mad.base.aid), rmpp_cntxt->lid, rmpp_cntxt->tid); } @@ -2031,7 +2031,7 @@ rmpp_open_cnx( if ((-1 != (usrId = rmpp_is_cnx_open(fd))) && (info = rmpp_get_userinfo(usrId))) { if (info->partial_close) { if (if3DebugRmpp) - IB_LOG_WARN_FMT(__func__, "RMPP connection already openned for user %d", usrId); + IB_LOG_WARN_FMT(__func__, "RMPP connection already opened for user %d", usrId); // simply create the filters for a partially open RMPP connection if ((status = rmpp_create_filters(info, fd, fh_req_get, fh_req_gettable, mclass)) == VSTATUS_OK) { info->partial_close = 0; @@ -3660,7 +3660,7 @@ rmpp_send_multi_vendor(Mai_t *maip, rmpp_cntxt_t *rmpp_cntxt) } if (chkSum != rmpp_cntxt->chkSum) { IB_LOG_ERROR_FMT(__func__, - "CHECKSUM FAILED [%d vs %d] for completeted %s[%s] RMPP TRANSACTION from LID[0x%x], TID["FMT_U64"]", + "CHECKSUM FAILED [%d vs %d] for completed %s[%s] RMPP TRANSACTION from LID[0x%x], TID["FMT_U64"]", chkSum, rmpp_cntxt->chkSum, info->rmpp_get_method_text((int)rmpp_cntxt->method), info->rmpp_get_aid_name((int)rmpp_cntxt->mad.base.mclass, (int)rmpp_cntxt->mad.base.aid), rmpp_cntxt->lid, rmpp_cntxt->tid); } diff --git a/Esm/ib/src/if3/rmpp_l.h b/Esm/ib/src/if3/rmpp_l.h index 7d42c4be..7f6b6499 100644 --- a/Esm/ib/src/if3/rmpp_l.h +++ b/Esm/ib/src/if3/rmpp_l.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/if3/vfi.c b/Esm/ib/src/if3/vfi.c index 9d2b0f3a..56c61911 100644 --- a/Esm/ib/src/if3/vfi.c +++ b/Esm/ib/src/if3/vfi.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/Makefile b/Esm/ib/src/linux/Makefile index a50fb5e7..0a7c23fe 100755 --- a/Esm/ib/src/linux/Makefile +++ b/Esm/ib/src/linux/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/src/linux/README b/Esm/ib/src/linux/README index c240feeb..90e6bf22 100644 --- a/Esm/ib/src/linux/README +++ b/Esm/ib/src/linux/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/linux/cs/usr/test/README b/Esm/ib/src/linux/cs/usr/test/README index bb453cb4..1bb023d8 100644 --- a/Esm/ib/src/linux/cs/usr/test/README +++ b/Esm/ib/src/linux/cs/usr/test/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/linux/fm_cmd/fm_cmd.c b/Esm/ib/src/linux/fm_cmd/fm_cmd.c index 9dcd2dd9..c59d5ced 100644 --- a/Esm/ib/src/linux/fm_cmd/fm_cmd.c +++ b/Esm/ib/src/linux/fm_cmd/fm_cmd.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/fm_cmd/hsm_com_client.c b/Esm/ib/src/linux/fm_cmd/hsm_com_client.c index 30dcbf8c..1574a11c 100644 --- a/Esm/ib/src/linux/fm_cmd/hsm_com_client.c +++ b/Esm/ib/src/linux/fm_cmd/hsm_com_client.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/fm_cmd/hsm_com_client_api.c b/Esm/ib/src/linux/fm_cmd/hsm_com_client_api.c index 096f6183..3094dce8 100644 --- a/Esm/ib/src/linux/fm_cmd/hsm_com_client_api.c +++ b/Esm/ib/src/linux/fm_cmd/hsm_com_client_api.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/fm_cmd/hsm_com_client_api.h b/Esm/ib/src/linux/fm_cmd/hsm_com_client_api.h index 821f47a6..d3ed0a7d 100644 --- a/Esm/ib/src/linux/fm_cmd/hsm_com_client_api.h +++ b/Esm/ib/src/linux/fm_cmd/hsm_com_client_api.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/fm_cmd/hsm_com_client_common.c b/Esm/ib/src/linux/fm_cmd/hsm_com_client_common.c index 4d69260b..67a89813 100644 --- a/Esm/ib/src/linux/fm_cmd/hsm_com_client_common.c +++ b/Esm/ib/src/linux/fm_cmd/hsm_com_client_common.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/fm_cmd/hsm_com_client_data.h b/Esm/ib/src/linux/fm_cmd/hsm_com_client_data.h index 2d901636..2ab90242 100644 --- a/Esm/ib/src/linux/fm_cmd/hsm_com_client_data.h +++ b/Esm/ib/src/linux/fm_cmd/hsm_com_client_data.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/fm_cmd/hsm_config_client.c b/Esm/ib/src/linux/fm_cmd/hsm_config_client.c index 2529bfb4..6db8869d 100644 --- a/Esm/ib/src/linux/fm_cmd/hsm_config_client.c +++ b/Esm/ib/src/linux/fm_cmd/hsm_config_client.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -540,7 +540,7 @@ fm_mgr_get_error_str { switch(err){ case FM_CONF_ERR_LEN: - return "Response data legth invalid"; + return "Response data length invalid"; case FM_CONF_ERR_VERSION: return "Client/Server version mismatch"; case FM_CONF_ERR_DISC: @@ -570,7 +570,7 @@ fm_mgr_get_error_str case FM_CONF_SEND_ERR: return "Send error"; case FM_CONF_INIT_ERR: - return "Could not initalize resource"; + return "Could not initialize resource"; case FM_CONF_NO_RESP: return "No Response"; case FM_CONF_MAX_ERROR_NUM: diff --git a/Esm/ib/src/linux/fm_cmd/hsm_config_client_api.h b/Esm/ib/src/linux/fm_cmd/hsm_config_client_api.h index d3d8a6a7..05f11698 100644 --- a/Esm/ib/src/linux/fm_cmd/hsm_config_client_api.h +++ b/Esm/ib/src/linux/fm_cmd/hsm_config_client_api.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/fm_cmd/hsm_config_client_data.h b/Esm/ib/src/linux/fm_cmd/hsm_config_client_data.h index 88876808..640bd93e 100644 --- a/Esm/ib/src/linux/fm_cmd/hsm_config_client_data.h +++ b/Esm/ib/src/linux/fm_cmd/hsm_config_client_data.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/fm_cmd/ssapi_internal.h b/Esm/ib/src/linux/fm_cmd/ssapi_internal.h index 50bc17fe..e60a6818 100755 --- a/Esm/ib/src/linux/fm_cmd/ssapi_internal.h +++ b/Esm/ib/src/linux/fm_cmd/ssapi_internal.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/log/README b/Esm/ib/src/linux/log/README index 4cb0ef16..6bd87807 100644 --- a/Esm/ib/src/linux/log/README +++ b/Esm/ib/src/linux/log/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/linux/log/common/sqlite_messagelog.c b/Esm/ib/src/linux/log/common/sqlite_messagelog.c index b26c3225..7cfc43ba 100644 --- a/Esm/ib/src/linux/log/common/sqlite_messagelog.c +++ b/Esm/ib/src/linux/log/common/sqlite_messagelog.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/log/common/sqlite_messagelog.h b/Esm/ib/src/linux/log/common/sqlite_messagelog.h index 38c19153..2807b984 100644 --- a/Esm/ib/src/linux/log/common/sqlite_messagelog.h +++ b/Esm/ib/src/linux/log/common/sqlite_messagelog.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/log/common/vslog.c b/Esm/ib/src/linux/log/common/vslog.c index bc5ba322..56c03ba6 100644 --- a/Esm/ib/src/linux/log/common/vslog.c +++ b/Esm/ib/src/linux/log/common/vslog.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/log/test/tst_log.c b/Esm/ib/src/linux/log/test/tst_log.c index 5ed6a1de..076afd65 100755 --- a/Esm/ib/src/linux/log/test/tst_log.c +++ b/Esm/ib/src/linux/log/test/tst_log.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -117,7 +117,7 @@ int test_main_group(uint32_t mask) for(i=400;i<(1024-32);) { - printf("alog length %d\n",i); + printf("log length %d\n",i); IB_LOG_INFO("logging ",i); IB_LOG_DATA("data",data,i); i+=32; diff --git a/Esm/ib/src/linux/log/usr/Makefile b/Esm/ib/src/linux/log/usr/Makefile index 8058a042..ae649053 100755 --- a/Esm/ib/src/linux/log/usr/Makefile +++ b/Esm/ib/src/linux/log/usr/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/src/linux/opafmvf/Makefile b/Esm/ib/src/linux/opafmvf/Makefile index c7fec701..751c629a 100644 --- a/Esm/ib/src/linux/opafmvf/Makefile +++ b/Esm/ib/src/linux/opafmvf/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Include Make Control Settings diff --git a/Esm/ib/src/linux/opamkdsapdb/Makefile b/Esm/ib/src/linux/opamkdsapdb/Makefile index 941694f6..291cd001 100644 --- a/Esm/ib/src/linux/opamkdsapdb/Makefile +++ b/Esm/ib/src/linux/opamkdsapdb/Makefile @@ -1,11 +1,11 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# -# * Redistributions of source executacode must retain the above copyright notice, +# +# * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright # notice, this list of conditions and the following disclaimer in the @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/src/linux/opamkdsapdb/opamkdsapdb.c b/Esm/ib/src/linux/opamkdsapdb/opamkdsapdb.c index ad2eb9a7..a62507dc 100644 --- a/Esm/ib/src/linux/opamkdsapdb/opamkdsapdb.c +++ b/Esm/ib/src/linux/opamkdsapdb/opamkdsapdb.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT1 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/opamkdsapdb/opamkdsapdb.h b/Esm/ib/src/linux/opamkdsapdb/opamkdsapdb.h index 6e6278bf..c6075d4e 100644 --- a/Esm/ib/src/linux/opamkdsapdb/opamkdsapdb.h +++ b/Esm/ib/src/linux/opamkdsapdb/opamkdsapdb.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/rem_conf/README b/Esm/ib/src/linux/rem_conf/README index 16977d0a..2c409f59 100644 --- a/Esm/ib/src/linux/rem_conf/README +++ b/Esm/ib/src/linux/rem_conf/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/linux/rem_conf/fos_snmp_discovery.c b/Esm/ib/src/linux/rem_conf/fos_snmp_discovery.c index 35ab1388..ca4cb4ad 100755 --- a/Esm/ib/src/linux/rem_conf/fos_snmp_discovery.c +++ b/Esm/ib/src/linux/rem_conf/fos_snmp_discovery.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -82,7 +82,7 @@ usage(char *cmd) fprintf(stderr, " -t \t\ttimeout in microseconds per snmp packet\n"); fprintf(stderr, - " -r \t\tNumber of retrys per request\n"); + " -r \t\tNumber of retries per request\n"); fprintf(stderr, " \n\n"); fflush(stderr); diff --git a/Esm/ib/src/linux/rem_conf/hsm_com_api.h b/Esm/ib/src/linux/rem_conf/hsm_com_api.h index cc9a1321..76f97b31 100755 --- a/Esm/ib/src/linux/rem_conf/hsm_com_api.h +++ b/Esm/ib/src/linux/rem_conf/hsm_com_api.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/rem_conf/hsm_com_data.h b/Esm/ib/src/linux/rem_conf/hsm_com_data.h index 17819f9b..88d889ee 100755 --- a/Esm/ib/src/linux/rem_conf/hsm_com_data.h +++ b/Esm/ib/src/linux/rem_conf/hsm_com_data.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/rem_conf/hsm_com_lib.h b/Esm/ib/src/linux/rem_conf/hsm_com_lib.h index 81be6f9c..907d5b58 100755 --- a/Esm/ib/src/linux/rem_conf/hsm_com_lib.h +++ b/Esm/ib/src/linux/rem_conf/hsm_com_lib.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/rem_conf/hsm_com_test_data.h b/Esm/ib/src/linux/rem_conf/hsm_com_test_data.h index 35a1cc5d..7eb7d517 100755 --- a/Esm/ib/src/linux/rem_conf/hsm_com_test_data.h +++ b/Esm/ib/src/linux/rem_conf/hsm_com_test_data.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/rem_conf/hsm_config_api.h b/Esm/ib/src/linux/rem_conf/hsm_config_api.h index 6e82c92a..cbc4997f 100755 --- a/Esm/ib/src/linux/rem_conf/hsm_config_api.h +++ b/Esm/ib/src/linux/rem_conf/hsm_config_api.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/rem_conf/hsm_config_data.h b/Esm/ib/src/linux/rem_conf/hsm_config_data.h index 79ef70c6..9b7cafa2 100755 --- a/Esm/ib/src/linux/rem_conf/hsm_config_data.h +++ b/Esm/ib/src/linux/rem_conf/hsm_config_data.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/rem_conf/test_client.c b/Esm/ib/src/linux/rem_conf/test_client.c index e60c6f2a..6af08afd 100755 --- a/Esm/ib/src/linux/rem_conf/test_client.c +++ b/Esm/ib/src/linux/rem_conf/test_client.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/rem_conf/test_client_snmp.c b/Esm/ib/src/linux/rem_conf/test_client_snmp.c index 3c349ed0..03d5bb22 100755 --- a/Esm/ib/src/linux/rem_conf/test_client_snmp.c +++ b/Esm/ib/src/linux/rem_conf/test_client_snmp.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/rem_conf/test_server.c b/Esm/ib/src/linux/rem_conf/test_server.c index 7b9dba35..7c3e824e 100755 --- a/Esm/ib/src/linux/rem_conf/test_server.c +++ b/Esm/ib/src/linux/rem_conf/test_server.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/rpm/README b/Esm/ib/src/linux/rpm/README index ae1a708e..3529b0d8 100644 --- a/Esm/ib/src/linux/rpm/README +++ b/Esm/ib/src/linux/rpm/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/linux/startup/Makefile b/Esm/ib/src/linux/startup/Makefile index ad23e673..d039ad39 100644 --- a/Esm/ib/src/linux/startup/Makefile +++ b/Esm/ib/src/linux/startup/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/src/linux/startup/README b/Esm/ib/src/linux/startup/README index 263d1cee..f04c2257 100644 --- a/Esm/ib/src/linux/startup/README +++ b/Esm/ib/src/linux/startup/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/linux/startup/fm_config/Makefile b/Esm/ib/src/linux/startup/fm_config/Makefile index c4108fa8..2270be99 100644 --- a/Esm/ib/src/linux/startup/fm_config/Makefile +++ b/Esm/ib/src/linux/startup/fm_config/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/src/linux/startup/fm_config/config_check.c b/Esm/ib/src/linux/startup/fm_config/config_check.c index 2e4fa834..e700ec93 100644 --- a/Esm/ib/src/linux/startup/fm_config/config_check.c +++ b/Esm/ib/src/linux/startup/fm_config/config_check.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/startup/fm_config/config_convert.c b/Esm/ib/src/linux/startup/fm_config/config_convert.c index bc23aec9..09c157af 100644 --- a/Esm/ib/src/linux/startup/fm_config/config_convert.c +++ b/Esm/ib/src/linux/startup/fm_config/config_convert.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/startup/fm_config/config_diff.sh b/Esm/ib/src/linux/startup/fm_config/config_diff.sh index 671daeeb..d8349f74 100755 --- a/Esm/ib/src/linux/startup/fm_config/config_diff.sh +++ b/Esm/ib/src/linux/startup/fm_config/config_diff.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/Esm/ib/src/linux/startup/fm_config/config_generate.sh b/Esm/ib/src/linux/startup/fm_config/config_generate.sh index 8f6a7796..455cd81f 100755 --- a/Esm/ib/src/linux/startup/fm_config/config_generate.sh +++ b/Esm/ib/src/linux/startup/fm_config/config_generate.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] @@ -395,7 +395,7 @@ else print_separator echo "By default a FM node will run a single FM on the 1st Port of the 1st HFI." echo "However, in larger configurations, a single FM node may be used to" - echo "manage multiple fabrics. Each such fabric would be contected to a different" + echo "manage multiple fabrics. Each such fabric would be connected to a different" echo "HFI port. Each HFI port is associated with a different FM instance." num_instances=0 default=y diff --git a/Esm/ib/src/linux/startup/fm_config/opafmconfigpp.sh b/Esm/ib/src/linux/startup/fm_config/opafmconfigpp.sh index d257d354..a98df0d3 100755 --- a/Esm/ib/src/linux/startup/fm_config/opafmconfigpp.sh +++ b/Esm/ib/src/linux/startup/fm_config/opafmconfigpp.sh @@ -1,7 +1,7 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** # -# Copyright (c) 2018, Intel Corporation +# Copyright (c) 2015-2020, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/linux/startup/multitenant.config b/Esm/ib/src/linux/startup/multitenant.config index df789af3..e7cd059a 100644 --- a/Esm/ib/src/linux/startup/multitenant.config +++ b/Esm/ib/src/linux/startup/multitenant.config @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** #[ICS VERSION STRING: unknown] diff --git a/Esm/ib/src/linux/startup/opafm.sh b/Esm/ib/src/linux/startup/opafm.sh index 03b3d7da..c1a7c09a 100644 --- a/Esm/ib/src/linux/startup/opafm.sh +++ b/Esm/ib/src/linux/startup/opafm.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] @@ -113,7 +113,7 @@ Usage() echo " restart - restart (eg. stop then start) the selected instances/managers" >&2 echo " reload - reload configuration for the selected instances/managers" >&2 echo " sweep - force a fabric resweep for the selected instances/managers" >&2 - echo " status - show status (running/not runing/disabled) for the selected">&2 + echo " status - show status (running/not running/disabled) for the selected">&2 echo " instances/managers" >&2 echo >&2 echo " -i instance - an instance to start components for" >&2 diff --git a/Esm/ib/src/linux/startup/opafm_src.xml b/Esm/ib/src/linux/startup/opafm_src.xml index e9bf1d8d..2087aa53 100644 --- a/Esm/ib/src/linux/startup/opafm_src.xml +++ b/Esm/ib/src/linux/startup/opafm_src.xml @@ -1828,6 +1828,7 @@ 300 0 + 1 diff --git a/Esm/ib/src/linux/startup/opafm_src.xml.base b/Esm/ib/src/linux/startup/opafm_src.xml.base index e9bf1d8d..2087aa53 100644 --- a/Esm/ib/src/linux/startup/opafm_src.xml.base +++ b/Esm/ib/src/linux/startup/opafm_src.xml.base @@ -1828,6 +1828,7 @@ 300 0 + 1 diff --git a/Esm/ib/src/linux/startup/opafmctrl.sh b/Esm/ib/src/linux/startup/opafmctrl.sh index 5eb79a7d..039e5d71 100755 --- a/Esm/ib/src/linux/startup/opafmctrl.sh +++ b/Esm/ib/src/linux/startup/opafmctrl.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] @@ -50,7 +50,7 @@ usage() echo " stop - stop the selected instances/managers" >&2 echo " restart - restart (eg. stop then start) the selected instances/managers" >&2 echo " sweep - force a fabric resweep for the selected instances/managers" >&2 - echo " status - show status (running/not runing/disabled) for the selected">&2 + echo " status - show status (running/not running/disabled) for the selected">&2 echo " instances/managers" >&2 echo >&2 echo " -i instance - an instance to start components for" >&2 diff --git a/Esm/ib/src/linux/startup/opafmd.c b/Esm/ib/src/linux/startup/opafmd.c index 419c6821..5d41daa3 100644 --- a/Esm/ib/src/linux/startup/opafmd.c +++ b/Esm/ib/src/linux/startup/opafmd.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT1 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -696,7 +696,7 @@ int loadConfig(void){ selected_device[i].guid = guid; } if (!selected_device[i].guid || !selected_device[i].port) { - fprintf(stderr, "Invalid config detected! Coundn't find device for instance %d!.\n", i); + fprintf(stderr, "Invalid config detected! Couldn't find device for instance %d!.\n", i); releaseXmlConfig(xml_config, /* full */ 1); return 1; } diff --git a/Esm/ib/src/linux/startup/sm_capture.sh b/Esm/ib/src/linux/startup/sm_capture.sh index 1f8b612e..910622e3 100755 --- a/Esm/ib/src/linux/startup/sm_capture.sh +++ b/Esm/ib/src/linux/startup/sm_capture.sh @@ -1,11 +1,11 @@ #!/bin/sh # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/Esm/ib/src/mai/Makefile b/Esm/ib/src/mai/Makefile index 9952202e..c00acca8 100755 --- a/Esm/ib/src/mai/Makefile +++ b/Esm/ib/src/mai/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/src/mai/README b/Esm/ib/src/mai/README index 27b89a7e..c5473275 100644 --- a/Esm/ib/src/mai/README +++ b/Esm/ib/src/mai/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/mai/mai.c b/Esm/ib/src/mai/mai.c index 68ae7c4e..cff6c339 100644 --- a/Esm/ib/src/mai/mai.c +++ b/Esm/ib/src/mai/mai.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/mai/mai_config.c b/Esm/ib/src/mai/mai_config.c index 7a0b9a49..ea3260dd 100644 --- a/Esm/ib/src/mai/mai_config.c +++ b/Esm/ib/src/mai/mai_config.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/mai/mai_dc.c b/Esm/ib/src/mai/mai_dc.c index 49631808..5d701f73 100644 --- a/Esm/ib/src/mai/mai_dc.c +++ b/Esm/ib/src/mai/mai_dc.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/mai/mai_fcmp.c b/Esm/ib/src/mai/mai_fcmp.c index 91752fdf..a42282b5 100644 --- a/Esm/ib/src/mai/mai_fcmp.c +++ b/Esm/ib/src/mai/mai_fcmp.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -813,8 +813,8 @@ maif_match(Mai_t * data, Filter_t * filter) filter->dev,filter->port,(int)filter->qp); IB_LOG_VERBOSE("filter value & mask",filter); - //IB_LOG_DATA("fliler value",&filter->value,sizeof(filter->value)); - //IB_LOG_DATA("fliler mask",&filter->mask,sizeof(filter->mask)); + //IB_LOG_DATA("filter value",&filter->value,sizeof(filter->value)); + //IB_LOG_DATA("filter mask",&filter->mask,sizeof(filter->mask)); if (filter->active & MAI_ACT_FMASK) { diff --git a/Esm/ib/src/mai/mai_filter.c b/Esm/ib/src/mai/mai_filter.c index 6239104e..03fa7086 100644 --- a/Esm/ib/src/mai/mai_filter.c +++ b/Esm/ib/src/mai/mai_filter.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/mai/mai_filter_common.c b/Esm/ib/src/mai/mai_filter_common.c index cbbb97cc..41a13636 100644 --- a/Esm/ib/src/mai/mai_filter_common.c +++ b/Esm/ib/src/mai/mai_filter_common.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/mai/mai_futil.c b/Esm/ib/src/mai/mai_futil.c index 266b4530..a6d279de 100644 --- a/Esm/ib/src/mai/mai_futil.c +++ b/Esm/ib/src/mai/mai_futil.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/mai/mai_info.h b/Esm/ib/src/mai/mai_info.h index 12e2aee5..c163114f 100644 --- a/Esm/ib/src/mai/mai_info.h +++ b/Esm/ib/src/mai/mai_info.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/mai/mai_tid.c b/Esm/ib/src/mai/mai_tid.c index 2bda25ab..f049b688 100644 --- a/Esm/ib/src/mai/mai_tid.c +++ b/Esm/ib/src/mai/mai_tid.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/mai/mai_util.c b/Esm/ib/src/mai/mai_util.c index cdef2d9a..8ac5f07d 100644 --- a/Esm/ib/src/mai/mai_util.c +++ b/Esm/ib/src/mai/mai_util.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/mai/mal_l.h b/Esm/ib/src/mai/mal_l.h index 50db7df9..a7555dfd 100755 --- a/Esm/ib/src/mai/mal_l.h +++ b/Esm/ib/src/mai/mal_l.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/mai/test/README b/Esm/ib/src/mai/test/README index 6ff3b871..11d599fe 100644 --- a/Esm/ib/src/mai/test/README +++ b/Esm/ib/src/mai/test/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/pm/Makefile b/Esm/ib/src/pm/Makefile index 8b05a4c1..ff1af825 100755 --- a/Esm/ib/src/pm/Makefile +++ b/Esm/ib/src/pm/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/src/pm/include/pa_access.h b/Esm/ib/src/pm/include/pa_access.h index e6109811..02635c57 100644 --- a/Esm/ib/src/pm/include/pa_access.h +++ b/Esm/ib/src/pm/include/pa_access.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT3 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/pm/include/pa_l.h b/Esm/ib/src/pm/include/pa_l.h index 72b05311..8193efe1 100644 --- a/Esm/ib/src/pm/include/pa_l.h +++ b/Esm/ib/src/pm/include/pa_l.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/pm/include/pa_server.h b/Esm/ib/src/pm/include/pa_server.h index 5d52f477..30576650 100644 --- a/Esm/ib/src/pm/include/pa_server.h +++ b/Esm/ib/src/pm/include/pa_server.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT3 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/pm/include/pa_sth_old.h b/Esm/ib/src/pm/include/pa_sth_old.h index a2071352..42d209d1 100644 --- a/Esm/ib/src/pm/include/pa_sth_old.h +++ b/Esm/ib/src/pm/include/pa_sth_old.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/pm/include/pm_counters.h b/Esm/ib/src/pm/include/pm_counters.h index 59bf7e12..66ba9ed3 100644 --- a/Esm/ib/src/pm/include/pm_counters.h +++ b/Esm/ib/src/pm/include/pm_counters.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/pm/include/pm_l.h b/Esm/ib/src/pm/include/pm_l.h index b12cfbfc..0852807f 100644 --- a/Esm/ib/src/pm/include/pm_l.h +++ b/Esm/ib/src/pm/include/pm_l.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/pm/include/pm_topology.h b/Esm/ib/src/pm/include/pm_topology.h index 1564174b..9be6961b 100644 --- a/Esm/ib/src/pm/include/pm_topology.h +++ b/Esm/ib/src/pm/include/pm_topology.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -1518,12 +1518,12 @@ static __inline uint8 ComputeErrBucket(uint32 errCnt, uint32 errThreshold) } void PmPrintExceededPort(char *buf, size_t bufSize, PmPort_t *pmportp, uint32 index, const char *statistic, uint32 threshold, uint32 value); -void PmPrintExceededPortDetailsIntegrity(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, PmPort_t *pmportneighborp, uint32 imageIndex); -void PmPrintExceededPortDetailsCongestion(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, PmPort_t *pmportneighborp, uint32 imageIndex); -void PmPrintExceededPortDetailsSmaCongestion(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, PmPort_t *pmportneighborp, uint32 imageIndex); -void PmPrintExceededPortDetailsBubble(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, PmPort_t *pmportneighborp, uint32 imageIndex); -void PmPrintExceededPortDetailsSecurity(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, PmPort_t *pmportneighborp, uint32 imageIndex); -void PmPrintExceededPortDetailsRouting(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, PmPort_t *pmportneighborp, uint32 imageIndex); +void PmPrintExceededPortDetailsIntegrity(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, PmPort_t *pmportneighborp, uint32 imageIndex, uint8 printErrorInfo); +void PmPrintExceededPortDetailsCongestion(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, PmPort_t *pmportneighborp, uint32 imageIndex, uint8 printErrorInfo); +void PmPrintExceededPortDetailsSmaCongestion(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, PmPort_t *pmportneighborp, uint32 imageIndex, uint8 printErrorInfo); +void PmPrintExceededPortDetailsBubble(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, PmPort_t *pmportneighborp, uint32 imageIndex, uint8 printErrorInfo); +void PmPrintExceededPortDetailsSecurity(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, PmPort_t *pmportneighborp, uint32 imageIndex, uint8 printErrorInfo); +void PmPrintExceededPortDetailsRouting(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, PmPort_t *pmportneighborp, uint32 imageIndex, uint8 printErrorInfo); void PmFinalizePortStats(Pm_t *pm, PmPort_t *portp, uint32 index); boolean PmTabulatePort(Pm_t *pm, PmPort_t *portp, uint32 index, uint32 *counterSelect); diff --git a/Esm/ib/src/pm/pa/Makefile b/Esm/ib/src/pm/pa/Makefile index 1be1aeb1..2e7d4ab5 100644 --- a/Esm/ib/src/pm/pa/Makefile +++ b/Esm/ib/src/pm/pa/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/src/pm/pa/pa_access.c b/Esm/ib/src/pm/pa/pa_access.c index 657e451b..5f52b083 100644 --- a/Esm/ib/src/pm/pa/pa_access.c +++ b/Esm/ib/src/pm/pa/pa_access.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT3 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -1839,7 +1839,7 @@ FSTATUS paGetMultiFocusPorts(Pm_t *pm, char *groupName, PmFocusPorts_t *pmFocusP IB_LOG_WARN_FMT(__func__, "Illegal range parameter: %d: must be greater than zero\n", range); return(FINVALID_PARAMETER | STL_MAD_STATUS_STL_PA_INVALID_PARAMETER); } else if (range > pm_config.subnet_size) { - IB_LOG_WARN_FMT(__func__, "Illegal range parameter: Exceeds maxmimum subnet size of %d\n", pm_config.subnet_size); + IB_LOG_WARN_FMT(__func__, "Illegal range parameter: Exceeds maximum subnet size of %d\n", pm_config.subnet_size); return(FINVALID_PARAMETER | STL_MAD_STATUS_STL_PA_INVALID_PARAMETER); } @@ -2035,7 +2035,7 @@ FSTATUS paGetExtFocusPorts(Pm_t *pm, char *groupName, PmFocusPorts_t *pmFocusPor IB_LOG_WARN_FMT(__func__, "Illegal range parameter: %d: must be greater than zero\n", range); return(FINVALID_PARAMETER | STL_MAD_STATUS_STL_PA_INVALID_PARAMETER); } else if (range > pm_config.subnet_size) { - IB_LOG_WARN_FMT(__func__, "Illegal range parameter: Exceeds maxmimum subnet size of %d\n", pm_config.subnet_size); + IB_LOG_WARN_FMT(__func__, "Illegal range parameter: Exceeds maximum subnet size of %d\n", pm_config.subnet_size); return(FINVALID_PARAMETER | STL_MAD_STATUS_STL_PA_INVALID_PARAMETER); } @@ -2744,7 +2744,7 @@ FSTATUS paGetExtVFFocusPorts(Pm_t *pm, char *vfName, PmFocusPorts_t *pmVFFocusPo IB_LOG_WARN_FMT(__func__, "Illegal range parameter: %d: must be greater than zero\n", range); return(FINVALID_PARAMETER | STL_MAD_STATUS_STL_PA_INVALID_PARAMETER); } else if (range > pm_config.subnet_size) { - IB_LOG_WARN_FMT(__func__, "Illegal range parameter: Exceeds maxmimum subnet size of %d\n", pm_config.subnet_size); + IB_LOG_WARN_FMT(__func__, "Illegal range parameter: Exceeds maximum subnet size of %d\n", pm_config.subnet_size); return(FINVALID_PARAMETER | STL_MAD_STATUS_STL_PA_INVALID_PARAMETER); } @@ -2876,7 +2876,7 @@ FSTATUS paGetVFFocusPorts(Pm_t *pm, char *vfName, PmFocusPorts_t *pmVFFocusPorts IB_LOG_WARN_FMT(__func__, "Illegal range parameter: %d: must be greater than zero\n", range); return(FINVALID_PARAMETER | STL_MAD_STATUS_STL_PA_INVALID_PARAMETER); } else if (range > pm_config.subnet_size) { - IB_LOG_WARN_FMT(__func__, "Illegal range parameter: Exceeds maxmimum subnet size of %d\n", pm_config.subnet_size); + IB_LOG_WARN_FMT(__func__, "Illegal range parameter: Exceeds maximum subnet size of %d\n", pm_config.subnet_size); return(FINVALID_PARAMETER | STL_MAD_STATUS_STL_PA_INVALID_PARAMETER); } diff --git a/Esm/ib/src/pm/pa/pa_categories.c b/Esm/ib/src/pm/pa/pa_categories.c index 6d5a2732..dd741594 100644 --- a/Esm/ib/src/pm/pa/pa_categories.c +++ b/Esm/ib/src/pm/pa/pa_categories.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/pm/pa/pa_protocol.c b/Esm/ib/src/pm/pa/pa_protocol.c index 328bf000..3d94a045 100644 --- a/Esm/ib/src/pm/pa/pa_protocol.c +++ b/Esm/ib/src/pm/pa/pa_protocol.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -727,7 +727,7 @@ pa_send_multi(Mai_t *maip, pa_cntxt_t *pa_cntxt) } if (chkSum != pa_cntxt->chkSum) { IB_LOG_ERROR_FMT(__func__, - "CHECKSUM FAILED [%d vs %d] for completeted %s[%s] RMPP TRANSACTION from LID[0x%x], TID["FMT_U64"]", + "CHECKSUM FAILED [%d vs %d] for completed %s[%s] RMPP TRANSACTION from LID[0x%x], TID["FMT_U64"]", chkSum, pa_cntxt->chkSum, pa_getMethodText((int)pa_cntxt->method), pa_getAidName(pa_cntxt->mad.base.aid), pa_cntxt->lid, pa_cntxt->tid); } diff --git a/Esm/ib/src/pm/pa/pa_server.c b/Esm/ib/src/pm/pa/pa_server.c index d684abb1..c1fb6e60 100644 --- a/Esm/ib/src/pm/pa/pa_server.c +++ b/Esm/ib/src/pm/pa/pa_server.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT3 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -528,7 +528,7 @@ pa_getPmConfigResp(Mai_t *maip, pa_cntxt_t* pa_cntxt) vStatus = vs_pool_size(&pm_pool, &memoryFootprint); if (vStatus != VSTATUS_OK) { - IB_LOG_WARN_FMT(__func__, "Unable to get MemmoryFootPrint vStatus: %u", vStatus ); + IB_LOG_WARN_FMT(__func__, "Unable to get memory footprint. vStatus: %u", vStatus ); memoryFootprint = (uint64)-1; } if (status == FSUCCESS) { @@ -2607,7 +2607,7 @@ pa_getVFPortCountersResp(Mai_t *maip, pa_cntxt_t* pa_cntxt) (flags & STL_PA_PC_FLAG_UNEXPECTED_CLEAR?" (Unexpected Clear)":""), (flags & STL_PA_PC_FLAG_CLEAR_FAIL?" (Clear Unsuccessful)":"")); IB_LOG_DEBUG2_FMT(__func__, " VF Name: %s", vfName); - IB_LOG_DEBUG2_FMT(__func__, "Perfromance:"); + IB_LOG_DEBUG2_FMT(__func__, "Performance:"); IB_LOG_DEBUG2_FMT(__func__, " Xmit Data: %10"PRIu64" MB (%"PRIu64" Flits)", response.portVFXmitData/FLITS_PER_MB, response.portVFXmitData); IB_LOG_DEBUG2_FMT(__func__, " Xmit Pkts: %10"PRIu64" ", response.portVFXmitPkts); diff --git a/Esm/ib/src/pm/pa/pa_sth_old.c b/Esm/ib/src/pm/pa/pa_sth_old.c index 38ee7a37..46b2065e 100644 --- a/Esm/ib/src/pm/pa/pa_sth_old.c +++ b/Esm/ib/src/pm/pa/pa_sth_old.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/pm/pa/pa_utility.c b/Esm/ib/src/pm/pa/pa_utility.c index 1547200d..5271eea4 100644 --- a/Esm/ib/src/pm/pa/pa_utility.c +++ b/Esm/ib/src/pm/pa/pa_utility.c @@ -1,18 +1,18 @@ /* BEGIN_ICS_COPYRIGHT3 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - * Redistributions of source code must retain the above copyright notice, - this list of conditions and the following disclaimer. - * Redistributions in binary form must reproduce the above copyright - notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. - * Neither the name of Intel Corporation nor the names of its contributors - may be used to endorse or promote products derived from this software - without specific prior written permission. + * Redistributions of source code must retain the above copyright notice, + this list of conditions and the following disclaimer. + * Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + * Neither the name of Intel Corporation nor the names of its contributors + may be used to endorse or promote products derived from this software + without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE diff --git a/Esm/ib/src/pm/pm/Makefile b/Esm/ib/src/pm/pm/Makefile index 2d67a933..e7c5a3c4 100755 --- a/Esm/ib/src/pm/pm/Makefile +++ b/Esm/ib/src/pm/pm/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/src/pm/pm/README b/Esm/ib/src/pm/pm/README index 9db931cf..adace241 100644 --- a/Esm/ib/src/pm/pm/README +++ b/Esm/ib/src/pm/pm/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/pm/pm/pm.c b/Esm/ib/src/pm/pm/pm.c index afab7736..4d42ed1d 100644 --- a/Esm/ib/src/pm/pm/pm.c +++ b/Esm/ib/src/pm/pm/pm.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/pm/pm/pm_calc.c b/Esm/ib/src/pm/pm/pm_calc.c index e7d35c2a..9c38fb85 100644 --- a/Esm/ib/src/pm/pm/pm_calc.c +++ b/Esm/ib/src/pm/pm/pm_calc.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -36,6 +36,7 @@ OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. #include "pm_topology.h" #include #include +#include "stl_print.h" /* PrintDest_t */ extern CounterSelectMask_t LinkDownIgnoreMask; @@ -312,8 +313,143 @@ void PmPrintExceededPort(char *buf, size_t bufSize, PmPort_t *pmportp, uint32 in #define GET_NEIGHBOR_DELTA_VLCOUNTER(vlcntr, vl) \ (portImageNeighbor ? portImageNeighbor->DeltaStlVLPortCounters[vl].vlcntr : 0) +static __inline void +FormatStlPortErrorInfo(char *buf, size_t bufsize, PmCompositeErrorInfo_t *err, STLErrorInfoMask_t *mask) { + int i; + PrintDest_t str; + PrintDestInitBuffer(&str, buf, bufsize); + + // If mask is given and no bits are set return. + if (mask && mask->AsReg32 == 0) return; + + // If mask is not given assume print any with a valid status. + if ((!mask || mask->s.UncorrectableErrorInfo) && err->UncorrectableErrorInfo.s.Status) { + PrintFunc(&str, "UncErr[%u:%s] ", err->UncorrectableErrorInfo.s.ErrorCode, + UncorrectableErrorInfoToText(err->UncorrectableErrorInfo.s.ErrorCode)); + } + + if ((!mask || mask->s.PortRcvErrorInfo) && err->PortRcvErrorInfo.s.Status) { + PrintFunc(&str, "RcvErr[%u:%s]", err->PortRcvErrorInfo.s.ErrorCode, + PortRcvErrorInfoToText(err->PortRcvErrorInfo.s.ErrorCode)); + + if (err->PortRcvErrorInfo.s.ErrorCode == 1 + || (err->PortRcvErrorInfo.s.ErrorCode >= 4 && err->PortRcvErrorInfo.s.ErrorCode <= 12)) + { + // Flit 1 + PrintFunc(&str, "={F1=0x"); + for (i = 0; i < 8; i++) { + PrintFunc(&str, "%02x", err->PortRcvErrorInfo.ErrorInfo.EI1to12.PacketFlit1[i]); + } + PrintFunc(&str, ":%u", err->PortRcvErrorInfo.ErrorInfo.EI1to12.s.Flit1Bits); + //Flit 2 + PrintFunc(&str, ";F2=0x"); + for (i = 0; i < 8; i++) { + PrintFunc(&str, "%02x", err->PortRcvErrorInfo.ErrorInfo.EI1to12.PacketFlit2[i]); + } + PrintFunc(&str, ":%u} ", err->PortRcvErrorInfo.ErrorInfo.EI1to12.s.Flit2Bits); + } else if (err->PortRcvErrorInfo.s.ErrorCode == 13) { + PrintFunc(&str, "={F=0x"); + for (i = 0; i < 8; i++) { + PrintFunc(&str, "%02x", err->PortRcvErrorInfo.ErrorInfo.EI13.PacketBytes[i]); + } + PrintFunc(&str, ":%u} ", err->PortRcvErrorInfo.ErrorInfo.EI13.s.FlitBits); + } else { + PrintFunc(&str, " "); + } + } + + if ((!mask || mask->s.ExcessiveBufferOverrunInfo) && err->ExcessiveBufferOverrunInfo.s.Status) { + PrintFunc(&str, "ExsBufOvrn={SC=%u} ", err->ExcessiveBufferOverrunInfo.s.SC); + } + + if ((!mask || mask->s.FMConfigErrorInfo) && err->FMConfigErrorInfo.s.Status) { + PrintFunc(&str, "FmCfgErr[%u:%s]", err->FMConfigErrorInfo.s.ErrorCode, + FMConfigErrorInfoToText(err->FMConfigErrorInfo.s.ErrorCode)); + switch (err->FMConfigErrorInfo.s.ErrorCode) { + case 0: + case 1: + case 2: + case 8: + PrintFunc(&str, "={Distance=%u} ", err->FMConfigErrorInfo.ErrorInfo.EI0to2_8.Distance); + break; + case 3: + case 4: + case 5: + PrintFunc(&str, "={VL=%u} ", err->FMConfigErrorInfo.ErrorInfo.EI3to5.VL); + break; + case 6: + PrintFunc(&str, "={BadBits=%x} ", err->FMConfigErrorInfo.ErrorInfo.EI6.BadFlitBits); + break; + case 7: + PrintFunc(&str, "={SC=%x} ", err->FMConfigErrorInfo.ErrorInfo.EI7.SC); + break; + default: + PrintFunc(&str, " "); + } + } + + if ((!mask || mask->s.PortRcvSwitchRelayErrorInfo) && err->PortRcvSwitchRelayErrorInfo.s.Status) { + PrintFunc(&str, "RxSwRlyErr[%u:%s]", + err->PortRcvSwitchRelayErrorInfo.s.ErrorCode, + PortRcvSwitchRelayErrorInfoToText(err->PortRcvSwitchRelayErrorInfo.s.ErrorCode)); + switch (err->PortRcvSwitchRelayErrorInfo.s.ErrorCode) { + case 0: + PrintFunc(&str, "={DLID=0x%x;SLID=0x%x;SC=%u;RC=%u} ", + err->PortRcvSwitchRelayErrorInfo.ErrorInfo.EI0.DLID, + ((err->PortRcvSwitchRelayErrorInfo.SLID_23_16 << 16) + | err->PortRcvSwitchRelayErrorInfo.SLID_15_0), + err->PortRcvSwitchRelayErrorInfo.ErrorInfo.EI0.SC, + err->PortRcvSwitchRelayErrorInfo.s.RC); + break; + case 2: + PrintFunc(&str, "={DLID=0x%x;SLID=0x%x;EPortNum=%u;RC=%u} ", + ((err->PortRcvSwitchRelayErrorInfo.ErrorInfo.EI2.DLID_23_16 << 16) + | err->PortRcvSwitchRelayErrorInfo.ErrorInfo.EI2.DLID_15_0), + ((err->PortRcvSwitchRelayErrorInfo.SLID_23_16 << 16) + | err->PortRcvSwitchRelayErrorInfo.SLID_15_0), + err->PortRcvSwitchRelayErrorInfo.ErrorInfo.EI2.EgressPortNum, + err->PortRcvSwitchRelayErrorInfo.s.RC); + break; + case 3: + PrintFunc(&str, "={EPortNum=%u;SC=%u} ", + err->PortRcvSwitchRelayErrorInfo.ErrorInfo.EI3.EgressPortNum, + err->PortRcvSwitchRelayErrorInfo.ErrorInfo.EI3.SC); + break; + default: + PrintFunc(&str, " "); + } + } + + if ((!mask || mask->s.PortXmitConstraintErrorInfo) && err->PortXmitConstraintErrorInfo.s.Status) { + PrintFunc(&str, "TxCnstErr={pkey=0x%04x;SLID=0x%x} ", + err->PortXmitConstraintErrorInfo.P_Key, err->PortXmitConstraintErrorInfo.SLID); + } + + if ((!mask || mask->s.PortRcvConstraintErrorInfo) && err->PortRcvConstraintErrorInfo.s.Status) { + PrintFunc(&str, "RxCnstErr[%u:%s]={pkey=0x%04x;SLID=0x%x} ", + err->PortRcvConstraintErrorInfo.s.ErrorCode, + PortRcvConstraintErrorInfoToText(err->PortRcvConstraintErrorInfo.s.ErrorCode), + err->PortRcvConstraintErrorInfo.P_Key, err->PortRcvConstraintErrorInfo.SLID); + } +} + +static void PmPrintExceededPortDetailsErrorInfo(PmPort_t *pmportp, uint32 imageIndex, STLErrorInfoMask_t mask, char *buf) +{ + + // If one reg has a valid status and can be printed then print port + if (mask.AsReg32) { + IB_LOG_WARN_FMT(NULL, "ErrorInfo was set on %.*s Guid "FMT_U64" LID 0x%x Port %u: %s", + (int)sizeof(pmportp->pmnodep->nodeDesc.NodeString), (char *)pmportp->pmnodep->nodeDesc.NodeString, + pmportp->pmnodep->NodeGUID, pmportp->pmnodep->Image[imageIndex].lid, pmportp->portNum, buf); + } else { + IB_LOG_INFO_FMT(NULL, "ErrorInfo was set on %.*s Guid "FMT_U64" LID 0x%x Port %u: No data found", + (int)sizeof(pmportp->pmnodep->nodeDesc.NodeString), (char *)pmportp->pmnodep->nodeDesc.NodeString, + pmportp->pmnodep->NodeGUID, pmportp->pmnodep->Image[imageIndex].lid, pmportp->portNum); + } +} + void PmPrintExceededPortDetailsIntegrity(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, - PmPort_t *pmportneighborp, uint32 imageIndex) + PmPort_t *pmportneighborp, uint32 imageIndex, uint8 printErrorInfo) { PmPortImage_t *portImage = &pmportp->Image[imageIndex]; PmPortImage_t *portImageNeighbor = (pmportneighborp ? &pmportneighborp->Image[imageIndex] : NULL); @@ -379,12 +515,35 @@ void PmPrintExceededPortDetailsIntegrity(char *exceededMessage, Pm_t *pm, PmPort buffSpace -= strlen(logMessage); logMessage += strlen(logMessage); } - IB_LOG_WARN_FMT(NULL, "%s Details: %s", exceededMessage, message); + + if (printErrorInfo) { + if (portImage->u.s.gotErrorInfo) { + char buf[256] = {0}; + STLErrorInfoMask_t mask = {0}; + + mask.s.PortRcvErrorInfo = portImage->ErrorInfo.PortRcvErrorInfo.s.Status; + mask.s.UncorrectableErrorInfo = portImage->ErrorInfo.UncorrectableErrorInfo.s.Status; + mask.s.FMConfigErrorInfo = portImage->ErrorInfo.FMConfigErrorInfo.s.Status; + + FormatStlPortErrorInfo(buf, sizeof(buf), &portImage->ErrorInfo, &mask); + PmPrintExceededPortDetailsErrorInfo(pmportp, imageIndex, mask, buf); + } + + if (portImageNeighbor && portImageNeighbor->u.s.gotErrorInfo) { + char buf[256] = {0}; + STLErrorInfoMask_t mask = {0}; + + mask.s.ExcessiveBufferOverrunInfo = portImageNeighbor->ErrorInfo.ExcessiveBufferOverrunInfo.s.Status; + + FormatStlPortErrorInfo(buf, sizeof(buf), &portImageNeighbor->ErrorInfo, &mask); + PmPrintExceededPortDetailsErrorInfo(pmportneighborp, imageIndex, mask, buf); + } + } } void PmPrintExceededPortDetailsCongestion(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, - PmPort_t *pmportneighborp, uint32 imageIndex) + PmPort_t *pmportneighborp, uint32 imageIndex, uint8 printErrorInfo) { PmPortImage_t *portImage = &pmportp->Image[imageIndex]; PmPortImage_t *portImageNeighbor = (pmportneighborp ? &pmportneighborp->Image[imageIndex] : NULL); @@ -472,7 +631,7 @@ void PmPrintExceededPortDetailsCongestion(char *exceededMessage, Pm_t *pm, PmPor } void PmPrintExceededPortDetailsSmaCongestion(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, - PmPort_t *pmportneighborp, uint32 imageIndex) + PmPort_t *pmportneighborp, uint32 imageIndex, uint8 printErrorInfo) { PmPortImage_t *portImage = &pmportp->Image[imageIndex]; PmPortImage_t *portImageNeighbor = (pmportneighborp ? &pmportneighborp->Image[imageIndex] : NULL); @@ -547,7 +706,7 @@ void PmPrintExceededPortDetailsSmaCongestion(char *exceededMessage, Pm_t *pm, Pm } void PmPrintExceededPortDetailsBubble(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, - PmPort_t *pmportneighborp, uint32 imageIndex) + PmPort_t *pmportneighborp, uint32 imageIndex, uint8 printErrorInfo) { PmPortImage_t *portImage = &pmportp->Image[imageIndex]; PmPortImage_t *portImageNeighbor = (pmportneighborp ? &pmportneighborp->Image[imageIndex] : NULL); @@ -577,7 +736,8 @@ void PmPrintExceededPortDetailsBubble(char *exceededMessage, Pm_t *pm, PmPort_t exceededMessage, DeltaXmitWastedBW, DeltaXmitWaitData, XmitBubblePct, DeltaRcvBubble_N, RcvBubblePct); } -void PmPrintExceededPortDetailsSecurity(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, PmPort_t *pmportneighborp, uint32 imageIndex) +void PmPrintExceededPortDetailsSecurity(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, + PmPort_t *pmportneighborp, uint32 imageIndex, uint8 printErrorInfo) { PmPortImage_t *portImage = &pmportp->Image[imageIndex]; PmPortImage_t *portImageNeighbor = (pmportneighborp ? &pmportneighborp->Image[imageIndex] : NULL); @@ -585,15 +745,47 @@ void PmPrintExceededPortDetailsSecurity(char *exceededMessage, Pm_t *pm, PmPort_ IB_LOG_WARN_FMT(NULL, "%s Details: TxCE=%"PRIu64", neighbor RxCE=%"PRIu64" ", exceededMessage, GET_DELTA_COUNTER(PortXmitConstraintErrors), GET_NEIGHBOR_DELTA_COUNTER(PortRcvConstraintErrors)); + + if (printErrorInfo) { + if (portImage->u.s.gotErrorInfo) { + char buf[256] = {0}; + STLErrorInfoMask_t mask = {0}; + + mask.s.PortXmitConstraintErrorInfo = portImage->ErrorInfo.PortXmitConstraintErrorInfo.s.Status; + FormatStlPortErrorInfo(buf, sizeof(buf), &portImage->ErrorInfo, &mask); + PmPrintExceededPortDetailsErrorInfo(pmportp, imageIndex, mask, buf); + } + + if (portImageNeighbor && portImageNeighbor->u.s.gotErrorInfo) { + char buf[256] = {0}; + STLErrorInfoMask_t mask = {0}; + + mask.s.PortRcvConstraintErrorInfo = + portImageNeighbor->ErrorInfo.PortRcvConstraintErrorInfo.s.Status; + FormatStlPortErrorInfo(buf, sizeof(buf), &portImageNeighbor->ErrorInfo, &mask); + PmPrintExceededPortDetailsErrorInfo(pmportneighborp, imageIndex, mask, buf); + } + } } -void PmPrintExceededPortDetailsRouting(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, PmPort_t *pmportneighborp, uint32 imageIndex) + +void PmPrintExceededPortDetailsRouting(char *exceededMessage, Pm_t *pm, PmPort_t *pmportp, + PmPort_t *pmportneighborp, uint32 imageIndex, uint8 printErrorInfo) { PmPortImage_t *portImage = &pmportp->Image[imageIndex]; - /*PmPortImage_t *portImageNeighbor = (pmportneighborp ? &pmportneighborp->Image[imageIndex] : NULL); */ IB_LOG_WARN_FMT(NULL, "%s Details: RxSR=%"PRIu64" ", exceededMessage, GET_DELTA_COUNTER(PortRcvSwitchRelayErrors)); + + if (printErrorInfo && portImage->u.s.gotErrorInfo) { + char buf[256] = {0}; + STLErrorInfoMask_t mask = {0}; + + mask.s.PortRcvSwitchRelayErrorInfo = portImage->ErrorInfo.PortRcvSwitchRelayErrorInfo.s.Status; + FormatStlPortErrorInfo(buf, sizeof(buf), &portImage->ErrorInfo, &mask); + PmPrintExceededPortDetailsErrorInfo(pmportp, imageIndex, mask, buf); + } } + #undef GET_DELTA_COUNTER #undef GET_NEIGHBOR_DELTA_COUNTER #undef GET_DELTA_VLCOUNTER diff --git a/Esm/ib/src/pm/pm/pm_counters.c b/Esm/ib/src/pm/pm/pm_counters.c index 7ab69288..d20bf3de 100644 --- a/Esm/ib/src/pm/pm/pm_counters.c +++ b/Esm/ib/src/pm/pm/pm_counters.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/pm/pm/pm_dispatch.c b/Esm/ib/src/pm/pm/pm_dispatch.c index 541e1371..026db7e7 100644 --- a/Esm/ib/src/pm/pm/pm_dispatch.c +++ b/Esm/ib/src/pm/pm/pm_dispatch.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/pm/pm/pm_exit.c b/Esm/ib/src/pm/pm/pm_exit.c index 62fe4512..6df7a761 100755 --- a/Esm/ib/src/pm/pm/pm_exit.c +++ b/Esm/ib/src/pm/pm/pm_exit.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/pm/pm/pm_groups.c b/Esm/ib/src/pm/pm/pm_groups.c index 2483f747..a1e0c104 100644 --- a/Esm/ib/src/pm/pm/pm_groups.c +++ b/Esm/ib/src/pm/pm/pm_groups.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/pm/pm/pm_pma.c b/Esm/ib/src/pm/pm/pm_pma.c index 2cb8fc69..d6e8d73f 100644 --- a/Esm/ib/src/pm/pm/pm_pma.c +++ b/Esm/ib/src/pm/pm/pm_pma.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/pm/pm/pm_sweep.c b/Esm/ib/src/pm/pm/pm_sweep.c index f5c04625..95f67399 100644 --- a/Esm/ib/src/pm/pm/pm_sweep.c +++ b/Esm/ib/src/pm/pm/pm_sweep.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -143,6 +143,16 @@ typedef struct PmDbsyncSmInfo_s { PmDbsyncSmInfo_t basePmDbsyncSmInfo; PmDbsyncSmInfo_t newPmDbsyncSmInfo; +typedef struct _PmLogErrorInfoThresholds { + uint32_t Integrity; + uint32_t Security; + uint32_t Routing; + /* Following thresholds not supported */ + uint32_t Congestion; + uint32_t SmaCongestion; + uint32_t Bubble; +} PmLogErrorInfoThresholds_t; + /* Helper function to check if any add/delete changes happened to standby SMs. */ static void checkForChangesInStandbySMs(PmDbsyncSmInfo_t *base, PmDbsyncSmInfo_t *new) { @@ -1101,7 +1111,10 @@ PmNode_t *get_pmnodep(Pm_t *pm, Guid_t guid, STL_LID lid) pmnodep = PARENT_STRUCT(mi, PmNode_t, AllNodesEntry); AtomicIncrementVoid(&pmnodep->refCount); if (pm->LastSweepIndex == PM_IMAGE_INDEX_INVALID - || pmnodep != pm->Image[pm->LastSweepIndex].LidMap[lid]) { + || pmnodep->Image[pm->LastSweepIndex].lid != lid + || (lid < pm->Image[pm->LastSweepIndex].lidMapSize + && pmnodep != pm->Image[pm->LastSweepIndex].LidMap[lid])) + { // lid changed since last pm sweep #if 1 // clear out any previous redirect @@ -1755,7 +1768,7 @@ void threadDecompress(uint32_t argc, uint8_t **argv) { if (argc != 6) { - IB_LOG_ERROR ("Internal errror, invalid arguments", argc); + IB_LOG_ERROR ("Internal error, invalid arguments", argc); return; } @@ -1951,7 +1964,7 @@ void threadCompress(uint32_t argc, uint8_t **argv) { if (argc != 6) // the check avoids variable not used warning { - IB_LOG_ERROR ("Internal errror, invalid arguments", 0); + IB_LOG_ERROR ("Internal error, invalid arguments", 0); return; } @@ -4793,126 +4806,6 @@ void PmDestroy(Pm_t *pm) #endif } - -static __inline void -FormatStlPortErrorInfo(char *buf, size_t bufsize, PmCompositeErrorInfo_t *err, STLErrorInfoMask_t *mask) { - int i; - PrintDest_t str; - PrintDestInitBuffer(&str, buf, bufsize); - - // If mask is given and no bits are set return. - if (mask && mask->AsReg32 == 0) return; - - // If mask is not given assume print any with a valid status. - if ((!mask || mask->s.UncorrectableErrorInfo) && err->UncorrectableErrorInfo.s.Status) { - PrintFunc(&str, "UncErr[%u:%s] ", err->UncorrectableErrorInfo.s.ErrorCode, - UncorrectableErrorInfoToText(err->UncorrectableErrorInfo.s.ErrorCode)); - } - - if ((!mask || mask->s.PortRcvErrorInfo) && err->PortRcvErrorInfo.s.Status) { - PrintFunc(&str, "RcvErr[%u:%s]", err->PortRcvErrorInfo.s.ErrorCode, - PortRcvErrorInfoToText(err->PortRcvErrorInfo.s.ErrorCode)); - - if (err->PortRcvErrorInfo.s.ErrorCode == 1 - || (err->PortRcvErrorInfo.s.ErrorCode >= 4 && err->PortRcvErrorInfo.s.ErrorCode <= 12)) - { - // Flit 1 - PrintFunc(&str, "={F1=0x"); - for (i = 0; i < 8; i++) { - PrintFunc(&str, "%02x", err->PortRcvErrorInfo.ErrorInfo.EI1to12.PacketFlit1[i]); - } - PrintFunc(&str, ":%u", err->PortRcvErrorInfo.ErrorInfo.EI1to12.s.Flit1Bits); - //Flit 2 - PrintFunc(&str, ";F2=0x"); - for (i = 0; i < 8; i++) { - PrintFunc(&str, "%02x", err->PortRcvErrorInfo.ErrorInfo.EI1to12.PacketFlit2[i]); - } - PrintFunc(&str, ":%u} ", err->PortRcvErrorInfo.ErrorInfo.EI1to12.s.Flit2Bits); - } else if (err->PortRcvErrorInfo.s.ErrorCode == 13) { - PrintFunc(&str, "={F=0x"); - for (i = 0; i < 8; i++) { - PrintFunc(&str, "%02x", err->PortRcvErrorInfo.ErrorInfo.EI13.PacketBytes[i]); - } - PrintFunc(&str, ":%u} ", err->PortRcvErrorInfo.ErrorInfo.EI13.s.FlitBits); - } else { - PrintFunc(&str, " "); - } - } - - if ((!mask || mask->s.ExcessiveBufferOverrunInfo) && err->ExcessiveBufferOverrunInfo.s.Status) { - PrintFunc(&str, "ExsBufOvrn={SC=%u} ", err->ExcessiveBufferOverrunInfo.s.SC); - } - - if ((!mask || mask->s.FMConfigErrorInfo) && err->FMConfigErrorInfo.s.Status) { - PrintFunc(&str, "FmCfgErr[%u:%s]", err->FMConfigErrorInfo.s.ErrorCode, - FMConfigErrorInfoToText(err->FMConfigErrorInfo.s.ErrorCode)); - switch (err->FMConfigErrorInfo.s.ErrorCode) { - case 0: - case 1: - case 2: - case 8: - PrintFunc(&str, "={Distance=%u} ", err->FMConfigErrorInfo.ErrorInfo.EI0to2_8.Distance); - break; - case 3: - case 4: - case 5: - PrintFunc(&str, "={VL=%u} ", err->FMConfigErrorInfo.ErrorInfo.EI3to5.VL); - break; - case 6: - PrintFunc(&str, "={BadBits=%x} ", err->FMConfigErrorInfo.ErrorInfo.EI6.BadFlitBits); - break; - case 7: - PrintFunc(&str, "={SC=%x} ", err->FMConfigErrorInfo.ErrorInfo.EI7.SC); - break; - default: - PrintFunc(&str, " "); - } - } - - if ((!mask || mask->s.PortRcvSwitchRelayErrorInfo) && err->PortRcvSwitchRelayErrorInfo.s.Status) { - PrintFunc(&str, "RxSwRlyErr[%u:%s]", - err->PortRcvSwitchRelayErrorInfo.s.ErrorCode, - PortRcvSwitchRelayErrorInfoToText(err->PortRcvSwitchRelayErrorInfo.s.ErrorCode)); - switch (err->PortRcvSwitchRelayErrorInfo.s.ErrorCode) { - case 0: - PrintFunc(&str, "={DLID=0x%x;SLID=0x%x;SC=%u;RC=%u} ", - err->PortRcvSwitchRelayErrorInfo.ErrorInfo.EI0.DLID, - ((err->PortRcvSwitchRelayErrorInfo.SLID_23_16 << 16) - | err->PortRcvSwitchRelayErrorInfo.SLID_15_0), - err->PortRcvSwitchRelayErrorInfo.ErrorInfo.EI0.SC, - err->PortRcvSwitchRelayErrorInfo.s.RC); - break; - case 2: - PrintFunc(&str, "={DLID=0x%x;SLID=0x%x;EPortNum=%u;RC=%u} ", - ((err->PortRcvSwitchRelayErrorInfo.ErrorInfo.EI2.DLID_23_16 << 16) - | err->PortRcvSwitchRelayErrorInfo.ErrorInfo.EI2.DLID_15_0), - ((err->PortRcvSwitchRelayErrorInfo.SLID_23_16 << 16) - | err->PortRcvSwitchRelayErrorInfo.SLID_15_0), - err->PortRcvSwitchRelayErrorInfo.ErrorInfo.EI2.EgressPortNum, - err->PortRcvSwitchRelayErrorInfo.s.RC); - break; - case 3: - PrintFunc(&str, "={EPortNum=%u;SC=%u} ", - err->PortRcvSwitchRelayErrorInfo.ErrorInfo.EI3.EgressPortNum, - err->PortRcvSwitchRelayErrorInfo.ErrorInfo.EI3.SC); - break; - default: - PrintFunc(&str, " "); - } - } - - if ((!mask || mask->s.PortXmitConstraintErrorInfo) && err->PortXmitConstraintErrorInfo.s.Status) { - PrintFunc(&str, "TxCnstErr={pkey=0x%04x;SLID=0x%x} ", - err->PortXmitConstraintErrorInfo.P_Key, err->PortXmitConstraintErrorInfo.SLID); - } - - if ((!mask || mask->s.PortRcvConstraintErrorInfo) && err->PortRcvConstraintErrorInfo.s.Status) { - PrintFunc(&str, "RxCnstErr[%u:%s]={pkey=0x%04x;SLID=0x%x} ", - err->PortRcvConstraintErrorInfo.s.ErrorCode, - PortRcvConstraintErrorInfoToText(err->PortRcvConstraintErrorInfo.s.ErrorCode), - err->PortRcvConstraintErrorInfo.P_Key, err->PortRcvConstraintErrorInfo.SLID); - } -} // After all individual ports have been tabulated, we tabulate totals for // all groups. We must do this after port tabulation because some counters // need to look at both sides of a link to pick the max or combine error @@ -4924,12 +4817,12 @@ FormatStlPortErrorInfo(char *buf, size_t bufsize, PmCompositeErrorInfo_t *err, S static void PmFinalizeAllPortStats(Pm_t *pm) { PmThresholdsExceededMsgLimitXmlConfig_t thresholdsExceededMsgCount = {0}; - PmSweepErrorInfoThresholds_t thresholdsErrorInfoCount = {0}; + PmLogErrorInfoThresholds_t thresholdsErrorInfoCount = {0}, pmErrorInfoThresholds = {0}; STL_LID lid; PmImage_t *pmimagep = &pm->Image[pm->SweepIndex]; PmNode_t *pmnodep = NULL; PmPort_t *pmportp; - uint8 portnum; + uint8 portnum, printErrorInfoSummary=0; // get totalsLock so we can update RunningTotals and avoid any races // with paClearPortCounters @@ -4942,6 +4835,11 @@ static void PmFinalizeAllPortStats(Pm_t *pm) } } } + + pmErrorInfoThresholds.Integrity = pm_config.errorinfo_thresholds.Integrity; + pmErrorInfoThresholds.Security = pm_config.errorinfo_thresholds.Security; + pmErrorInfoThresholds.Routing = pm_config.errorinfo_thresholds.Routing; + (void)vs_rwunlock(&pm->totalsLock); // Log Ports which exceeded threshold up to ThresholdExceededMsgLimit @@ -4953,8 +4851,14 @@ static void PmFinalizeAllPortStats(Pm_t *pm) char buf[512]; \ PmPort_t *pmportp2 = pmportp->Image[pm->SweepIndex].neighbor; \ PmPrintExceededPort(buf, sizeof(buf), pmportp, pm->SweepIndex, #stat, pm->Thresholds.stat, stat); \ - PmPrintExceededPortDetails##stat(buf, pm, pmportp, pmportp2, pm->SweepIndex); \ + uint8 printErrorInfo = (pmErrorInfoThresholds.stat == IB_UINT32_MAX \ + || thresholdsErrorInfoCount.stat < pmErrorInfoThresholds.stat); \ + PmPrintExceededPortDetails##stat(buf, pm, pmportp, pmportp2, pm->SweepIndex, printErrorInfo); \ thresholdsExceededMsgCount.stat++; \ + if (printErrorInfo) { \ + thresholdsErrorInfoCount.stat++; \ + printErrorInfoSummary = 1; \ + } \ } \ } \ } while (0) @@ -4970,57 +4874,6 @@ static void PmFinalizeAllPortStats(Pm_t *pm) LOG_EXCEEDED_THRESHOLD(Bubble); LOG_EXCEEDED_THRESHOLD(Security); LOG_EXCEEDED_THRESHOLD(Routing); - - if (pmportp->Image[pm->SweepIndex].u.s.gotErrorInfo) { - char buf[256] = {0}; - STLErrorInfoMask_t mask = {0}; - - if (pm_config.errorinfo_thresholds.Integrity == IB_UINT32_MAX - || thresholdsErrorInfoCount.Integrity < pm_config.errorinfo_thresholds.Integrity) - { - mask.s.PortRcvErrorInfo - = pmportp->Image[pm->SweepIndex].ErrorInfo.PortRcvErrorInfo.s.Status; - mask.s.ExcessiveBufferOverrunInfo - = pmportp->Image[pm->SweepIndex].ErrorInfo.ExcessiveBufferOverrunInfo.s.Status; - mask.s.UncorrectableErrorInfo - = pmportp->Image[pm->SweepIndex].ErrorInfo.UncorrectableErrorInfo.s.Status; - mask.s.FMConfigErrorInfo - = pmportp->Image[pm->SweepIndex].ErrorInfo.FMConfigErrorInfo.s.Status; - - thresholdsErrorInfoCount.Integrity++; - } - if (pm_config.errorinfo_thresholds.Security == IB_UINT32_MAX - || thresholdsErrorInfoCount.Security < pm_config.errorinfo_thresholds.Security) - { - mask.s.PortXmitConstraintErrorInfo - = pmportp->Image[pm->SweepIndex].ErrorInfo.PortXmitConstraintErrorInfo.s.Status; - mask.s.PortRcvConstraintErrorInfo - = pmportp->Image[pm->SweepIndex].ErrorInfo.PortRcvConstraintErrorInfo.s.Status; - - thresholdsErrorInfoCount.Security++; - } - if (pm_config.errorinfo_thresholds.Routing == IB_UINT32_MAX - || thresholdsErrorInfoCount.Routing < pm_config.errorinfo_thresholds.Routing) - { - mask.s.PortRcvSwitchRelayErrorInfo - = pmportp->Image[pm->SweepIndex].ErrorInfo.PortRcvSwitchRelayErrorInfo.s.Status; - - thresholdsErrorInfoCount.Routing++; - } - - // If one reg has a valid status and can be printed then print port - if (mask.AsReg32) { - FormatStlPortErrorInfo(buf, sizeof(buf), &pmportp->Image[pm->SweepIndex].ErrorInfo, &mask); - IB_LOG_INFINI_INFO_FMT(NULL, "ErrorInfo was set on %.*s Guid "FMT_U64" LID 0x%x Port %u: %s", - (int)sizeof(pmnodep->nodeDesc.NodeString), (char *)pmnodep->nodeDesc.NodeString, - pmnodep->NodeGUID, lid, portnum, buf); - } else { - FormatStlPortErrorInfo(buf, sizeof(buf), &pmportp->Image[pm->SweepIndex].ErrorInfo, NULL); - IB_LOG_INFO_FMT(NULL, "ErrorInfo was set on %.*s Guid "FMT_U64" LID 0x%x Port %u: %s", - (int)sizeof(pmnodep->nodeDesc.NodeString), (char *)pmnodep->nodeDesc.NodeString, - pmnodep->NodeGUID, lid, portnum, buf); - } - } } } } @@ -5036,7 +4889,7 @@ static void PmFinalizeAllPortStats(Pm_t *pm) if (pmimagep->DowngradedPorts) IB_LOG_INFINI_INFO_FMT(__func__, "%u Port%s Downgraded", pmimagep->DowngradedPorts, pmimagep->DowngradedPorts > 1 ? "s were" : " was"); - if (pmimagep->ErrorInfoPorts) + if (printErrorInfoSummary && pmimagep->ErrorInfoPorts) IB_LOG_INFINI_INFO_FMT(__func__, "%u Port%s had ErrorInfo", pmimagep->ErrorInfoPorts, pmimagep->ErrorInfoPorts > 1 ? "s" : ""); } diff --git a/Esm/ib/src/pm/pm/pm_vfs.c b/Esm/ib/src/pm/pm/pm_vfs.c index 4f479657..0a51cc6e 100644 --- a/Esm/ib/src/pm/pm/pm_vfs.c +++ b/Esm/ib/src/pm/pm/pm_vfs.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/README b/Esm/ib/src/smi/README index 837e11b1..9ceaa4b3 100644 --- a/Esm/ib/src/smi/README +++ b/Esm/ib/src/smi/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/smi/include/README b/Esm/ib/src/smi/include/README index e666c8ea..2d280549 100644 --- a/Esm/ib/src/smi/include/README +++ b/Esm/ib/src/smi/include/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/smi/include/sa_l.h b/Esm/ib/src/smi/include/sa_l.h index 1e2e0afc..d0d63283 100644 --- a/Esm/ib/src/smi/include/sa_l.h +++ b/Esm/ib/src/smi/include/sa_l.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/include/sm_activate.h b/Esm/ib/src/smi/include/sm_activate.h index 8298e655..81593b22 100644 --- a/Esm/ib/src/smi/include/sm_activate.h +++ b/Esm/ib/src/smi/include/sm_activate.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/include/sm_ar.h b/Esm/ib/src/smi/include/sm_ar.h index 750ea276..7b8a8bf6 100755 --- a/Esm/ib/src/smi/include/sm_ar.h +++ b/Esm/ib/src/smi/include/sm_ar.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/include/sm_cable_info.h b/Esm/ib/src/smi/include/sm_cable_info.h index 19e1f782..1d27254d 100644 --- a/Esm/ib/src/smi/include/sm_cable_info.h +++ b/Esm/ib/src/smi/include/sm_cable_info.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/include/sm_congestion.h b/Esm/ib/src/smi/include/sm_congestion.h index a016b769..8275f5e4 100755 --- a/Esm/ib/src/smi/include/sm_congestion.h +++ b/Esm/ib/src/smi/include/sm_congestion.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/include/sm_counters.h b/Esm/ib/src/smi/include/sm_counters.h index 83c7da9b..23f80d95 100644 --- a/Esm/ib/src/smi/include/sm_counters.h +++ b/Esm/ib/src/smi/include/sm_counters.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/include/sm_dbsync.h b/Esm/ib/src/smi/include/sm_dbsync.h index 95adad7d..5026859e 100644 --- a/Esm/ib/src/smi/include/sm_dbsync.h +++ b/Esm/ib/src/smi/include/sm_dbsync.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/include/sm_discovery.h b/Esm/ib/src/smi/include/sm_discovery.h index 316dc2b3..d7c2f444 100644 --- a/Esm/ib/src/smi/include/sm_discovery.h +++ b/Esm/ib/src/smi/include/sm_discovery.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/include/sm_dor.h b/Esm/ib/src/smi/include/sm_dor.h index ff59fe66..3a1197db 100644 --- a/Esm/ib/src/smi/include/sm_dor.h +++ b/Esm/ib/src/smi/include/sm_dor.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/include/sm_l.h b/Esm/ib/src/smi/include/sm_l.h index 35aef1d9..4d563786 100644 --- a/Esm/ib/src/smi/include/sm_l.h +++ b/Esm/ib/src/smi/include/sm_l.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/include/sm_lid_assignment.h b/Esm/ib/src/smi/include/sm_lid_assignment.h index ec278cc6..561ff01e 100644 --- a/Esm/ib/src/smi/include/sm_lid_assignment.h +++ b/Esm/ib/src/smi/include/sm_lid_assignment.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/include/sm_maihandle.h b/Esm/ib/src/smi/include/sm_maihandle.h index 9272620b..f62edff1 100644 --- a/Esm/ib/src/smi/include/sm_maihandle.h +++ b/Esm/ib/src/smi/include/sm_maihandle.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/include/sm_parallelsweep.h b/Esm/ib/src/smi/include/sm_parallelsweep.h index 4086293a..e302c1ea 100644 --- a/Esm/ib/src/smi/include/sm_parallelsweep.h +++ b/Esm/ib/src/smi/include/sm_parallelsweep.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/include/sm_pkeys.h b/Esm/ib/src/smi/include/sm_pkeys.h index 836c60d7..f57932db 100644 --- a/Esm/ib/src/smi/include/sm_pkeys.h +++ b/Esm/ib/src/smi/include/sm_pkeys.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/include/sm_qos.h b/Esm/ib/src/smi/include/sm_qos.h index 7da372a3..b7311781 100644 --- a/Esm/ib/src/smi/include/sm_qos.h +++ b/Esm/ib/src/smi/include/sm_qos.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT1 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/include/sm_switch_info.h b/Esm/ib/src/smi/include/sm_switch_info.h index 5ffaf8b9..8520a056 100644 --- a/Esm/ib/src/smi/include/sm_switch_info.h +++ b/Esm/ib/src/smi/include/sm_switch_info.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/include/sm_update_fields.h b/Esm/ib/src/smi/include/sm_update_fields.h index d7b9495a..f598cc91 100644 --- a/Esm/ib/src/smi/include/sm_update_fields.h +++ b/Esm/ib/src/smi/include/sm_update_fields.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/include/stl_cca.h b/Esm/ib/src/smi/include/stl_cca.h index 8edfc355..01804640 100644 --- a/Esm/ib/src/smi/include/stl_cca.h +++ b/Esm/ib/src/smi/include/stl_cca.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sa/README b/Esm/ib/src/smi/sa/README index 94c140b6..403bb2ec 100755 --- a/Esm/ib/src/smi/sa/README +++ b/Esm/ib/src/smi/sa/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/smi/sa/sa_CongestionRecords.c b/Esm/ib/src/smi/sa/sa_CongestionRecords.c index 08c69512..e09bfa00 100644 --- a/Esm/ib/src/smi/sa/sa_CongestionRecords.c +++ b/Esm/ib/src/smi/sa/sa_CongestionRecords.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sa/sa_DeviceGroupMembership.c b/Esm/ib/src/smi/sa/sa_DeviceGroupMembership.c index 25b84dc0..2229cdb4 100644 --- a/Esm/ib/src/smi/sa/sa_DeviceGroupMembership.c +++ b/Esm/ib/src/smi/sa/sa_DeviceGroupMembership.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sa/sa_DeviceGroupName.c b/Esm/ib/src/smi/sa/sa_DeviceGroupName.c index e2cb987c..26252e15 100644 --- a/Esm/ib/src/smi/sa/sa_DeviceGroupName.c +++ b/Esm/ib/src/smi/sa/sa_DeviceGroupName.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -162,7 +162,7 @@ sa_DeviceGroupName_GetTable(Mai_t *maip, uint32_t *records) { IB_LOG_WARN_FMT(__func__, "sa_create_template_mask failed. maip->base.aid 0x%x samad.header.mask 0x%"PRIx64, maip->base.aid, samad.header.mask); - IB_EXIT("sa_DevceiGroupRecord_GetTable", VSTATUS_OK); + IB_EXIT("sa_DeviceGroupRecord_GetTable", VSTATUS_OK); return VSTATUS_OK; } diff --git a/Esm/ib/src/smi/sa/sa_DeviceTree.c b/Esm/ib/src/smi/sa/sa_DeviceTree.c index 27c7e990..2d3100db 100644 --- a/Esm/ib/src/smi/sa/sa_DeviceTree.c +++ b/Esm/ib/src/smi/sa/sa_DeviceTree.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sa/sa_FabricInfoRecord.c b/Esm/ib/src/smi/sa/sa_FabricInfoRecord.c index 89b43888..666a769a 100644 --- a/Esm/ib/src/smi/sa/sa_FabricInfoRecord.c +++ b/Esm/ib/src/smi/sa/sa_FabricInfoRecord.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sa/sa_McMemberRecord.c b/Esm/ib/src/smi/sa/sa_McMemberRecord.c index 4cee6a48..2aa99141 100644 --- a/Esm/ib/src/smi/sa/sa_McMemberRecord.c +++ b/Esm/ib/src/smi/sa/sa_McMemberRecord.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -1409,7 +1409,7 @@ sa_McMemberRecord_Delete(Topology_t *topop, Mai_t *maip, uint32_t *records) if ((mcGroup = sm_find_multicast_gid(mcmp->RID.MGID)) == NULL) { maip->base.status = MAD_STATUS_SA_REQ_INVALID_GID; IB_LOG_VERBOSE_FMT_VF( vfp, "sa_McMemberRecord_Delete", - "Cound not find multicast GID of "FMT_GID" in list of active multicast GIDs," + "Could not find multicast GID of "FMT_GID" in list of active multicast GIDs," " for request from %s Port %d, PortGUID "FMT_U64", LID 0x%.8X", mcastGid[0], mcastGid[1], senderName, senderPort->index, senderGuid, maip->addrInfo.slid); @@ -1419,7 +1419,7 @@ sa_McMemberRecord_Delete(Topology_t *topop, Mai_t *maip, uint32_t *records) if ((mcMember = sm_find_multicast_member(mcGroup, mcmp->RID.PortGID)) == NULL) { maip->base.status = MAD_STATUS_SA_REQ_INVALID_GID; IB_LOG_VERBOSE_FMT_VF( vfp, "sa_McMemberRecord_Delete", - "Cound not find multicast member with port GID of "FMT_GID" in list " + "Could not find multicast member with port GID of "FMT_GID" in list " "for multicast group with GID "FMT_GID " for request from %s Port %d, PortGUID "FMT_U64", LID 0x%.8X", prefix, guid, mcastGid[0], mcastGid[1], senderName, senderPort->index, senderGuid, diff --git a/Esm/ib/src/smi/sa/sa_NodeRecord.c b/Esm/ib/src/smi/sa/sa_NodeRecord.c index c8875fb6..78f62032 100644 --- a/Esm/ib/src/smi/sa/sa_NodeRecord.c +++ b/Esm/ib/src/smi/sa/sa_NodeRecord.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sa/sa_PathRecord.c b/Esm/ib/src/smi/sa/sa_PathRecord.c index 224e7b6d..d03d8925 100644 --- a/Esm/ib/src/smi/sa/sa_PathRecord.c +++ b/Esm/ib/src/smi/sa/sa_PathRecord.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sa/sa_PortInfoRecord.c b/Esm/ib/src/smi/sa/sa_PortInfoRecord.c index 9ec65c07..e14b819f 100644 --- a/Esm/ib/src/smi/sa/sa_PortInfoRecord.c +++ b/Esm/ib/src/smi/sa/sa_PortInfoRecord.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sa/sa_QuarantinedNodeRecord.c b/Esm/ib/src/smi/sa/sa_QuarantinedNodeRecord.c index f5e3944d..04ff501f 100644 --- a/Esm/ib/src/smi/sa/sa_QuarantinedNodeRecord.c +++ b/Esm/ib/src/smi/sa/sa_QuarantinedNodeRecord.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sa/sa_SCSCTableRecord.c b/Esm/ib/src/smi/sa/sa_SCSCTableRecord.c index 2d3008cf..aa5038b8 100644 --- a/Esm/ib/src/smi/sa/sa_SCSCTableRecord.c +++ b/Esm/ib/src/smi/sa/sa_SCSCTableRecord.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -137,7 +137,7 @@ sa_SCSCTableRecord_Set(uint8_t *slp, Node_t *nodep, Port_t *in_portp, Port_t *ou } } else { IB_LOG_ERROR_FMT( "sa_SCSCTableRecord_Set", - "Invalid call for non-swith or port 0 for Node Guid["FMT_U64"], %s", + "Invalid call for non-switch or port 0 for Node Guid["FMT_U64"], %s", nodep->nodeInfo.NodeGUID, sm_nodeDescString(nodep)); IB_EXIT("sa_SCSCTableRecord_Set", VSTATUS_BAD); return(VSTATUS_BAD); diff --git a/Esm/ib/src/smi/sa/sa_SLSCTableRecord.c b/Esm/ib/src/smi/sa/sa_SLSCTableRecord.c index de6db9e7..a2b4db63 100644 --- a/Esm/ib/src/smi/sa/sa_SLSCTableRecord.c +++ b/Esm/ib/src/smi/sa/sa_SLSCTableRecord.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sa/sa_TraceRecord.c b/Esm/ib/src/smi/sa/sa_TraceRecord.c index 28ddd0ec..16dfe70f 100644 --- a/Esm/ib/src/smi/sa/sa_TraceRecord.c +++ b/Esm/ib/src/smi/sa/sa_TraceRecord.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sa/sa_Trap.c b/Esm/ib/src/smi/sa/sa_Trap.c index ad5e2237..a0f16c6a 100644 --- a/Esm/ib/src/smi/sa/sa_Trap.c +++ b/Esm/ib/src/smi/sa/sa_Trap.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -548,7 +548,7 @@ sa_Trap(Mai_t *maip) { if (sm_config.IgnoreTraps) { // filter out all traps sm_get_lid_info(desc, notice.IssuerLID); - IB_LOG_WARN_FMT(__func__, "Dropping trap recieved from %s", desc); + IB_LOG_WARN_FMT(__func__, "Dropping trap received from %s", desc); /* * If it is a port state change or capabilitymask change, I must signal for a sweep */ diff --git a/Esm/ib/src/smi/sa/sa_VFabricRecord.c b/Esm/ib/src/smi/sa/sa_VFabricRecord.c index ce01051f..f33eab83 100644 --- a/Esm/ib/src/smi/sa/sa_VFabricRecord.c +++ b/Esm/ib/src/smi/sa/sa_VFabricRecord.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sa/sa_m.h b/Esm/ib/src/smi/sa/sa_m.h index 7e6645b5..0db2fdf9 100644 --- a/Esm/ib/src/smi/sa/sa_m.h +++ b/Esm/ib/src/smi/sa/sa_m.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sa/sa_main.c b/Esm/ib/src/smi/sa/sa_main.c index 0ec0f015..ccf30175 100644 --- a/Esm/ib/src/smi/sa/sa_main.c +++ b/Esm/ib/src/smi/sa/sa_main.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sa/sa_userexits.c b/Esm/ib/src/smi/sa/sa_userexits.c index 771a3063..41d6c725 100644 --- a/Esm/ib/src/smi/sa/sa_userexits.c +++ b/Esm/ib/src/smi/sa/sa_userexits.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -85,7 +85,7 @@ multipathrecord_userexit(uint8_t *data, uint32_t *records) { Status_t servicerecord_userexit(Mai_t *maip) { - IB_ENTER("servicerecord_usrexit", maip, 0, 0, 0); + IB_ENTER("servicerecord_userexit", maip, 0, 0, 0); IB_EXIT("servicerecord_userexit", VSTATUS_OK); return(VSTATUS_OK); diff --git a/Esm/ib/src/smi/sa/sa_utility.c b/Esm/ib/src/smi/sa/sa_utility.c index 47e33f7a..42ee7291 100644 --- a/Esm/ib/src/smi/sa/sa_utility.c +++ b/Esm/ib/src/smi/sa/sa_utility.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -1327,7 +1327,7 @@ sa_send_multi(Mai_t *maip, sa_cntxt_t *sa_cntxt ) { } if (chkSum != sa_cntxt->chkSum) { IB_LOG_ERROR_FMT(__func__, - "CHECKSUM FAILED [%d vs %d] for completeted %s[%s] RMPP TRANSACTION from LID[0x%x], TID["FMT_U64"]", + "CHECKSUM FAILED [%d vs %d] for completed %s[%s] RMPP TRANSACTION from LID[0x%x], TID["FMT_U64"]", chkSum, sa_cntxt->chkSum, sa_getMethodText((int)sa_cntxt->method), sa_getAidName(sa_cntxt->mad.base.aid), sa_cntxt->lid, sa_cntxt->tid); } diff --git a/Esm/ib/src/smi/sm/Makefile b/Esm/ib/src/smi/sm/Makefile index f13905ee..c7b3a9a4 100755 --- a/Esm/ib/src/smi/sm/Makefile +++ b/Esm/ib/src/smi/sm/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/src/smi/sm/README b/Esm/ib/src/smi/sm/README index b24ad8a1..92e211d2 100644 --- a/Esm/ib/src/smi/sm/README +++ b/Esm/ib/src/smi/sm/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/src/smi/sm/sm_activate.c b/Esm/ib/src/smi/sm/sm_activate.c index 26a61b32..0c76ea38 100644 --- a/Esm/ib/src/smi/sm/sm_activate.c +++ b/Esm/ib/src/smi/sm/sm_activate.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_ar.c b/Esm/ib/src/smi/sm/sm_ar.c index 3490add1..452b6a7c 100644 --- a/Esm/ib/src/smi/sm/sm_ar.c +++ b/Esm/ib/src/smi/sm/sm_ar.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -211,8 +211,12 @@ sm_AdaptiveRoutingSwitchUpdate(ParallelSweepContext_t *psc, SmMaiHandle_t *fd, T // The # of blocks we can send in this MAD. Normally // sm_config.lft_multi_block but will be less for the last send. - numBlocks = ( currentLid + lids_per_mad <= pgftCap) ? sm_config.lft_multi_block : - 1 + (pgftCap - (currentLid+1))/NUM_PGFT_ELEMENTS_BLOCK; + if (currentLid + lids_per_mad <= pgftCap) { + numBlocks = sm_config.lft_multi_block; + } else { + numBlocks = (pgftCap - currentLid) / NUM_PGFT_ELEMENTS_BLOCK; + if ( (pgftCap - currentLid) % NUM_PGFT_ELEMENTS_BLOCK) numBlocks++; + } // AMOD = NNNN NNNN 0000 0ABB BBBB BBBB BBBB BBBB // AMOD = numBlocks 0000 00[[[[[[current set]]]]] amod = (numBlocks<<24) | currentSet; diff --git a/Esm/ib/src/smi/sm/sm_async.c b/Esm/ib/src/smi/sm/sm_async.c index fb33f936..5451d06e 100644 --- a/Esm/ib/src/smi/sm/sm_async.c +++ b/Esm/ib/src/smi/sm/sm_async.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_attribute.c b/Esm/ib/src/smi/sm/sm_attribute.c index 676af8c9..17b3f0ca 100644 --- a/Esm/ib/src/smi/sm/sm_attribute.c +++ b/Esm/ib/src/smi/sm/sm_attribute.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_buffer_control_tables.c b/Esm/ib/src/smi/sm/sm_buffer_control_tables.c index 0c38137d..e4ac4669 100644 --- a/Esm/ib/src/smi/sm/sm_buffer_control_tables.c +++ b/Esm/ib/src/smi/sm/sm_buffer_control_tables.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_cable_info.c b/Esm/ib/src/smi/sm/sm_cable_info.c index 2262cbe2..77d35a27 100644 --- a/Esm/ib/src/smi/sm/sm_cable_info.c +++ b/Esm/ib/src/smi/sm/sm_cable_info.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_congestion.c b/Esm/ib/src/smi/sm/sm_congestion.c index e8422f69..78f372df 100644 --- a/Esm/ib/src/smi/sm/sm_congestion.c +++ b/Esm/ib/src/smi/sm/sm_congestion.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_control.c b/Esm/ib/src/smi/sm/sm_control.c index 9f8008ce..2d8ba582 100644 --- a/Esm/ib/src/smi/sm/sm_control.c +++ b/Esm/ib/src/smi/sm/sm_control.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_counters.c b/Esm/ib/src/smi/sm/sm_counters.c index ab3d5321..c1ae5bbe 100644 --- a/Esm/ib/src/smi/sm/sm_counters.c +++ b/Esm/ib/src/smi/sm/sm_counters.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -91,7 +91,7 @@ sm_counter_t smCounters[smCountersMax] = { [smCounterTrapRePath] = { "SM RX TRAP(RePath)", 0, 0, 0 }, [smCounterTrapPortStateChg] = { "SM RX TRAP(PortStateChg)", 0, 0, 0 }, [smCounterTrapLinkIntegrity] = { "SM RX TRAP(LinkIntegrity)", 0, 0, 0 }, - [smCounterTrapBufOverrun] = { "SM RX TRAP(BufferOverun)", 0, 0, 0 }, + [smCounterTrapBufOverrun] = { "SM RX TRAP(BufferOverrun)", 0, 0, 0 }, [smCounterTrapFlowControl] = { "SM RX TRAP(FlowControl)", 0, 0, 0 }, [smCounterTrapLocalChg] = { "SM RX TRAP(LocalChange)", 0, 0, 0 }, [smCounterTrapSysImgChg] = { "SM RX TRAP(SysImageChg)", 0, 0, 0 }, diff --git a/Esm/ib/src/smi/sm/sm_dbsync.c b/Esm/ib/src/smi/sm/sm_dbsync.c index e7745cfd..a6aa6b24 100644 --- a/Esm/ib/src/smi/sm/sm_dbsync.c +++ b/Esm/ib/src/smi/sm/sm_dbsync.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -384,7 +384,7 @@ static Status_t dbsync_getSMDBCCCSync(SMSyncReq_t *syncReqp) { if ((status = dbSyncCmdToMgr(dbsyncfd_if3, DBSYNC_AID_SYNC, DBSYNC_AMOD_GET_CCC, NULL, 0, msgbuf, &len, &resp_status)) != VSTATUS_OK) { IB_LOG_INFO_FMT(__func__, - "get of stanby SM at portGuid "FMT_U64", LID=[0x%x] Failed (rc=%d)", + "get of standby SM at portGuid "FMT_U64", LID=[0x%x] Failed (rc=%d)", syncReqp->portguid, syncReqp->standbyLid, status); } else if (len <= 0) { status=VSTATUS_BAD; @@ -784,7 +784,7 @@ static Status_t dbsync_setSMDBInform(SMSyncReq_t *syncReqp) { } else { /* successfully sync'd all INFORM records to standby SM */ IB_LOG_INFO_FMT(__func__, - "Full sync of %d INFORM records to SM at portGuid "FMT_U64", LID=[0x%x] was successfull", + "Full sync of %d INFORM records to SM at portGuid "FMT_U64", LID=[0x%x] was successful", numRecs, syncReqp->portguid, syncReqp->standbyLid); } } @@ -848,7 +848,7 @@ static Status_t dbsync_updateSMDBInform(SMSyncReq_t *syncReqp) { } else { /* successfully sync'd all INFORM records to standby SM */ IB_LOG_INFO_FMT(__func__, - "%s of INFORM record to SM at portGuid "FMT_U64", LID=[0x%x] was successfull", + "%s of INFORM record to SM at portGuid "FMT_U64", LID=[0x%x] was successful", ((syncReqp->type == DBSYNC_TYPE_UPDATE) ? "UPDATE":"DELETE"), syncReqp->portguid, syncReqp->standbyLid); } } @@ -1144,7 +1144,7 @@ static Status_t dbsync_setSMDBGroup(SMSyncReq_t *syncReqp) { } else { /* successfully sync'd all INFORM records to standby SM */ IB_LOG_INFO_FMT(__func__, - "Full sync of %d GROUP records to SM at portGuid "FMT_U64", LID=[0x%x] was successfull", + "Full sync of %d GROUP records to SM at portGuid "FMT_U64", LID=[0x%x] was successful", grpcnt, syncReqp->portguid, syncReqp->standbyLid); } } @@ -1260,7 +1260,7 @@ static Status_t dbsync_updateSMDBGroup(SMSyncReq_t *syncReqp) { } else { /* successfully sync'd all INFORM records to standby SM */ IB_LOG_INFO_FMT(__func__, - "%s of GROUP record to SM at portGuid "FMT_U64", LID=[0x%x] was successfull", + "%s of GROUP record to SM at portGuid "FMT_U64", LID=[0x%x] was successful", ((syncReqp->type == DBSYNC_TYPE_UPDATE) ? "UPDATE":"DELETE"), syncReqp->portguid, syncReqp->standbyLid); } } @@ -1568,7 +1568,7 @@ static Status_t dbsync_setSMDBService(SMSyncReq_t *syncReqp) { } else { /* successfully sync'd all INFORM records to standby SM */ IB_LOG_INFO_FMT(__func__, - "Full sync of %d SERVICE records with SM at portGuid "FMT_U64", LID=[0x%x] was successfull", + "Full sync of %d SERVICE records with SM at portGuid "FMT_U64", LID=[0x%x] was successful", numRecs, syncReqp->portguid, syncReqp->standbyLid); } } @@ -1625,7 +1625,7 @@ static Status_t dbsync_updateSMDBService(SMSyncReq_t *syncReqp) { } else { /* successfully sync'd all INFORM records to standby SM */ IB_LOG_INFO_FMT(__func__, - "%s of SERVICE record to SM at portGuid "FMT_U64", LID=[0x%x] was successfull", + "%s of SERVICE record to SM at portGuid "FMT_U64", LID=[0x%x] was successful", ((syncReqp->type == DBSYNC_TYPE_UPDATE) ? "UPDATE":"DELETE"), syncReqp->portguid, syncReqp->standbyLid); } } @@ -1887,7 +1887,7 @@ static Status_t dbsync_setSMDBMCRoot(SMSyncReq_t *syncReqp) { } else { /* successfully sync'd to standby SM */ IB_LOG_INFO_FMT(__func__, - "Full sync of MC ROOT GUID "FMT_U64" with SM at portGuid "FMT_U64", LID=[0x%x] was successfull", + "Full sync of MC ROOT GUID "FMT_U64" with SM at portGuid "FMT_U64", LID=[0x%x] was successful", sm_mcSpanningTreeRootGuid, syncReqp->portguid, syncReqp->standbyLid); } } @@ -2355,7 +2355,7 @@ static void dbsync_procReqQ(void) { /* * sm_dbsync main function - * processes requests off the dbsync queue when in master mode, sending sync messages to stanby SMs + * processes requests off the dbsync queue when in master mode, sending sync messages to standby SMs * processes sync messages from master when in standby mode */ void sm_dbsync(uint32_t argc, uint8_t ** argv) { diff --git a/Esm/ib/src/smi/sm/sm_dbsync_util.c b/Esm/ib/src/smi/sm/sm_dbsync_util.c index e8abed06..c2b8e9a8 100644 --- a/Esm/ib/src/smi/sm/sm_dbsync_util.c +++ b/Esm/ib/src/smi/sm/sm_dbsync_util.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_dgrouting.c b/Esm/ib/src/smi/sm/sm_dgrouting.c index 0c81b92d..7181dabe 100644 --- a/Esm/ib/src/smi/sm/sm_dgrouting.c +++ b/Esm/ib/src/smi/sm/sm_dgrouting.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_diag_ctrl.c b/Esm/ib/src/smi/sm/sm_diag_ctrl.c index 551cd27a..312f750b 100644 --- a/Esm/ib/src/smi/sm/sm_diag_ctrl.c +++ b/Esm/ib/src/smi/sm/sm_diag_ctrl.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_discovery.c b/Esm/ib/src/smi/sm/sm_discovery.c index f7b07af1..b39531bb 100644 --- a/Esm/ib/src/smi/sm/sm_discovery.c +++ b/Esm/ib/src/smi/sm/sm_discovery.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -411,7 +411,7 @@ _validate_predef_fields(Topology_t* topop, FabricData_t* pdtop, Node_t * upstrea if (hitCnt > 1 && (pdtCfg->logMessageThreshold == 0 || forcePrint || topop->preDefLogCounts.totalLogCount < pdtCfg->logMessageThreshold)) { - IB_LOG_WARN_FMT(__func__, "Mutlitple expected links matched by node" + IB_LOG_WARN_FMT(__func__, "Multiple expected links matched by node" " desc and port number. NodeGUID: "FMT_U64", NodeDesc: %s," " PortNum: %d", upstreamNodep->nodeInfo.NodeGUID, sm_nodeDescString(upstreamNodep), upstreamPortp->index); diff --git a/Esm/ib/src/smi/sm/sm_dispatch.c b/Esm/ib/src/smi/sm/sm_dispatch.c index cddd2cf8..2520e2ce 100644 --- a/Esm/ib/src/smi/sm/sm_dispatch.c +++ b/Esm/ib/src/smi/sm/sm_dispatch.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_dor.c b/Esm/ib/src/smi/sm/sm_dor.c index 83425abb..3336122a 100644 --- a/Esm/ib/src/smi/sm/sm_dor.c +++ b/Esm/ib/src/smi/sm/sm_dor.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -3468,7 +3468,7 @@ _process_xml_config(void) if (sm_config.smDorRouting.warn_threshold > SM_DOR_MAX_WARN_THRESHOLD) { IB_LOG_WARN_FMT(__func__, - "MeshTorusTopology WarnThreshold of %d is higher than max suported %d. Defaulting to %d.", + "MeshTorusTopology WarnThreshold of %d is higher than max supported %d. Defaulting to %d.", sm_config.smDorRouting.warn_threshold, SM_DOR_MAX_WARN_THRESHOLD, SM_DOR_MAX_WARN_THRESHOLD); sm_config.smDorRouting.warn_threshold = SM_DOR_MAX_WARN_THRESHOLD; } diff --git a/Esm/ib/src/smi/sm/sm_fattree.c b/Esm/ib/src/smi/sm/sm_fattree.c index f34f4377..46485194 100644 --- a/Esm/ib/src/smi/sm/sm_fattree.c +++ b/Esm/ib/src/smi/sm/sm_fattree.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_flapping.c b/Esm/ib/src/smi/sm/sm_flapping.c index 26815ef2..c2a1b8d2 100644 --- a/Esm/ib/src/smi/sm/sm_flapping.c +++ b/Esm/ib/src/smi/sm/sm_flapping.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_fsm.c b/Esm/ib/src/smi/sm/sm_fsm.c index b3b84036..dccbaceb 100644 --- a/Esm/ib/src/smi/sm/sm_fsm.c +++ b/Esm/ib/src/smi/sm/sm_fsm.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -653,7 +653,7 @@ sm_fsm_master(Mai_t *maip, char *nodename) sm_getStateText(sm_smInfo.u.s.SMStateCurrent), sm_getStateText(theirSmInfo.u.s.SMStateCurrent), nodename, slid, theirSmInfo.PortGUID); } else { IB_LOG_INFINI_INFO_FMT(__func__, - "[%s] SM successfully acknowleded Handover from remote SM node %s, LID [0x%x], portguid ["FMT_U64"]", + "[%s] SM successfully acknowledged Handover from remote SM node %s, LID [0x%x], portguid ["FMT_U64"]", sm_getStateText(sm_smInfo.u.s.SMStateCurrent), nodename, slid, theirSmInfo.PortGUID); } /* make transition to MASTER state */ diff --git a/Esm/ib/src/smi/sm/sm_hypercube.c b/Esm/ib/src/smi/sm/sm_hypercube.c index 4a23d834..36f16bc6 100644 --- a/Esm/ib/src/smi/sm/sm_hypercube.c +++ b/Esm/ib/src/smi/sm/sm_hypercube.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_lid_assignment.c b/Esm/ib/src/smi/sm/sm_lid_assignment.c index 414340c4..a74bb9b6 100644 --- a/Esm/ib/src/smi/sm/sm_lid_assignment.c +++ b/Esm/ib/src/smi/sm/sm_lid_assignment.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_linux.c b/Esm/ib/src/smi/sm/sm_linux.c index 26c29b0d..bbc88dae 100644 --- a/Esm/ib/src/smi/sm/sm_linux.c +++ b/Esm/ib/src/smi/sm/sm_linux.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_linux_proc.c b/Esm/ib/src/smi/sm/sm_linux_proc.c index 2d90f6b2..d4e378f0 100644 --- a/Esm/ib/src/smi/sm/sm_linux_proc.c +++ b/Esm/ib/src/smi/sm/sm_linux_proc.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_main.c b/Esm/ib/src/smi/sm/sm_main.c index 0f34e786..2f9c2c0a 100644 --- a/Esm/ib/src/smi/sm/sm_main.c +++ b/Esm/ib/src/smi/sm/sm_main.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -422,7 +422,7 @@ void sm_init_plt_table(void){ sa_dynamicPlt[6], sa_dynamicPlt[7], sa_dynamicPlt[8], sa_dynamicPlt[9]); vs_log_output_message(msgbuf, FALSE); } else { - sprintf(msgbuf, "SM: Dynamic packet lifetime is OFF, using saPacketLifetime contant %d", (unsigned int)sm_config.sa_packet_lifetime_n2); + sprintf(msgbuf, "SM: Dynamic packet lifetime is OFF, using saPacketLifetime constant %d", (unsigned int)sm_config.sa_packet_lifetime_n2); vs_log_output_message(msgbuf, FALSE); } return; @@ -2471,7 +2471,7 @@ smProcessReconfigureRequest(void){ } } else { - IB_LOG_ERROR0("SM: Error processing reconfigure request; reRenderVirtaulFabricsConfig failed"); + IB_LOG_ERROR0("SM: Error processing reconfigure request; reRenderVirtualFabricsConfig failed"); } } diff --git a/Esm/ib/src/smi/sm/sm_mkey.c b/Esm/ib/src/smi/sm/sm_mkey.c index aa46e004..72cc4cb5 100644 --- a/Esm/ib/src/smi/sm/sm_mkey.c +++ b/Esm/ib/src/smi/sm/sm_mkey.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_multicast.c b/Esm/ib/src/smi/sm/sm_multicast.c index 5975c0b6..e1b8af47 100644 --- a/Esm/ib/src/smi/sm/sm_multicast.c +++ b/Esm/ib/src/smi/sm/sm_multicast.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_parallelsweep.c b/Esm/ib/src/smi/sm/sm_parallelsweep.c index 5b7defb9..3142bb65 100644 --- a/Esm/ib/src/smi/sm/sm_parallelsweep.c +++ b/Esm/ib/src/smi/sm/sm_parallelsweep.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_partMgr.c b/Esm/ib/src/smi/sm/sm_partMgr.c index 01c40ca8..07fcbb29 100644 --- a/Esm/ib/src/smi/sm/sm_partMgr.c +++ b/Esm/ib/src/smi/sm/sm_partMgr.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_pkeys.c b/Esm/ib/src/smi/sm/sm_pkeys.c index be3797da..f54ca8fb 100644 --- a/Esm/ib/src/smi/sm/sm_pkeys.c +++ b/Esm/ib/src/smi/sm/sm_pkeys.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_popo.c b/Esm/ib/src/smi/sm/sm_popo.c index 97728c63..7479c9ee 100644 --- a/Esm/ib/src/smi/sm/sm_popo.c +++ b/Esm/ib/src/smi/sm/sm_popo.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_qos.c b/Esm/ib/src/smi/sm/sm_qos.c index 63a094c2..1a499bb9 100644 --- a/Esm/ib/src/smi/sm/sm_qos.c +++ b/Esm/ib/src/smi/sm/sm_qos.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_routing.c b/Esm/ib/src/smi/sm/sm_routing.c index 652918ae..dc5e1669 100644 --- a/Esm/ib/src/smi/sm/sm_routing.c +++ b/Esm/ib/src/smi/sm/sm_routing.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_routing_funcs.c b/Esm/ib/src/smi/sm/sm_routing_funcs.c index 0c9d4c6a..bf12230c 100644 --- a/Esm/ib/src/smi/sm/sm_routing_funcs.c +++ b/Esm/ib/src/smi/sm/sm_routing_funcs.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_switch_info.c b/Esm/ib/src/smi/sm/sm_switch_info.c index 8d7d9c58..8e70aa82 100644 --- a/Esm/ib/src/smi/sm/sm_switch_info.c +++ b/Esm/ib/src/smi/sm/sm_switch_info.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_topology.c b/Esm/ib/src/smi/sm/sm_topology.c index c4178eeb..42f271d4 100644 --- a/Esm/ib/src/smi/sm/sm_topology.c +++ b/Esm/ib/src/smi/sm/sm_topology.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -193,7 +193,7 @@ static const char *sweep_reasons[] = { [SM_SWEEP_REASON_FAILED_SWEEP] = "Problems during previous sweep, retrying.", [SM_SWEEP_REASON_TRAP_EVENT] = "Trap event occurred that requires re-sweep.", [SM_SWEEP_REASON_UNQUARANTINE] = "Last sweep succeeded with quarantined devices: clearing short-term quarantine and retrying.", - [SM_SWEEP_REASON_UNDETERMINED] = "No reason was specified (WARNING: abormal!)." + [SM_SWEEP_REASON_UNDETERMINED] = "No reason was specified (WARNING: abnormal!)." }; SweepReason_t sm_resweep_reason = SM_SWEEP_REASON_INIT; @@ -1104,7 +1104,7 @@ verify_admin_membership(Port_t *portp) vfp->full_member[dg].member); } } else { - IB_LOG_ERROR_FMT(__func__,"Unabled to validate SM's membership in Admin VF."); + IB_LOG_ERROR_FMT(__func__,"Unable to validate SM's membership in Admin VF."); } done: @@ -1320,6 +1320,13 @@ sweep_initialize(SweepContext_t *sweep_context) if (status != VSTATUS_OK) IB_FATAL_ERROR_NODUMP("Failed to release old topology lock"); + if (sm_state == SM_STATE_DISCOVERING) { + // Local port connection to neighbor switch (root switch) disrupted for some reason. + // LFTs might be incomplete (especially if the root switch is an unmanaged switch that was rebooted), + // so indicate that a fabric change has been detected to ensure update of LFTs. + topology_changed = 1; + } + status = sm_setup_local_node(sm_topop, &preDefTopology); if (status != VSTATUS_OK) { IB_ERROR_NOREPEAT(lastMsg,15, "Can't set up my local node, sleeping rc: %u", status); diff --git a/Esm/ib/src/smi/sm/sm_topology_rcv.c b/Esm/ib/src/smi/sm/sm_topology_rcv.c index c15db4e8..5cdc38bf 100644 --- a/Esm/ib/src/smi/sm/sm_topology_rcv.c +++ b/Esm/ib/src/smi/sm/sm_topology_rcv.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_update_fields.c b/Esm/ib/src/smi/sm/sm_update_fields.c index a88d20a8..e5cce897 100644 --- a/Esm/ib/src/smi/sm/sm_update_fields.c +++ b/Esm/ib/src/smi/sm/sm_update_fields.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_userexits.c b/Esm/ib/src/smi/sm/sm_userexits.c index 6503268c..a0b7c274 100644 --- a/Esm/ib/src/smi/sm/sm_userexits.c +++ b/Esm/ib/src/smi/sm/sm_userexits.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/sm_utility.c b/Esm/ib/src/smi/sm/sm_utility.c index 3f0abcf3..a98f20c3 100644 --- a/Esm/ib/src/smi/sm/sm_utility.c +++ b/Esm/ib/src/smi/sm/sm_utility.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -2379,8 +2379,6 @@ sm_initialize_port(ParallelSweepContext_t *psc, SmMaiHandle_t *fd, Topology_t * needSet = 1; } - } else { - portInfo.FlitControl.Interleave.s.DistanceEnabled = STL_PORT_FLIT_DISTANCE_MODE_NONE; } if (portp->portData->portInfo.PortMode.s.IsVLMarkerEnabled != @@ -2486,7 +2484,14 @@ sm_initialize_port(ParallelSweepContext_t *psc, SmMaiHandle_t *fd, Topology_t * if (portInfo.s4.OperationalVL != portp->portData->vl1) { portInfo.s4.OperationalVL = portp->portData->vl1; /* JSY - interop fix */ - needSet = 1; + // Workaround for WFR Driver Bug: + // Driver does not retain the OperationalVL field value configured by the SM. This causes + // the SM to issue a Set PortInfo on every sweep. + // The workaround is to set the OperationalVL field at least once, and ignore all other + // discrepancies between the OperationalVL and vl1 fields. + if (nodep->nodeInfo.NodeType != NI_TYPE_CA || portp->state == IB_PORT_INIT) { + needSet = 1; + } } else { portInfo.s4.OperationalVL = 0; } @@ -2577,24 +2582,26 @@ sm_initialize_port(ParallelSweepContext_t *psc, SmMaiHandle_t *fd, Topology_t * needSet = 1; } - /* check pkey enforcement on switch linked to FI */ - if (enforcePkey) { - if (!portInfo.s3.PartitionEnforcementInbound) { - portInfo.s3.PartitionEnforcementInbound = 1; - needSet = 1; - } - if (!portInfo.s3.PartitionEnforcementOutbound) { - portInfo.s3.PartitionEnforcementOutbound = 1; - needSet = 1; - } - } else { - if (portInfo.s3.PartitionEnforcementInbound) { - portInfo.s3.PartitionEnforcementInbound = 0; - needSet = 1; - } - if (portInfo.s3.PartitionEnforcementOutbound) { - portInfo.s3.PartitionEnforcementOutbound = 0; - needSet = 1; + /* check pkey enforcement on switch external ports, N/A for HFIs and switch port 0 */ + if (nodep->nodeInfo.NodeType == NI_TYPE_SWITCH && portp->index > 0) { + if (enforcePkey) { + if (!portInfo.s3.PartitionEnforcementInbound) { + portInfo.s3.PartitionEnforcementInbound = 1; + needSet = 1; + } + if (!portInfo.s3.PartitionEnforcementOutbound) { + portInfo.s3.PartitionEnforcementOutbound = 1; + needSet = 1; + } + } else { + if (portInfo.s3.PartitionEnforcementInbound) { + portInfo.s3.PartitionEnforcementInbound = 0; + needSet = 1; + } + if (portInfo.s3.PartitionEnforcementOutbound) { + portInfo.s3.PartitionEnforcementOutbound = 0; + needSet = 1; + } } } diff --git a/Esm/ib/src/smi/sm/sm_utility_hft.c b/Esm/ib/src/smi/sm/sm_utility_hft.c index 1a72e5ed..ea06b16e 100755 --- a/Esm/ib/src/smi/sm/sm_utility_hft.c +++ b/Esm/ib/src/smi/sm/sm_utility_hft.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/src/smi/sm/stl_cca.c b/Esm/ib/src/smi/sm/stl_cca.c index 0aeec173..cf6ed355 100644 --- a/Esm/ib/src/smi/sm/stl_cca.c +++ b/Esm/ib/src/smi/sm/stl_cca.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Esm/ib/test/README b/Esm/ib/test/README index 37bc6e58..7c0be535 100644 --- a/Esm/ib/test/README +++ b/Esm/ib/test/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/test/cs/README b/Esm/ib/test/cs/README index 6e3563b6..74318ece 100644 --- a/Esm/ib/test/cs/README +++ b/Esm/ib/test/cs/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/test/linux/README b/Esm/ib/test/linux/README index ee65cba8..78e33a0e 100644 --- a/Esm/ib/test/linux/README +++ b/Esm/ib/test/linux/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/test/linux/cs/usr/Makefile b/Esm/ib/test/linux/cs/usr/Makefile index a3264cfb..40b18b2e 100755 --- a/Esm/ib/test/linux/cs/usr/Makefile +++ b/Esm/ib/test/linux/cs/usr/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/test/linux/cs/usr/README b/Esm/ib/test/linux/cs/usr/README index 375bfeda..cc791b8d 100644 --- a/Esm/ib/test/linux/cs/usr/README +++ b/Esm/ib/test/linux/cs/usr/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/test/linux/usr/Makefile b/Esm/ib/test/linux/usr/Makefile index 299a1371..3b011b04 100755 --- a/Esm/ib/test/linux/usr/Makefile +++ b/Esm/ib/test/linux/usr/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/test/linux/usr/cs/Makefile b/Esm/ib/test/linux/usr/cs/Makefile index 208f971b..80fc725c 100755 --- a/Esm/ib/test/linux/usr/cs/Makefile +++ b/Esm/ib/test/linux/usr/cs/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/test/mai/README b/Esm/ib/test/mai/README index 22f4861f..1b4e3b39 100644 --- a/Esm/ib/test/mai/README +++ b/Esm/ib/test/mai/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/test/mai/filter/Makefile b/Esm/ib/test/mai/filter/Makefile index 9897b88c..012bb9cb 100755 --- a/Esm/ib/test/mai/filter/Makefile +++ b/Esm/ib/test/mai/filter/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/test/mai/filter/README b/Esm/ib/test/mai/filter/README index 8666eb2f..2280b557 100644 --- a/Esm/ib/test/mai/filter/README +++ b/Esm/ib/test/mai/filter/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/test/mai/handles/Makefile b/Esm/ib/test/mai/handles/Makefile index ab29093c..4815d088 100755 --- a/Esm/ib/test/mai/handles/Makefile +++ b/Esm/ib/test/mai/handles/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/test/mai/handles/README b/Esm/ib/test/mai/handles/README index b8f93393..63c8d6a6 100644 --- a/Esm/ib/test/mai/handles/README +++ b/Esm/ib/test/mai/handles/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/test/mai/open/Makefile b/Esm/ib/test/mai/open/Makefile index 00220281..9476058a 100755 --- a/Esm/ib/test/mai/open/Makefile +++ b/Esm/ib/test/mai/open/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/test/mai/open/README b/Esm/ib/test/mai/open/README index 006522cc..4db439a8 100644 --- a/Esm/ib/test/mai/open/README +++ b/Esm/ib/test/mai/open/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/test/mai/perf/Makefile b/Esm/ib/test/mai/perf/Makefile index d998e1a4..886c2fc4 100755 --- a/Esm/ib/test/mai/perf/Makefile +++ b/Esm/ib/test/mai/perf/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/test/mai/perf/README b/Esm/ib/test/mai/perf/README index b3e3a698..d4de3555 100644 --- a/Esm/ib/test/mai/perf/README +++ b/Esm/ib/test/mai/perf/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/test/mai/qp0/Makefile b/Esm/ib/test/mai/qp0/Makefile index ee020cbb..b7360843 100755 --- a/Esm/ib/test/mai/qp0/Makefile +++ b/Esm/ib/test/mai/qp0/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/test/mai/qp0/README b/Esm/ib/test/mai/qp0/README index 8cd1804f..47e5bd51 100644 --- a/Esm/ib/test/mai/qp0/README +++ b/Esm/ib/test/mai/qp0/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/test/smi/Makefile b/Esm/ib/test/smi/Makefile index 21a46846..fcb8a496 100755 --- a/Esm/ib/test/smi/Makefile +++ b/Esm/ib/test/smi/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/test/smi/README b/Esm/ib/test/smi/README index 77869eef..01831ff6 100644 --- a/Esm/ib/test/smi/README +++ b/Esm/ib/test/smi/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/ib/test/smi/sm/Makefile b/Esm/ib/test/smi/sm/Makefile index adc0e863..c08e3cbe 100755 --- a/Esm/ib/test/smi/sm/Makefile +++ b/Esm/ib/test/smi/sm/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for SM Module diff --git a/Esm/ib/test/smi/sm/README b/Esm/ib/test/smi/sm/README index 199f73d0..a0550a72 100644 --- a/Esm/ib/test/smi/sm/README +++ b/Esm/ib/test/smi/sm/README @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT10 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation All rights reserved. Redistribution and use in source and binary forms, with or without modification, diff --git a/Esm/rpm_runmake b/Esm/rpm_runmake index 99e9464c..3f7383e9 100755 --- a/Esm/rpm_runmake +++ b/Esm/rpm_runmake @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** ## ## rpm_runmake @@ -173,7 +173,7 @@ make $clobber_arg stage echo "Done $BUILD_TARGET_OS $BUILD_TARGET HSM $SUBPRODUCT $(date)" echo "==============================================================" -echo "Preping Files for $BUILD_TARGET_OS $BUILD_TARGET $(date)..." +echo "Prepping Files for $BUILD_TARGET_OS $BUILD_TARGET $(date)..." # run prep and package once at end # TBD - move package into outer final_package step and remove from here # consolidate Makefile accordingly to have one package target diff --git a/Esm/runmake b/Esm/runmake index d80b94d6..4068c182 100755 --- a/Esm/runmake +++ b/Esm/runmake @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** ## ## runmake diff --git a/Esm/setenv b/Esm/setenv index 5fb917b5..ad8326e0 100755 --- a/Esm/setenv +++ b/Esm/setenv @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Simple script to setup environment for a build for current OS version/type diff --git a/Esm/update_opa-fm_spec.sh b/Esm/update_opa-fm_spec.sh index a923bacd..f054d25f 100755 --- a/Esm/update_opa-fm_spec.sh +++ b/Esm/update_opa-fm_spec.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** id=$(./Esm/get_id_and_versionid.sh | cut -f1 -d' ') @@ -45,7 +45,7 @@ then cp $from $to fi -sed -i "s/__RPM_FS/OPA_FEATURE_SET=$OPA_FEATURE_SET/g" $to +sed -i "s/__RPM_FS/OPA_FEATURE_SET=opa10/g" $to if [ "$id" = "rhel" -o "$id" = "centos" ] then @@ -70,7 +70,9 @@ then sed -i "s/__RPM_SYSCONF/%{_sysconfdir}\/init.d\/opafm/g" $to fi sed -i "s/__RPM_RQ2/Requires: libibumad%{?_isa}, libibverbs%{?_isa}, rdma, expat%{?_isa}, libhfi1, openssl%{?_isa}/g" $to - sed -i "/__RPM_DEBUG/,+1d" $to + sed -i "/__RPM_RQ3/,+1d" $to + sed -i "/__RPM_BLDRQ3/d" $to + sed -i "/__RPM_DEBUG/d" $to elif [ "$id" = "sles" ] then GE_11_1=$(echo "$versionid >= 11.1" | bc) @@ -98,6 +100,8 @@ then fi sed -i "/__RPM_INS/,+1d" $to sed -i "/__RPM_SYSCONF/,+1d" $to + sed -i "/__RPM_RQ3/d" $to + sed -i "/__RPM_BLDRQ3/d" $to sed -i "s/__RPM_RQ2/Requires: libibumad3, libibverbs1, rdma, libexpat1, openssl/g" $to elif [ "$id" = "fedora" ] then @@ -106,6 +110,8 @@ then sed -i "s/__RPM_RQ1/Requires: systemd %{?systemd_requires}/g" $to sed -i "/__RPM_SYSCONF/,+1d" $to sed -i "s/__RPM_RQ2/Requires: libibumad%{?_isa}, libibverbs%{?_isa}, rdma, expat%{?_isa}, libhfi1, openssl%{?_isa}/g" $to + sed -i "/__RPM_RQ3/d" $to + sed -i "/__RPM_BLDRQ3/d" $to sed -i "/__RPM_DEBUG/,+1d" $to else echo ERROR: Unsupported distribution: $id $versionid diff --git a/Esm/update_opa-fm_spec.sh.base b/Esm/update_opa-fm_spec.sh.base index a923bacd..fc4b3ebb 100755 --- a/Esm/update_opa-fm_spec.sh.base +++ b/Esm/update_opa-fm_spec.sh.base @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** id=$(./Esm/get_id_and_versionid.sh | cut -f1 -d' ') @@ -45,7 +45,7 @@ then cp $from $to fi -sed -i "s/__RPM_FS/OPA_FEATURE_SET=$OPA_FEATURE_SET/g" $to +sed -i "s/__RPM_FS/OPA_FEATURE_SET=opa10/g" $to if [ "$id" = "rhel" -o "$id" = "centos" ] then diff --git a/IbAccess/Common/Ibt/Cm/cm_active.c b/IbAccess/Common/Ibt/Cm/cm_active.c index 296278e1..51e3165f 100644 --- a/IbAccess/Common/Ibt/Cm/cm_active.c +++ b/IbAccess/Common/Ibt/Cm/cm_active.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT4 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -9,7 +9,7 @@ modification, are permitted provided that the following conditions are met: this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. + documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. @@ -315,7 +315,7 @@ Connect( DEBUG_ASSERT(pCEP->pDgrmElement->Element.pBufferList->ByteCount == MAD_BLOCK_SIZE); if (pCEP->pDgrmElement->Element.pBufferList->ByteCount != MAD_BLOCK_SIZE) { - _DBG_ERROR((" Disgarding Corrupt Datagram!!! pDgrmElement = %p, pCEP->pDgrmElement->Element.pBufferList = %p, pCEP->pDgrmElement->Element.pBufferList->ByteCount = %d\n", + _DBG_ERROR((" Discarding Corrupt Datagram!!! pDgrmElement = %p, pCEP->pDgrmElement->Element.pBufferList = %p, pCEP->pDgrmElement->Element.pBufferList->ByteCount = %d\n", _DBG_PTR(pCEP), _DBG_PTR(pCEP->pDgrmElement), _DBG_PTR(pCEP->pDgrmElement->Element.pBufferList), diff --git a/IbAccess/Common/Ibt/Vca/ibt_utils.c b/IbAccess/Common/Ibt/Vca/ibt_utils.c index 818d3dbf..359644c8 100644 --- a/IbAccess/Common/Ibt/Vca/ibt_utils.c +++ b/IbAccess/Common/Ibt/Vca/ibt_utils.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT6 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -1034,7 +1034,7 @@ const char* iba_event_record_msg(IB_EVENT_RECORD *p_event) switch (p_event->EventType) { default: - return "Uknown Event"; + return "Unknown Event"; break; case AsyncEventPathMigrated: return "QP Path Migrated"; diff --git a/IbAccess/Common/Inc/ib_helper.h b/IbAccess/Common/Inc/ib_helper.h index 98b6fc8b..4c673f78 100644 --- a/IbAccess/Common/Inc/ib_helper.h +++ b/IbAccess/Common/Inc/ib_helper.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT3 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbAccess/Common/Inc/ib_sd.h b/IbAccess/Common/Inc/ib_sd.h index 84061a94..53b0136b 100644 --- a/IbAccess/Common/Inc/ib_sd.h +++ b/IbAccess/Common/Inc/ib_sd.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT3 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbAccess/Common/Inc/stl_helper.h b/IbAccess/Common/Inc/stl_helper.h index 04309e9b..c67aa873 100644 --- a/IbAccess/Common/Inc/stl_helper.h +++ b/IbAccess/Common/Inc/stl_helper.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbAccess/Common/Inc/stl_pa_priv.h b/IbAccess/Common/Inc/stl_pa_priv.h index 86fcfb64..2f40a28f 100644 --- a/IbAccess/Common/Inc/stl_pa_priv.h +++ b/IbAccess/Common/Inc/stl_pa_priv.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbAccess/Common/Inc/stl_pa_types.h b/IbAccess/Common/Inc/stl_pa_types.h index 8619c5c5..6b18db4a 100644 --- a/IbAccess/Common/Inc/stl_pa_types.h +++ b/IbAccess/Common/Inc/stl_pa_types.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbAccess/Common/Inc/stl_pkt.h b/IbAccess/Common/Inc/stl_pkt.h index c7bd29a9..8d51160f 100644 --- a/IbAccess/Common/Inc/stl_pkt.h +++ b/IbAccess/Common/Inc/stl_pkt.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbAccess/Common/Inc/stl_pm.h b/IbAccess/Common/Inc/stl_pm.h index 33be6cd6..479e2743 100644 --- a/IbAccess/Common/Inc/stl_pm.h +++ b/IbAccess/Common/Inc/stl_pm.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbAccess/Common/Inc/stl_sa_priv.h b/IbAccess/Common/Inc/stl_sa_priv.h index 02bd76a8..68e7a695 100644 --- a/IbAccess/Common/Inc/stl_sa_priv.h +++ b/IbAccess/Common/Inc/stl_sa_priv.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbAccess/Common/Inc/stl_sa_types.h b/IbAccess/Common/Inc/stl_sa_types.h index 9e24d1b1..8ed9a90a 100644 --- a/IbAccess/Common/Inc/stl_sa_types.h +++ b/IbAccess/Common/Inc/stl_sa_types.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbAccess/Common/Inc/stl_sd.h b/IbAccess/Common/Inc/stl_sd.h index 1c6d541d..ba3dc6f3 100644 --- a/IbAccess/Common/Inc/stl_sd.h +++ b/IbAccess/Common/Inc/stl_sd.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbAccess/Common/Inc/stl_sm_priv.h b/IbAccess/Common/Inc/stl_sm_priv.h index 466c69d8..ea05fffb 100644 --- a/IbAccess/Common/Inc/stl_sm_priv.h +++ b/IbAccess/Common/Inc/stl_sm_priv.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbAccess/Common/Inc/stl_sm_types.h b/IbAccess/Common/Inc/stl_sm_types.h index 143fb07b..2b7670b8 100644 --- a/IbAccess/Common/Inc/stl_sm_types.h +++ b/IbAccess/Common/Inc/stl_sm_types.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbAccess/Common/Inc/stl_types.h b/IbAccess/Common/Inc/stl_types.h index 2731c6a1..87ff1d7e 100644 --- a/IbAccess/Common/Inc/stl_types.h +++ b/IbAccess/Common/Inc/stl_types.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT3 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbAccess/Common/Inc/umadt.h b/IbAccess/Common/Inc/umadt.h index 1154f942..e67bab53 100644 --- a/IbAccess/Common/Inc/umadt.h +++ b/IbAccess/Common/Inc/umadt.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbAccess/Common/Public/ibyteswap.h b/IbAccess/Common/Public/ibyteswap.h index f9bebbb5..1e97fc23 100644 --- a/IbAccess/Common/Public/ibyteswap.h +++ b/IbAccess/Common/Public/ibyteswap.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT3 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -2093,7 +2093,7 @@ static __inline void StoreU64(uint8* addr, uint64 value) vartype field2; \ vartype field1; #else -#error "Uknown Byte order, neither CPU_LE nor CPU_BE set" +#error "Unknown Byte order, neither CPU_LE nor CPU_BE set" #endif /* CPU_LE */ #ifdef __cplusplus diff --git a/IbAccess/Common/Public/ievent.h b/IbAccess/Common/Public/ievent.h index 2b6ee517..5c53ed20 100644 --- a/IbAccess/Common/Public/ievent.h +++ b/IbAccess/Common/Public/ievent.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT3 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -9,7 +9,7 @@ modification, are permitted provided that the following conditions are met: this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. + documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/IbAccess/Common/Public/iheapmanager.c b/IbAccess/Common/Public/iheapmanager.c index 418b39f0..38f3fd65 100644 --- a/IbAccess/Common/Public/iheapmanager.c +++ b/IbAccess/Common/Public/iheapmanager.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT4 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -9,7 +9,7 @@ modification, are permitted provided that the following conditions are met: this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. + documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. @@ -239,7 +239,7 @@ static FSTATUS HeapManagerSplitBucket(HEAP_MANAGER *heap_mng,uint32 log2_size) LIST_ITEM *item; #if HEAP_MANAGER_DEBUG - MsgOut("Out of Free memory for heap(%s), need to rearange\n", + MsgOut("Out of Free memory for heap(%s), need to rearrange\n", heap_mng->name); #endif // split the bucket with the most free diff --git a/IbAccess/Common/Public/imemory.c b/IbAccess/Common/Public/imemory.c index b5951cb0..492f87f7 100644 --- a/IbAccess/Common/Public/imemory.c +++ b/IbAccess/Common/Public/imemory.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT6 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbAccess/Common/Public/imemory.h b/IbAccess/Common/Public/imemory.h index 5bdd18c2..d3d831fc 100644 --- a/IbAccess/Common/Public/imemory.h +++ b/IbAccess/Common/Public/imemory.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT3 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbAccess/Common/Public/iquickmap.c b/IbAccess/Common/Public/iquickmap.c index 80c81ec7..19c8a71e 100644 --- a/IbAccess/Common/Public/iquickmap.c +++ b/IbAccess/Common/Public/iquickmap.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT6 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -9,7 +9,7 @@ modification, are permitted provided that the following conditions are met: this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. + documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/IbAccess/Common/Public/iquickmap.h b/IbAccess/Common/Public/iquickmap.h index 29bff98a..6358f554 100644 --- a/IbAccess/Common/Public/iquickmap.h +++ b/IbAccess/Common/Public/iquickmap.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT3 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -9,7 +9,7 @@ modification, are permitted provided that the following conditions are met: this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. + documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/IbAccess/Common/Public/ithread.h b/IbAccess/Common/Public/ithread.h index 88190140..adcfa969 100644 --- a/IbAccess/Common/Public/ithread.h +++ b/IbAccess/Common/Public/ithread.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT3 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -9,7 +9,7 @@ modification, are permitted provided that the following conditions are met: this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. + documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/IbAccess/Common/Public/ithreadpool.c b/IbAccess/Common/Public/ithreadpool.c index ed7b5d28..c9061eb5 100644 --- a/IbAccess/Common/Public/ithreadpool.c +++ b/IbAccess/Common/Public/ithreadpool.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT6 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -9,7 +9,7 @@ modification, are permitted provided that the following conditions are met: this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. + documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/IbAccess/Common/Public/ithreadpool.h b/IbAccess/Common/Public/ithreadpool.h index 5b4fa8e2..387de17b 100644 --- a/IbAccess/Common/Public/ithreadpool.h +++ b/IbAccess/Common/Public/ithreadpool.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT3 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -9,7 +9,7 @@ modification, are permitted provided that the following conditions are met: this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. + documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/IbAccess/Common/SubnetDriver/query.c b/IbAccess/Common/SubnetDriver/query.c index ae577ac3..81984fc4 100644 --- a/IbAccess/Common/SubnetDriver/query.c +++ b/IbAccess/Common/SubnetDriver/query.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT4 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -201,7 +201,7 @@ InitializeList( QListInitState(*ppList); if (!QListInit(*ppList)) { - _DBG_ERROR(("Cannot intialize query list, exiting\n")); + _DBG_ERROR(("Cannot initialize query list, exiting\n")); Fstatus = FERROR; goto faillist; } diff --git a/IbAccess/Common/SubnetDriver/sa.c b/IbAccess/Common/SubnetDriver/sa.c index 3652214e..93cbf748 100644 --- a/IbAccess/Common/SubnetDriver/sa.c +++ b/IbAccess/Common/SubnetDriver/sa.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT4 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -445,7 +445,7 @@ SubnetAdmRecv( { IBT_ELEMENT *pElement; - _DBG_DUMP_MEMORY(_DBG_LVL_ERROR, ("Coalesed"), (void*)buffer, messageSize); + _DBG_DUMP_MEMORY(_DBG_LVL_ERROR, ("Coalesced"), (void*)buffer, messageSize); for (i=0,pElement = &pDgrmList->Element; pElement; i++,pElement=pElement->pNextElement) { diff --git a/IbAccess/Common/SubnetDriver/sdc.c b/IbAccess/Common/SubnetDriver/sdc.c index 03e3e0fb..360b7b40 100644 --- a/IbAccess/Common/SubnetDriver/sdc.c +++ b/IbAccess/Common/SubnetDriver/sdc.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT4 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -9,7 +9,7 @@ modification, are permitted provided that the following conditions are met: this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. + documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. @@ -456,7 +456,7 @@ TimerHandler( } if(pQueryElement->RetriesLeft > 0) { //Retry it - _DBG_WARN (("Timeout has occured on a Query! \n")); + _DBG_WARN (("Timeout has occurred on a Query! \n")); _DBG_INFO(("Retrying a QueryElement Retries Left = %d\n", pQueryElement->RetriesLeft)); --(pQueryElement->RetriesLeft); @@ -464,7 +464,7 @@ TimerHandler( StartTimer = TRUE; index++; } else { - _DBG_WARN (("Timeout has occured on a Query, Retries Exhausted! \n")); + _DBG_WARN (("Timeout has occurred on a Query, Retries Exhausted! \n")); if(pQueryElement->IsSelfCommand != TRUE) { // RecvHandler calls ScheduleCompletionProcessing as needed @@ -487,7 +487,7 @@ TimerHandler( AtomicDecrementVoid(&Outstanding); ASSERT(pQueryElement->RetriesLeft > 0); //Retry it - _DBG_WARN (("SA Busy has occured on a Query! \n")); + _DBG_WARN (("SA Busy has occurred on a Query! \n")); _DBG_INFO(("Retrying a QueryElement Retries Left = %d\n", pQueryElement->RetriesLeft)); --(pQueryElement->RetriesLeft); diff --git a/IbAccess/Common/SubnetDriver/sdsend.c b/IbAccess/Common/SubnetDriver/sdsend.c index 4225c21a..a01d6f4e 100644 --- a/IbAccess/Common/SubnetDriver/sdsend.c +++ b/IbAccess/Common/SubnetDriver/sdsend.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT4 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -9,7 +9,7 @@ modification, are permitted provided that the following conditions are met: this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. + documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. @@ -98,7 +98,7 @@ SendQueryElement( #endif if (Status != FSUCCESS) { - _DBG_WARN(("Failed to allocate SA DGRM, Status = <%d>, exitting\n", Status)); + _DBG_WARN(("Failed to allocate SA DGRM, Status = <%d>, exiting\n", Status)); // we will try again later AtomicDecrementVoid(&Outstanding); pQueryElement->QState = ReadyToSend; diff --git a/IbAccess/UserLinux/Public/Makefile b/IbAccess/UserLinux/Public/Makefile index 9687b59e..c6e671ce 100644 --- a/IbAccess/UserLinux/Public/Makefile +++ b/IbAccess/UserLinux/Public/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for public diff --git a/IbAccess/UserLinux/Public/ievent.c b/IbAccess/UserLinux/Public/ievent.c index cda11f55..05c2e502 100644 --- a/IbAccess/UserLinux/Public/ievent.c +++ b/IbAccess/UserLinux/Public/ievent.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -9,7 +9,7 @@ modification, are permitted provided that the following conditions are met: this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. + documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/IbAccess/UserLinux/Public/ithread.c b/IbAccess/UserLinux/Public/ithread.c index b30299d0..7c99f9e4 100644 --- a/IbAccess/UserLinux/Public/ithread.c +++ b/IbAccess/UserLinux/Public/ithread.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -9,7 +9,7 @@ modification, are permitted provided that the following conditions are met: this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. + documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/IbPrint/sa.c b/IbPrint/sa.c index d3d7c59a..d5bb131c 100644 --- a/IbPrint/sa.c +++ b/IbPrint/sa.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -304,7 +304,7 @@ void PrintInformInfo(PrintDest_t *dest, int indent, const IB_INFORM_INFO *pInfor if (pInformInfo->IsGeneric) { char buf[8]; - PrintFunc(dest, "%*s%sSubcribe: Type: %8s Generic: Trap: %5d QPN: 0x%06x\n", + PrintFunc(dest, "%*s%sSubscribe: Type: %8s Generic: Trap: %5d QPN: 0x%06x\n", indent, "", pInformInfo->Subscribe?"":"Un", IbNoticeTypeToText(pInformInfo->Type), @@ -317,7 +317,7 @@ void PrintInformInfo(PrintDest_t *dest, int indent, const IB_INFORM_INFO *pInfor } else { char buf[8]; FormatTimeoutMult(buf, pInformInfo->u.Generic.u2.s.RespTimeValue); - PrintFunc(dest, "%*s%sSubcribe: Type: %8s VendorId: 0x%04x DeviceId: 0x%04x QPN: 0x%06x\n", + PrintFunc(dest, "%*s%sSubscribe: Type: %8s VendorId: 0x%04x DeviceId: 0x%04x QPN: 0x%06x\n", indent, "", pInformInfo->Subscribe?"":"Un", IbNoticeTypeToText(pInformInfo->Type), diff --git a/IbPrint/sd.c b/IbPrint/sd.c index ddbd8adc..3164f907 100644 --- a/IbPrint/sd.c +++ b/IbPrint/sd.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbPrint/stl_pa.c b/IbPrint/stl_pa.c index e2bc5e5d..57c8ddb7 100644 --- a/IbPrint/stl_pa.c +++ b/IbPrint/stl_pa.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbPrint/stl_pm.c b/IbPrint/stl_pm.c index e6e4839d..1d9f21be 100644 --- a/IbPrint/stl_pm.c +++ b/IbPrint/stl_pm.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbPrint/stl_print.h b/IbPrint/stl_print.h index 6c0cdeec..6906fd6d 100644 --- a/IbPrint/stl_print.h +++ b/IbPrint/stl_print.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbPrint/stl_sa.c b/IbPrint/stl_sa.c index 7c81695e..84e474d9 100644 --- a/IbPrint/stl_sa.c +++ b/IbPrint/stl_sa.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbPrint/stl_sma.c b/IbPrint/stl_sma.c index cac8cae2..f6c00138 100644 --- a/IbPrint/stl_sma.c +++ b/IbPrint/stl_sma.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -1706,7 +1706,7 @@ void PrintStlInformInfo(PrintDest_t *dest, int indent, if (pInformInfo->IsGeneric) { char buf[8]; - PrintFunc(dest, "%*s%sSubcribe: Type: %8s Generic: Trap: %5d " + PrintFunc(dest, "%*s%sSubscribe: Type: %8s Generic: Trap: %5d " "QPN: 0x%06x\n", indent, "", pInformInfo->Subscribe?"":"Un", @@ -1720,7 +1720,7 @@ void PrintStlInformInfo(PrintDest_t *dest, int indent, } else { char buf[8]; FormatTimeoutMult(buf, pInformInfo->u.Generic.u1.s.RespTimeValue); - PrintFunc(dest, "%*s%sSubcribe: Type: %8s VendorId: 0x%04x DeviceId: 0x%04x QPN: 0x%06x\n", + PrintFunc(dest, "%*s%sSubscribe: Type: %8s VendorId: 0x%04x DeviceId: 0x%04x QPN: 0x%06x\n", indent, "", pInformInfo->Subscribe?"":"Un", IbNoticeTypeToText(pInformInfo->Type), diff --git a/IbaTools/FastFabric/Makefile b/IbaTools/FastFabric/Makefile index 8ff38fc0..f4b6ec93 100644 --- a/IbaTools/FastFabric/Makefile +++ b/IbaTools/FastFabric/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for cluster_tools diff --git a/IbaTools/FastFabric/opacablehealthcron.sh b/IbaTools/FastFabric/opacablehealthcron.sh index f8b32973..3d407936 100755 --- a/IbaTools/FastFabric/opacablehealthcron.sh +++ b/IbaTools/FastFabric/opacablehealthcron.sh @@ -1,7 +1,7 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** # -# Copyright (c) 2015-2018, Intel Corporation +# Copyright (c) 2015-2020, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/IbaTools/FastFabric/opafastfabric.pl b/IbaTools/FastFabric/opafastfabric.pl index 65819f74..a400f441 100755 --- a/IbaTools/FastFabric/opafastfabric.pl +++ b/IbaTools/FastFabric/opafastfabric.pl @@ -1,11 +1,11 @@ #!/usr/bin/perl # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/IbaTools/FastFabric/opasetupssh.sh b/IbaTools/FastFabric/opasetupssh.sh index 35c93a46..dd940ac7 100755 --- a/IbaTools/FastFabric/opasetupssh.sh +++ b/IbaTools/FastFabric/opasetupssh.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/IbaTools/FastFabric/opaswdisableall.sh b/IbaTools/FastFabric/opaswdisableall.sh index d7ebad41..02e2490b 100755 --- a/IbaTools/FastFabric/opaswdisableall.sh +++ b/IbaTools/FastFabric/opaswdisableall.sh @@ -1,7 +1,7 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** # -# Copyright (c) 2018, Intel Corporation +# Copyright (c) 2015-2020, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: diff --git a/IbaTools/FastFabric/opatest.sh b/IbaTools/FastFabric/opatest.sh index 057c1172..b7f71d95 100755 --- a/IbaTools/FastFabric/opatest.sh +++ b/IbaTools/FastFabric/opatest.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/IbaTools/FastFabric/opauploadall.sh b/IbaTools/FastFabric/opauploadall.sh index ae9bda6f..8e40bd7c 100755 --- a/IbaTools/FastFabric/opauploadall.sh +++ b/IbaTools/FastFabric/opauploadall.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/IbaTools/FastFabric/restampFirmwares.sh b/IbaTools/FastFabric/restampFirmwares.sh index 8c1ec19d..ee3eda74 100755 --- a/IbaTools/FastFabric/restampFirmwares.sh +++ b/IbaTools/FastFabric/restampFirmwares.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** #[ICS VERSION STRING: unknown] diff --git a/IbaTools/Makefile b/IbaTools/Makefile index 3289866f..330dff96 100644 --- a/IbaTools/Makefile +++ b/IbaTools/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for IbaTools diff --git a/IbaTools/opaxmlextract/Makefile b/IbaTools/opaxmlextract/Makefile index c1ada61f..3fc95066 100644 --- a/IbaTools/opaxmlextract/Makefile +++ b/IbaTools/opaxmlextract/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for opaxmlextract diff --git a/IbaTools/opaxmlextract/opaextractlink.sh b/IbaTools/opaxmlextract/opaextractlink.sh index 9b6e7694..2eea0319 100755 --- a/IbaTools/opaxmlextract/opaextractlink.sh +++ b/IbaTools/opaxmlextract/opaextractlink.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] @@ -34,6 +34,10 @@ # Extract optional cable values, and values for both ports of each link # Remove redundant information and combine cable and port information +tempfile="$(mktemp)" +trap "rm -f $tempfile; exit 1" SIGHUP SIGTERM SIGINT +trap "rm -f $tempfile" EXIT + Usage_full() { cmd=`basename $0` @@ -63,12 +67,12 @@ Usage_full() echo "See the man page for \"opareport\" for the full set of options." >&2 echo "By design, the tool ignores \"-o/--output\" report option." >&2 echo >&2 - exit 0 } if [[ "$1" == "--help" ]] then Usage_full + exit 0 fi # opareport -o links generates XML output of this general form: @@ -107,6 +111,14 @@ function genReport() prevLinkID="" tempresults="" + /usr/sbin/opareport -x -Q -o links "$@" -d 3 > $tempfile + if [ ! -s $tempfile ] + then + echo "opaextractlink: Unable to get links report" >&2 + Usage_full + exit 1 + fi + while read line do curLinkID=`echo $line | cut -d \; -f 1` @@ -183,7 +195,7 @@ function genReport() tempresults=$RateStr";"$LinkDetailsStr";"$CableValuesStr";"$CableInfoValuesStr";"$Port1ValuesStr";"$Port2ValuesStr fi fi - done < <(/usr/sbin/opareport -x -Q -o links "$@" -d 3 | \ + done < <(cat $tempfile | \ /usr/sbin/opaxmlextract -H -d \; -e Link:id -e Rate -e LinkDetails -e CableLength \ -e CableLabel -e CableDetails -e DeviceTechShort -e CableInfo.Length \ -e CableInfo.VendorName -e CableInfo.VendorPN -e CableInfo.VendorRev \ diff --git a/IbaTools/opaxmlextract/opaextractperf2.sh b/IbaTools/opaxmlextract/opaextractperf2.sh index bfefc4b8..dcb67651 100755 --- a/IbaTools/opaxmlextract/opaextractperf2.sh +++ b/IbaTools/opaxmlextract/opaextractperf2.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2019, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/IbaTools/opaxmlextract/opaextractstat.sh b/IbaTools/opaxmlextract/opaextractstat.sh index 405374f8..64198d09 100755 --- a/IbaTools/opaxmlextract/opaextractstat.sh +++ b/IbaTools/opaxmlextract/opaextractstat.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/IbaTools/opaxmlextract/opaextractstat2.sh b/IbaTools/opaxmlextract/opaextractstat2.sh index bdf8b4cf..51c470bc 100755 --- a/IbaTools/opaxmlextract/opaextractstat2.sh +++ b/IbaTools/opaxmlextract/opaextractstat2.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2018, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/IbaTools/opaxmlextract/opamergeperf2.sh b/IbaTools/opaxmlextract/opamergeperf2.sh index 0ec0bbc6..a1557f25 100755 --- a/IbaTools/opaxmlextract/opamergeperf2.sh +++ b/IbaTools/opaxmlextract/opamergeperf2.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2019, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/IbaTools/opaxmlextract/opaxmlextract.c b/IbaTools/opaxmlextract/opaxmlextract.c index d8373d6c..c6e8833b 100644 --- a/IbaTools/opaxmlextract/opaxmlextract.c +++ b/IbaTools/opaxmlextract/opaxmlextract.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/IbaTools/opaxmlfilter/opaxmlfilter.c b/IbaTools/opaxmlfilter/opaxmlfilter.c index 31423064..ede9d699 100644 --- a/IbaTools/opaxmlfilter/opaxmlfilter.c +++ b/IbaTools/opaxmlfilter/opaxmlfilter.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -137,6 +137,12 @@ static void FieldXmlParserEnd(IXmlParserState_t *input_state, const IXML_FIELD * if (white && ! g_keep_newline && hasNewline) { // no real content, but has a newline, probably an empty list // no output here, and EndTag will be on a fresh line + } else if (white && g_keep_newline && hasNewline && len) { + // no real content, but has a newline (need to keep them) + // output here, trimmed from trailing spaces, + // EndTag will be on a last line with indent + len = IXmlTrimTrailingSpaces(content,len); + IXmlOutputPrintStrNewlineContent(output_state, content); } else if (len) { // tag had content, output it with appropriate XML escapes for // special characters diff --git a/MakeTemplates/Makerules.module b/MakeTemplates/Makerules.module index 86035611..b45907b2 100755 --- a/MakeTemplates/Makerules.module +++ b/MakeTemplates/Makerules.module @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** ## Rules for module #=============================================================================# diff --git a/MakeTools/Makefile b/MakeTools/Makefile index 9682763f..f9f2b9d7 100644 --- a/MakeTools/Makefile +++ b/MakeTools/Makefile @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Makefile for MakeTools diff --git a/MakeTools/format_releasetag.sh b/MakeTools/format_releasetag.sh index 3f978d03..bfefedaf 100755 --- a/MakeTools/format_releasetag.sh +++ b/MakeTools/format_releasetag.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2019, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** #[ICS VERSION STRING: unknown] diff --git a/MakeTools/funcs-ext.sh b/MakeTools/funcs-ext.sh index f6f6b7ba..e0d584ef 100755 --- a/MakeTools/funcs-ext.sh +++ b/MakeTools/funcs-ext.sh @@ -1,11 +1,11 @@ #!/bin/bash -v # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Override default funcs.sh functions from $ICSBIN. diff --git a/MakeTools/get_comp.sh b/MakeTools/get_comp.sh index f671ec05..fea09df9 100644 --- a/MakeTools/get_comp.sh +++ b/MakeTools/get_comp.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** ## ## get_comp @@ -102,7 +102,7 @@ shift 3 # See documentation above. export FTPSERVER=${FTPSERVER:-"ftp:ftp@kop-sds-ftp"} export SCPTOP=${SCPTOP:-"/nfs/site/proj/stlbuilds"} -export SCPSERVER=${SCPSERVER:-"phcvs2@phlsvlogin02"}:$SCPTOP +export SCPSERVER=${SCPSERVER:-"phcvs2@awylogin01.aw.intel.com"}:$SCPTOP # ftp_get_files is defined in newer versions of devtools if ! type ftp_get_files > /dev/null 2>/dev/null diff --git a/MakeTools/make_src_tar.sh b/MakeTools/make_src_tar.sh index 69edf557..0130fc5e 100755 --- a/MakeTools/make_src_tar.sh +++ b/MakeTools/make_src_tar.sh @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** #[ICS VERSION STRING: unknown] diff --git a/MakeTools/patch_version/patch_version.c b/MakeTools/patch_version/patch_version.c index 52181ad8..6592b947 100755 --- a/MakeTools/patch_version/patch_version.c +++ b/MakeTools/patch_version/patch_version.c @@ -7,7 +7,7 @@ */ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/MakeTools/prep.sh b/MakeTools/prep.sh index e7f4c867..8aa4f3bd 100755 --- a/MakeTools/prep.sh +++ b/MakeTools/prep.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # [ICS VERSION STRING: unknown] diff --git a/MakeTools/rm_version/rm_version.c b/MakeTools/rm_version/rm_version.c index cc99c60e..5c914dce 100755 --- a/MakeTools/rm_version/rm_version.c +++ b/MakeTools/rm_version/rm_version.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -9,7 +9,7 @@ modification, are permitted provided that the following conditions are met: this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. + documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/MakeTools/setenv b/MakeTools/setenv index e3a2c1b1..249882d2 100755 --- a/MakeTools/setenv +++ b/MakeTools/setenv @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # Simple script to setup environment for a build for current OS version/type @@ -50,7 +50,8 @@ else export BUILD_TARGET_OS_VERSION=${BUILD_TARGET_OS_VERSION:-`uname -r`} if [ ${BUILD_TARGET_OS_VERSION:0:3} = '2.6' -o \ ${BUILD_TARGET_OS_VERSION:0:2} = '3.' -o \ - ${BUILD_TARGET_OS_VERSION:0:2} = '4.' ] + ${BUILD_TARGET_OS_VERSION:0:2} = '4.' -o \ + ${BUILD_TARGET_OS_VERSION:0:2} = '5.' ] then export BUILD_26=1 else diff --git a/MakeTools/unifdef2.sh b/MakeTools/unifdef2.sh index 05cf084b..2c06a3c6 100755 --- a/MakeTools/unifdef2.sh +++ b/MakeTools/unifdef2.sh @@ -5,65 +5,242 @@ # unifdef2.sh script # # Arguments: -# featureset-tag - this names the feature set and is used to identify sections -# in the in-file to be considered in the out-file # in-file - the input file. The file must contain at least one instance of -# "ifdef " and "endif " bracketing some text +# "ifdef " and "endif " bracketing some text # out-file - the output file to be written after applying the filtering # # unifdef2.sh filters a file by including everything outside of ifdef-endif -# brackets, and including only lines inside ifdef-endif brackets with the -# given featureset tag. All other lines are filtered out. +# brackets, and including only lines inside ifdef-endif brackets comparing +# the flag settings to environment settings. All other lines are filtered out. +# Also support ifndef as well as "ifdef !" # # Syntax of ifdef-endif pairs: -# Bracketing lines is accomplished by using "#ifdef " and "#endif " +# Bracketing lines is accomplished by using "#ifdef " and "#endif" # lines starting in the first colunm. There must be a single space between -# the ifdef/endif keyword and the tag. The tag can be followed by whitespace -# and then optional commenting text. -# Tags can be made up of alphnumeric and underscore characters, for example, -# "opa10", "opa11_2", etc. -# Examples: -# #ifdef opa10 -# ".."#endif" +# that match environment settings. # ################################################################################### -check_tag_syntax() +# +# Functions for handling ifdefs-by-export-flag +# for buildFeatureDefs +# + +get_flags() +{ + local line="$1" + local flags=$(echo $line | cut -d' ' -f2-) + echo "$flags" +} + +evaluate_flags () +{ + local flags_good=1 + local flags="$1" + local op= + for flag in $flags + do + if [ "$flag" = "AND" ] + then + op="and" + continue + elif [ "$flag" = "OR" ] + then + op="or" + continue + else + if ! echo $flag | grep "=" > /dev/null + then + echo syntax error + exit 1 + fi + fi + f=$(echo $flag | cut -d= -f1) + flagval=$(echo $flag | cut -d= -f2) + flag_env_val=${!f} + if [ "$flag_env_val" = "" ] + then + # flag not set in env, assume zero + flag_env_val=0 + fi + if [ "$flagval" = "$flag_env_val" ] + then + this_flag_good=1 + else + this_flag_good=0 + fi + if [ "$op" = "or" ] + then + flags_good=$(($flags_good | $this_flag_good)) + elif [ "$op" = "and" ] + then + flags_good=$(($flags_good & $this_flag_good)) + else + # first flag will not have "op" set, so just set it to this_glag_good + flags_good=$this_flag_good + fi + done + echo $flags_good +} +setup_env() +{ + # Import OPA Build feature settings. + export OPA_FEATURE_SET=${OPA_FEATURE_SET:-$(cat $TL_DIR/$PROJ_FILE_DIR/DEFAULT_OPA_FEATURE_SET)} + FEATURE_SETTINGS_FILE=opa_feature_settings.${PRODUCT}.$BUILD_CONFIG + $TL_DIR/OpaBuildFeatureToggles/opa_build_import_feature_settings.sh + if [ -e ./$FEATURE_SETTINGS_FILE ]; then + . ./$FEATURE_SETTINGS_FILE + else + echo "$0: ERROR: OPA BUILD - $FEATURE_SETTINGS_FILE not found" >&2 + return 1 + fi +} + +check_flag_dependencies() { - ltag1=$1 - where="$2" - rest=${ltag1//[A-Za-z0-9_]} - if [ "$rest" != "" ] + # if A21 or APR_ASIC are set, APR must be set + + if [ "$OPA_FEATURE_ENABLE_FM_A21" = "1" -a "$OPA_FEATURE_ENABLE_APR" = "0" ] + then + echo "Error: OPA Feature Settings: OPA_FEATURE_ENABLE_FM_A21 cannot be 1 unless OPA_FEATURE_ENABLE_APR is 1" + exit 1 + fi + if [ "$OPA_FEATURE_ENABLE_FM_APR_ASIC" = "1" -a "$OPA_FEATURE_ENABLE_APR" = "0" ] then - echo ERROR: unifdef2.sh: invalid featureset \<$ltag1\> "$where" - echo featureset can only be alphanumeric and underscores - rm -f .greps .greps1 + echo "Error: OPA Feature Settings: OPA_FEATURE_ENABLE_FM_APR_ASIC cannot be 1 unless OPA_FEATURE_ENABLE_APR is 1" exit 1 fi } +# +# Functions for handling ifdefs-by-feature +# for all files other than buildFeatureDefs +# + +declare -a defines +declare -a undefs +declare -a ifdef_stack +stack_size=0 + +evaluate_flag_nofd() +{ + not=0 + + flag="$1" + if [[ $flag =~ ^! ]] + then + not=1 + flag=${flag:1} + fi + + flag_defined=-1 + for i in ${defines[@]} + do + if [ "$i" = "$flag" ] + then + flag_defined=1 + break + fi + done + if [ $flag_defined -lt 0 ] + then + for i in ${undefs[@]} + do + if [ "$i" = "$flag" ] + then + flag_defined=0 + break + fi + done + fi + if [ $flag_defined -lt 0 ] + then + echo ERROR: invalid flag $flag + exit 1 + fi + + if [ $not -eq 1 ] + then + flag_defined=$((1 - flag_defined)) + fi + + echo $flag_defined + +} + +push_flag() +{ + ifdef_stack[$stack_size]=$1 + stack_size=$((stack_size + 1)) +} + +pop_flag() +{ + stack_size=$((stack_size - 1)) + unset ifdef_stack[$stack_size] +} + +top_of_stack() +{ + last_index=$((stack_size - 1)) + if [ $last_index -ge 0 ] + then + echo ${ifdef_stack[$last_index]} + else + echo "" + fi +} + +get_flag_nofd() +{ + echo "$line" | cut -d' ' -f 2- +} + +evaluate_flag() +{ + if [ $featureDefs -eq 1 ] + then + flag_defined=$(evaluate_flags "$2") + else + flag_defined=$(evaluate_flag_nofd "$2") + fi + + if [ $1 = ifndef ] + then + flag_defined=$((1 - flag_defined)) + fi + echo $flag_defined +} + +get_flag() +{ + if [ $featureDefs -eq 1 ] + then + echo $(get_flags "$1") + else + echo $(get_flag_nofd "$1") + fi +} + # shut off globbing set -f -if [ $# -ne 3 ] +if [ $# -ne 2 ] then echo ERROR: unifdef2.sh: wrong number of arguments: $# - echo Usage: unifdef2.sh featureset-tag in-file out-file + echo Usage: unifdef2.sh in-file out-file exit 1 fi -featureset=$1 -in_file=$2 -out_file=$3 - -check_tag_syntax $featureset "on command line" +in_file=$1 +out_file=$2 # check existence of in_file @@ -78,66 +255,88 @@ fi if [ "$in_file" = "$out_file" ] then echo ERROR: unifdef2.sh: in-file must be different than out-file - echo Usage: unifdef2.sh featureset-tag in-file out-file + echo Usage: unifdef2.sh in-file out-file exit 1 fi +# if out_file is buildFeatureDefs, set featureDefs + +if echo $out_file | grep buildFeatureDefs > /dev/null +then + featureDefs=1 +else + featureDefs=0 +fi + + # parse for syntax - check ifdef and endif tags, ensure matching and no nesting # first extract all #ifdef and #endif directives to make it run faster # ... in the grep, record the line nu㏔ers as well, we will use in main loop below grep -n "^#ifdef .*" $in_file > .greps1 -grep -n "^#endif .*" $in_file >> .greps1 +grep -n "^#ifndef .*" $in_file >> .greps1 +grep -n "^#else" $in_file >> .greps1 +grep -n "^#endif" $in_file >> .greps1 sort -g .greps1 > .greps # sort using line numbers with general-number-sort rm -f .greps1 # check for: # - mismatched ifdef-endif pairs +# - mismatched else +# - duplicate else +# - else before ifdef # - endif before ifdef # - nesting -outside_bracket=1 -save_tag= +inside_bracket=0 +in_else=0 while read line do - if [ $outside_bracket = 1 ] + if [ $inside_bracket -eq 0 ] then if echo $line | grep "#ifdef " > /dev/null then - save_tag=$(echo $line | cut -d' ' -f 2 | cut -f1) - check_tag_syntax $save_tag "in $in_file" - outside_bracket=0 - elif echo $line | grep "#endif " > /dev/null + inside_bracket=$((inside_bracket+1)) + in_else=0 + elif echo $line | grep "#ifndef " > /dev/null + then + inside_bracket=$((inside_bracket+1)) + in_else=0 + elif echo $line | grep "#else" > /dev/null then - save_tag=$(echo $line | cut -d' ' -f 2 | cut -f1) - check_tag_syntax $save_tag "in $in_file" - echo ERROR: unifdef2.sh: endif tag before ifdef for $save_tag in $in_file - exit 1 + echo ERROR: unifdef2.sh: else before ifdef/ifndef in $in_file + elif echo $line | grep "#endif" > /dev/null + then + echo ERROR: unifdef2.sh: endif before ifdef/ifndef in $in_file fi else # inside bracket - look for endif for this tag - if echo $line | grep "#endif $save_tag" > /dev/null - then - save_tag= - outside_bracket=1 - elif echo $line | grep "#ifdef " > /dev/null - then - save_tag2=$(echo $line | cut -d' ' -f 2 | cut -f1) - check_tag_syntax $save_tag2 "in $in_file" - echo ERROR: unifdef2.sh: ifdef tag for $save_tag2 before endif for $save_tag in $in_file - exit 1 - elif echo $line | grep "#endif " > /dev/null - then - save_tag2=$(echo $line | cut -d' ' -f 2 | cut -f1) - check_tag_syntax $save_tag2 "in $in_file" - echo ERROR: unifdef2.sh: endif tag for $save_tag2 inside bracket for $save_tag in $in_file - exit 1 + if echo $line | grep "#ifdef " > /dev/null + then + inside_bracket=$((inside_bracket+1)) + in_else=0 + elif echo $line | grep "#ifndef " > /dev/null + then + inside_bracket=$((inside_bracket+1)) + in_else=0 + elif echo $line | grep "#endif" > /dev/null + then + inside_bracket=$((inside_bracket-1)) + in_else=0 + elif echo $line | grep "#else" > /dev/null + then + if [ "$in_else" = "1" ] + then + echo ERROR: unifdef2.sh: duplicate else in $in_file + exit 1 + fi + in_else=1 fi fi done < .greps -if [ $outside_bracket = 0 ] +if [ $inside_bracket -gt 0 ] then - echo ERROR: unifdef2.sh: no endif for ifdef for $save_tag in $in_file + echo ERROR: unifdef2.sh: no endif for ifdef/ifndef in $in_file exit 1 fi @@ -151,12 +350,17 @@ fi # Loop through lines in in_file: # read a line # if the line number matches an ifdef/endif directive -# grab tag and directive from line +# grab flag and directive from line # if directive is ifdef -# if tag does not match featureset -# set writing to 0 (filter out this stuff) +# if flag is in defines +# set writing to 1 +# elif flag is in undefs +# set writing to 0 +# else +# exit bad flag +# elif directive is else # else (directive is endif) -# if tag does not match featureset +# if flags do not match # set writing to 1 (start writing again, "filter out" bracket is closed) # else (not a directive, just a normal line) # if writing is 1, write line to out_file @@ -166,27 +370,73 @@ fi > $out_file chmod --reference=$in_file $out_file # match permissions of in-file +# if doing featureDefs +# check flag dependencies and environment +# else +# load arrays + +if [ $featureDefs -eq 1 ] +then + if [ "$FLAGS_INITIALIZED" != "yes" ] + then + setup_env || exit 1 + fi + check_flag_dependencies +else + define_index=0 + undef_index=0 + while read line + do + if echo "$line" | grep "#define" > /dev/null + then + var=$(echo "$line" | cut -f2 -d# | cut -f2 -d' ') + defines[$define_index]=$var + define_index=$((define_index+1)) + fi + if echo "$line" | grep "#undef" > /dev/null + then + var=$(echo "$line" | cut -f2 -d# | cut -f2 -d' ') + undefs[$undef_index]=$var + undef_index=$((undef_index+1)) + fi + done < $TL_DIR/Fd/buildFeatureDefs +fi + writing=1 line_number=1 while IFS= read -r line do # is line_number in .greps? - if grep -w $line_number .greps > /dev/null + if grep -w ^$line_number .greps > /dev/null then - ltag=$(grep -w $line_number .greps|cut -f2 -d' '|cut -f1) - ldirective=$(grep -w $line_number .greps | cut -d' ' -f1 | cut -d# -f2) - if [ "$ldirective" = "ifdef" ] + flag=$(get_flag "$line") + ldirective=$(grep -w ^$line_number .greps | cut -d' ' -f1 | cut -d# -f2) + if [ "$ldirective" = "ifdef" -o "$ldirective" = "ifndef" ] then - if [ "$ltag" != "$featureset" ] + save_directive=$ldirective + push_flag "$flag" + flag_defined=$(evaluate_flag $ldirective "$flag") + if [ "$flag_defined" = "1" ] then + writing=1 + else writing=0 fi - else # it is endif - if [ "$ltag" != "$featureset" ] + elif [ "$ldirective" = "else" ] + then + top="$(top_of_stack)" + flag_defined=$(evaluate_flag $ldirective "$top") + if [ "$flag_defined" = "0" ] then writing=1 + else + writing=0 fi + else # it is endif + pop_flag + save_directive= + writing=1 fi elif [ $writing -eq 1 ] then diff --git a/MakeTools/unpack_comp.sh b/MakeTools/unpack_comp.sh index 2e6b2f63..5c1c1581 100755 --- a/MakeTools/unpack_comp.sh +++ b/MakeTools/unpack_comp.sh @@ -1,11 +1,11 @@ #!/bin/bash # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -14,7 +14,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -25,7 +25,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** ## ## unpack_comp diff --git a/Makerules/Defs.Common b/Makerules/Defs.Common index d7745c25..4aa5e798 100755 --- a/Makerules/Defs.Common +++ b/Makerules/Defs.Common @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # some common settings which are platform independent diff --git a/Makerules/Defs.Flags b/Makerules/Defs.Flags index c4ceb271..e8432435 100755 --- a/Makerules/Defs.Flags +++ b/Makerules/Defs.Flags @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # common flags for compiler/linker/tools diff --git a/Makerules/Maketargets.bsp b/Makerules/Maketargets.bsp index e7b93d82..f72b7fd6 100755 --- a/Makerules/Maketargets.bsp +++ b/Makerules/Maketargets.bsp @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** #=============================================================================# # Rules: diff --git a/Makerules/Maketargets.product b/Makerules/Maketargets.product index fd067659..52dbcd8c 100755 --- a/Makerules/Maketargets.product +++ b/Makerules/Maketargets.product @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** #=============================================================================# # Rules: diff --git a/Makerules/README b/Makerules/README index 246849e3..e2644b6d 100755 --- a/Makerules/README +++ b/Makerules/README @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # This directory contains makerules files. These files control the compiler and diff --git a/Makerules/Rules.Common b/Makerules/Rules.Common index 5c17e961..68465f1f 100755 --- a/Makerules/Rules.Common +++ b/Makerules/Rules.Common @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015-2017, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** #=============================================================================# # @@ -447,9 +447,9 @@ endif # create file from base file using unifdef2.sh %: %.base - $(TL_DIR)/MakeTools/unifdef2.sh $(OPA_FEATURE_SET) $< $@ + $(TL_DIR)/MakeTools/unifdef2.sh $< $@ %.sh: %.sh.base - $(TL_DIR)/MakeTools/unifdef2.sh $(OPA_FEATURE_SET) $< $@ + $(TL_DIR)/MakeTools/unifdef2.sh $< $@ %.xlsx: %.xlsx.$(OPA_FEATURE_SET) cp $< $@ diff --git a/Makerules/Target.LINUX.GNU.X86_64 b/Makerules/Target.LINUX.GNU.X86_64 index 5a852b34..5c6127ab 100755 --- a/Makerules/Target.LINUX.GNU.X86_64 +++ b/Makerules/Target.LINUX.GNU.X86_64 @@ -1,10 +1,10 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** -# -# Copyright (c) 2015, Intel Corporation -# +# +# Copyright (c) 2015-2020, Intel Corporation +# # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: -# +# # * Redistributions of source code must retain the above copyright notice, # this list of conditions and the following disclaimer. # * Redistributions in binary form must reproduce the above copyright @@ -13,7 +13,7 @@ # * Neither the name of Intel Corporation nor the names of its contributors # may be used to endorse or promote products derived from this software # without specific prior written permission. -# +# # THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE # IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE @@ -24,7 +24,7 @@ # CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, # OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. -# +# # END_ICS_COPYRIGHT8 **************************************** # suffixes and commands to build targets for: # BUILD_TARGET_OS=LINUX diff --git a/Topology/fabricdata.c b/Topology/fabricdata.c index c607cb01..f037d6f6 100644 --- a/Topology/fabricdata.c +++ b/Topology/fabricdata.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Topology/focus.c b/Topology/focus.c index 12069091..4a11c0a9 100644 --- a/Topology/focus.c +++ b/Topology/focus.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Topology/mad.c b/Topology/mad.c index 26cca67c..5b35f8e4 100644 --- a/Topology/mad.c +++ b/Topology/mad.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Topology/point.c b/Topology/point.c index 7012bb4c..091167bf 100644 --- a/Topology/point.c +++ b/Topology/point.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Topology/route.c b/Topology/route.c index e2d9f575..d3b0ffa9 100644 --- a/Topology/route.c +++ b/Topology/route.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Topology/search.c b/Topology/search.c index 1f1cc610..a4f3cbf0 100644 --- a/Topology/search.c +++ b/Topology/search.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Topology/snapshot.c b/Topology/snapshot.c index 32442007..aa0b6e4b 100644 --- a/Topology/snapshot.c +++ b/Topology/snapshot.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Topology/sweep.c b/Topology/sweep.c index 1283130e..7183760d 100644 --- a/Topology/sweep.c +++ b/Topology/sweep.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Topology/topology.h b/Topology/topology.h index fefa979a..c041f4b3 100644 --- a/Topology/topology.h +++ b/Topology/topology.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Xml/config_compression.c b/Xml/config_compression.c index bc1da1b6..f3ae828c 100755 --- a/Xml/config_compression.c +++ b/Xml/config_compression.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -207,7 +207,7 @@ int copyFile(char *src, char*dst, int compressFlag, long *compressedFileSize) { break; } if (header.version != COMP_VERSION) { - SCP_LOG("Unsuported compress file verison %d", __FUNCTION__, header.version); + SCP_LOG("Unsuported compress file version %d", __FUNCTION__, header.version); retVal = -1; break; } diff --git a/Xml/ixml.c b/Xml/ixml.c index 17110df0..2eacaccb 100644 --- a/Xml/ixml.c +++ b/Xml/ixml.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -399,6 +399,13 @@ void IXmlOutputPrintStr(IXmlOutputState_t *state, const char* value) IXmlOutputPrintStrLen(state, value, IB_INT32_MAX); } +void IXmlOutputPrintStrNewlineContent(IXmlOutputState_t *state, const char* value) +{ + IXmlOutputPrintStrLen(state, value, IB_INT32_MAX); + state->flags &= ~IXML_OUTPUT_FLAG_START_NEED_NL;// don't need NL, using NL from content + state->flags &= ~IXML_OUTPUT_FLAG_HAD_CONTENT; // not real content +} + void IXmlOutputStrLen(IXmlOutputState_t *state, const char *tag, const char* value, int len) { IXmlOutputPrintIndent(state, "<%s>", tag); @@ -894,6 +901,19 @@ boolean IXmlIsWhitespace(const XML_Char *str, boolean *hasNewline) return TRUE; } +/* discard trailing whitespace in str in last line, return new length + * str modified in place + */ +unsigned IXmlTrimTrailingSpaces(XML_Char *str, unsigned len) +{ + // trim trailing spaces till newline + while (len && isspace(str[len-1]) && str[len-1]!='\r' && str[len-1]!='\n') + len--; + str[len] = 0; + + return len; +} + /* discard leading and trailing whitespace in str, return new length * str modified in place */ diff --git a/Xml/ixml.h b/Xml/ixml.h index 7e3d6b35..1cfdc8a9 100644 --- a/Xml/ixml.h +++ b/Xml/ixml.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -341,6 +341,7 @@ extern void IXmlOutputHex64(IXmlOutputState_t *state, const char *tag, uint64 va extern void IXmlOutputOptionalHex64(IXmlOutputState_t *state, const char *tag, uint64 value); extern void IXmlOutputPrintStrLen(IXmlOutputState_t *state, const char* value, int len); extern void IXmlOutputPrintStr(IXmlOutputState_t *state, const char* value); +extern void IXmlOutputPrintStrNewlineContent(IXmlOutputState_t *state, const char* value); extern void IXmlOutputStrLen(IXmlOutputState_t *state, const char *tag, const char* value, int len); extern void IXmlOutputOptionalStrLen(IXmlOutputState_t *state, const char *tag, const char* value, int len); extern void IXmlOutputStr(IXmlOutputState_t *state, const char *tag, const char* value); @@ -494,6 +495,11 @@ extern void IXmlParserEndNoop(struct IXmlParserState *state, /* return TRUE if current field's contents are empty or all whitespace */ boolean IXmlIsWhitespace(const XML_Char *str, boolean *hasNewline); +/* discard trailing whitespace in str in last line, return new length + * str modified in place + */ +unsigned IXmlTrimTrailingSpaces(XML_Char *str, unsigned len); + /* discard leading and trailing whitespace in str, return new length * str modified in place */ diff --git a/Xml/ixml_ib.c b/Xml/ixml_ib.c index f2b93c2d..fc0498a5 100644 --- a/Xml/ixml_ib.c +++ b/Xml/ixml_ib.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Xml/ixml_ib.h b/Xml/ixml_ib.h index ebfa4a3f..4fa1c055 100644 --- a/Xml/ixml_ib.h +++ b/Xml/ixml_ib.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/Xml/opaxmlindent/opaxmlindent.c b/Xml/opaxmlindent/opaxmlindent.c index 245994ea..a2e1c993 100644 --- a/Xml/opaxmlindent/opaxmlindent.c +++ b/Xml/opaxmlindent/opaxmlindent.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -9,7 +9,7 @@ modification, are permitted provided that the following conditions are met: this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. + documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/Xml/xml_sample/xml_sample.c b/Xml/xml_sample/xml_sample.c index 4cfb1874..bf1e5ab2 100644 --- a/Xml/xml_sample/xml_sample.c +++ b/Xml/xml_sample/xml_sample.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -9,7 +9,7 @@ modification, are permitted provided that the following conditions are met: this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. + documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/Xml/xml_sample2/xml_sample2.c b/Xml/xml_sample2/xml_sample2.c index 6ecbbfbb..dcb0de31 100644 --- a/Xml/xml_sample2/xml_sample2.c +++ b/Xml/xml_sample2/xml_sample2.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -9,7 +9,7 @@ modification, are permitted provided that the following conditions are met: this list of conditions and the following disclaimer. * Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the - documentation and/or other materials provided with the distribution. + documentation and/or other materials provided with the distribution. * Neither the name of Intel Corporation nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. diff --git a/opa-fm.spec.in b/opa-fm.spec.in index b9b1e1a6..a6b041c6 100644 --- a/opa-fm.spec.in +++ b/opa-fm.spec.in @@ -1,6 +1,6 @@ # BEGIN_ICS_COPYRIGHT8 **************************************** # -# Copyright (c) 2015-2018, Intel Corporation +# Copyright (c) 2015-2020, Intel Corporation # # Redistribution and use in source and binary forms, with or without # modification, are permitted provided that the following conditions are met: @@ -29,8 +29,8 @@ #[ICS VERSION STRING: unknown] Name: opa-fm -Version: 10.10.2.0 -Release: 44%{?dist} +Version: 10.10.3.0 +Release: 11%{?dist} %if 0%{?rhel} Epoch: 1 %endif @@ -39,7 +39,7 @@ Summary: Intel Omni-Path Fabric Management Software License: BSD Url: https://github.com/intel/opa-fm # tarball created by: -# git clone https://github.com/01org/opa-fm.git +# git clone https://github.com/intel/opa-fm.git # cd opa-fm # tar czf opa-fm.tar.gz --exclude-cvs . Source0: %{name}.tar.gz @@ -51,8 +51,10 @@ Requires: rdma BuildRequires: __RPM_BLDRQ1 __RPM_BLDRQ2 +__RPM_BLDRQ3 __RPM_RQ1 __RPM_RQ2 +__RPM_RQ3 __RPM_DEBUG @@ -60,7 +62,7 @@ __RPM_DEBUG The %{name} contains Intel Omni-Path fabric management applications. This includes: the Subnet Manager, Baseboard Manager, Performance Manager, Fabric Executive, and some fabric management tools. -IFSComponent: FM 10.10.2.0.44%{?dist} +IFSComponent: FM 10.10.3.0.11%{?dist} %prep %setup -q -c diff --git a/opamgt/include/opamgt_pa_priv.h b/opamgt/include/opamgt_pa_priv.h index 0676ecd2..00ba104e 100644 --- a/opamgt/include/opamgt_pa_priv.h +++ b/opamgt/include/opamgt_pa_priv.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/opamgt/include/public/opamgt_pa.h b/opamgt/include/public/opamgt_pa.h index bca10d43..f5776172 100644 --- a/opamgt/include/public/opamgt_pa.h +++ b/opamgt/include/public/opamgt_pa.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/opamgt/include/public/opamgt_sa.h b/opamgt/include/public/opamgt_sa.h index 22f6edda..836842f1 100644 --- a/opamgt/include/public/opamgt_sa.h +++ b/opamgt/include/public/opamgt_sa.h @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/opamgt/samples/saquery.c b/opamgt/samples/saquery.c index 7eda06ac..49a6c8ef 100644 --- a/opamgt/samples/saquery.c +++ b/opamgt/samples/saquery.c @@ -28,7 +28,7 @@ void Usage() fprintf(stderr, " -b oob_host - perform out of band query. For this example, oob_host\n"); fprintf(stderr, " should have format hostname[:port] or a.b.c.d[:port]\n"); fprintf(stderr, " -o/--output type - output type\n"); - fprintf(stderr, " -x local_gid - local gid for out-of-band queryies that need a local gid\n"); + fprintf(stderr, " -x local_gid - local gid for out-of-band queries that need a local gid\n"); fprintf(stdout, "type: (default is node)\n"); fprintf(stdout, " classportinfo - classportinfo of the SA\n"); fprintf(stdout, " systemguid - list of system image guids\n"); diff --git a/opamgt/src/ib_notice.c b/opamgt/src/ib_notice.c index dd11cc80..c4f3108a 100644 --- a/opamgt/src/ib_notice.c +++ b/opamgt/src/ib_notice.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -690,7 +690,7 @@ int create_sa_qp(struct omgt_port *port) } if (ibv_req_notify_cq(port->sa_qp_cq, 0)) { - OMGT_OUTPUT_ERROR(port, "Notice: req_notifiy_cq: failed\n"); + OMGT_OUTPUT_ERROR(port, "Notice: req_notify_cq: failed\n"); goto pd_fail; } diff --git a/opamgt/src/omgt_oob_connections.c b/opamgt/src/omgt_oob_connections.c index 9f65c3c9..1a9f5503 100644 --- a/opamgt/src/omgt_oob_connections.c +++ b/opamgt/src/omgt_oob_connections.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/opamgt/src/omgt_oob_ssl.c b/opamgt/src/omgt_oob_ssl.c index 3d531700..46cbe323 100644 --- a/opamgt/src/omgt_oob_ssl.c +++ b/opamgt/src/omgt_oob_ssl.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT5 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -386,7 +386,7 @@ void* omgt_oob_ssl_connect(struct omgt_port *port, void *context, int serverfd) // is not presented by the server the connection will be rejected. if (!(cert = SSL_get_peer_certificate(session))) { status = OMGT_STATUS_NOT_FOUND; - OMGT_OUTPUT_ERROR(port, "server has no certifcate to verfiy\n"); + OMGT_OUTPUT_ERROR(port, "server has no certificate to verify\n"); } else { long result; diff --git a/opamgt/src/opamgt.c b/opamgt/src/opamgt.c index 4942f2ba..ef0314c8 100644 --- a/opamgt/src/opamgt.c +++ b/opamgt/src/opamgt.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -860,7 +860,7 @@ static void destroy_sa_qp(struct omgt_port *port) /* Free any remaining unregistration messages */ if (!LIST_EMPTY(&port->pending_reg_msg_head)) { - OMGT_OUTPUT_ERROR(port, "Ignoring Pending Notice un-registation requests\n"); + OMGT_OUTPUT_ERROR(port, "Ignoring Pending Notice un-registration requests\n"); omgt_sa_remove_all_pending_reg_msgs(port); } diff --git a/opamgt/src/opamgt_dump_mad.c b/opamgt/src/opamgt_dump_mad.c index 279aa9e6..5f3c3c25 100644 --- a/opamgt/src/opamgt_dump_mad.c +++ b/opamgt/src/opamgt_dump_mad.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: diff --git a/opamgt/src/opamgt_pa.c b/opamgt/src/opamgt_pa.c index 29841bdd..9300f0a1 100644 --- a/opamgt/src/opamgt_pa.c +++ b/opamgt/src/opamgt_pa.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT7 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -251,7 +251,7 @@ pa_query_common( rcv_mad->SaHdr.AttributeOffset, rcv_mad->SaHdr.AttributeOffset, (rcv_mad->SaHdr.AttributeOffset * 8)); OMGT_DBGPRINT(port, " Reserved (0x%x)\n", rcv_mad->SaHdr.Reserved); - //OMGT_DBGPRINT(port, " ComponetMask (0x%016"PRIx64")\n", rcv_mad->SaHdr.ComponentMask); + //OMGT_DBGPRINT(port, " ComponentMask (0x%016"PRIx64")\n", rcv_mad->SaHdr.ComponentMask); rec_sz = rcv_mad->SaHdr.AttributeOffset * 8; if (rcv_mad->common.mr.AsReg8 == STL_PA_CMD_GET_RESP) { @@ -401,7 +401,7 @@ omgt_pa_get_classportinfo( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS) { if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n", (unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n", (unsigned int)fstatus); goto done; } else if (rsp_mad->SaHdr.AttributeOffset) { if (port->pa_verbose) @@ -490,7 +490,7 @@ iba_pa_single_mad_port_counters_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS) { if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n", (unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n", (unsigned int)fstatus); goto done; } else if (rsp_mad->SaHdr.AttributeOffset) { if (port->pa_verbose) @@ -566,7 +566,7 @@ iba_pa_single_mad_clr_port_counters_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS) { if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n", (unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n", (unsigned int)fstatus); goto done; } else if (rsp_mad->SaHdr.AttributeOffset) { if (port->pa_verbose) @@ -634,7 +634,7 @@ iba_pa_single_mad_clr_all_port_counters_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS) { if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n", (unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n", (unsigned int)fstatus); goto done; } else if (rsp_mad->SaHdr.AttributeOffset) { if (port->pa_verbose) @@ -694,7 +694,7 @@ iba_pa_single_mad_get_pm_config_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS) { if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n", (unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n", (unsigned int)fstatus); goto done; } else if (rsp_mad->SaHdr.AttributeOffset) { if (port->pa_verbose) @@ -761,7 +761,7 @@ iba_pa_single_mad_freeze_image_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS) { if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n", (unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n", (unsigned int)fstatus); goto done; } else if (rsp_mad->SaHdr.AttributeOffset) { if (port->pa_verbose) @@ -828,7 +828,7 @@ iba_pa_single_mad_release_image_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS) { if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n", (unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n", (unsigned int)fstatus); goto done; } else if (rsp_mad->SaHdr.AttributeOffset) { if (port->pa_verbose) @@ -895,7 +895,7 @@ iba_pa_single_mad_renew_image_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS) { if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n", (unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n", (unsigned int)fstatus); goto done; } else if (rsp_mad->SaHdr.AttributeOffset) { if (port->pa_verbose) @@ -961,7 +961,7 @@ iba_pa_single_mad_move_freeze_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS) { if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n", (unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n", (unsigned int)fstatus); goto done; } else if (rsp_mad->SaHdr.AttributeOffset) { if (port->pa_verbose) @@ -1029,7 +1029,7 @@ iba_pa_multi_mad_get_image_info_response_query ( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS) { if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n", (unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n", (unsigned int)fstatus); goto done; } else { if (port->pa_verbose) { @@ -1095,7 +1095,7 @@ iba_pa_multi_mad_group_list_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS) { if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n", (unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n", (unsigned int)fstatus); goto done; } else { if (port->pa_verbose) { @@ -1164,7 +1164,7 @@ iba_pa_multi_mad_group_list2_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS) { if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n", (unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n", (unsigned int)fstatus); goto done; } else { if (port->pa_verbose) { @@ -1251,7 +1251,7 @@ iba_pa_multi_mad_group_stats_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS){ if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n",(unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n",(unsigned int)fstatus); goto done; } else { if (port->pa_verbose){ @@ -1340,7 +1340,7 @@ iba_pa_multi_mad_group_config_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS){ if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n",(unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n",(unsigned int)fstatus); goto done; } else { if (port->pa_verbose){ @@ -1439,7 +1439,7 @@ iba_pa_multi_mad_group_nodeinfo_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS){ if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n",(unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n",(unsigned int)fstatus); goto done; } else { if (port->pa_verbose){ @@ -1534,7 +1534,7 @@ iba_pa_multi_mad_group_linkinfo_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS){ if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n",(unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n",(unsigned int)fstatus); goto done; } else { if (port->pa_verbose){ @@ -1633,7 +1633,7 @@ iba_pa_multi_mad_focus_ports_response_query ( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS) { if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n", (unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n", (unsigned int)fstatus); goto done; } else { if (port->pa_verbose) { @@ -1740,7 +1740,7 @@ iba_pa_multi_mad_focus_ports_multiselect_response_query ( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS) { if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n", (unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n", (unsigned int)fstatus); goto done; } else { if (port->pa_verbose) { @@ -1817,7 +1817,7 @@ iba_pa_multi_mad_vf_list_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS){ if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n",(unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n",(unsigned int)fstatus); goto done; } else { if (port->pa_verbose){ @@ -1885,7 +1885,7 @@ iba_pa_multi_mad_vf_list2_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS) { if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n", (unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n", (unsigned int)fstatus); goto done; } else { if (port->pa_verbose) { @@ -1973,7 +1973,7 @@ iba_pa_multi_mad_vf_info_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS){ if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n",(unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n",(unsigned int)fstatus); goto done; } else { if (port->pa_verbose){ @@ -2062,7 +2062,7 @@ iba_pa_multi_mad_vf_config_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS) { if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n", (unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n", (unsigned int)fstatus); goto done; } else { if (port->pa_verbose) { @@ -2140,7 +2140,7 @@ iba_pa_single_mad_vf_port_counters_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS) { if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n", (unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n", (unsigned int)fstatus); goto done; } else if (rsp_mad->SaHdr.AttributeOffset) { if (port->pa_verbose) @@ -2203,7 +2203,7 @@ iba_pa_single_mad_clr_vf_port_counters_response_query( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS) { if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n", (unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n", (unsigned int)fstatus); goto done; } else if (rsp_mad->SaHdr.AttributeOffset) { if (port->pa_verbose) @@ -2277,7 +2277,7 @@ iba_pa_multi_mad_vf_focus_ports_response_query ( request_data, sizeof(request_data), &rcv_buf_len, &rsp_mad, &query_result); if (fstatus != FSUCCESS){ if (port->pa_verbose) - OMGT_OUTPUT_ERROR(port, "Error, requeset failed: status=%u\n",(unsigned int)fstatus); + OMGT_OUTPUT_ERROR(port, "Error, request failed: status=%u\n",(unsigned int)fstatus); goto done; } else { if (port->pa_verbose){ diff --git a/opamgt/src/opamgt_sa.c b/opamgt/src/opamgt_sa.c index c5dd9079..a39224b9 100644 --- a/opamgt/src/opamgt_sa.c +++ b/opamgt/src/opamgt_sa.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -369,7 +369,7 @@ static FSTATUS sa_query_common(SA_MAD * pSA, SA_MAD **ppRsp, uint32_t record_siz (*ppRsp)->SaHdr.AttributeOffset, (*ppRsp)->SaHdr.AttributeOffset, ((*ppRsp)->SaHdr.AttributeOffset * 8)); OMGT_DBGPRINT(port, " Reserved (0x%x)\n", (*ppRsp)->SaHdr.Reserved); - OMGT_DBGPRINT(port, " ComponetMask (0x%016"PRIx64")\n", (*ppRsp)->SaHdr.ComponentMask); + OMGT_DBGPRINT(port, " ComponentMask (0x%016"PRIx64")\n", (*ppRsp)->SaHdr.ComponentMask); // if no records IBTA 1.2.1 says AttributeOffset should be 0 if ((*ppRsp)->common.mr.AsReg8 == SUBN_ADM_GET_RESP) { diff --git a/opamgt/src/opamgt_sa_notice.c b/opamgt/src/opamgt_sa_notice.c index 44357a05..a7ec23a4 100644 --- a/opamgt/src/opamgt_sa_notice.c +++ b/opamgt/src/opamgt_sa_notice.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2017, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: @@ -219,7 +219,7 @@ OMGT_STATUS_T omgt_sa_get_notice_report(struct omgt_port *port, STL_NOTICE **not /* Otherwise error */ } else { SA_MAD *samad = (SA_MAD *)&packet->MadData.common; - OMGT_OUTPUT_ERROR(port, "Unexpected OOB MAD recieved: %s %s(%s)\n", + OMGT_OUTPUT_ERROR(port, "Unexpected OOB MAD received: %s %s(%s)\n", stl_class_str(samad->common.BaseVersion, samad->common.MgmtClass), stl_method_str(samad->common.BaseVersion, samad->common.MgmtClass, samad->common.mr.AsReg8), stl_attribute_str(samad->common.BaseVersion, samad->common.MgmtClass, hton16(samad->common.AttributeID))); diff --git a/opamgt/src/opamgt_sa_query.c b/opamgt/src/opamgt_sa_query.c index 6025a3c4..27100cea 100644 --- a/opamgt/src/opamgt_sa_query.c +++ b/opamgt/src/opamgt_sa_query.c @@ -1,6 +1,6 @@ /* BEGIN_ICS_COPYRIGHT2 **************************************** -Copyright (c) 2015-2018, Intel Corporation +Copyright (c) 2015-2020, Intel Corporation Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: