Releases: linux-rdma/opensm
opensm 3.3.24
Changes since 3.3.23:
Add support for NDR link speed
Internal improvements and bug fixes as noted below and in release notes
See https://github.com/linux-rdma/opensm/tree/master/doc/opensm_release_notes-3.3.txt
Full list of changes is below:
Or Nechemia (3):
Support NDR devices
Backward compatibility for old drivers
Remove redundant negativity check of size_t type, which is unsigned thus non negative.
Tamir Ronen (3):
Update shared (internal) library versions in accordance with changes since OpenSM 3.3.23
configure.ac: Update package number for OpenSM to 3.3.24 for release
Update opensm_release_notes-3.3.txt
tamirronen (3):
Merge pull request #21 from kleindaniel7/allow_mcmr_with_default_prefix
Merge pull request #23 from kleindaniel7/fix_2x_width_check
Merge pull request #25 from ornechemia/ndr_support
Aleksandr Minchiu (2):
libopensm/osm_helper.c: Fix printing trap 259 details
libopensm/osm_helper.c: Fix printing trap 256 details
Daniel Klein (2):
osm_sa_mcmember_record.c: Allow MCMR requests with default subnet prefix
osm_link_mgr.c: Fix checking if port support link width 2x
opensm 3.3.23
Changes since 3.3.22:
Add support for registering an opensm plugin as a new routing engine
Internal improvements and bug fixes as noted below and in release notes
See https://github.com/linux-rdma/opensm/tree/master/doc/opensm_release_notes-3.3.txt
Full list of changes is below:
Nicolas Morey-Chaisemartin (6):
osm_opensm.c: Fix use of enum as NULL pointer in osm_opensm_init_finish
osm_ucast_ftree.c: Fix clang warning about empty loop
osm_[port ucast_ftree].c: Remove unused static functions
Add travis validation
travis: Add patch check
ib_types: Drop packed attribute where unnecessary
Tamir Ronen (3):
Update shared (internal) library versions in accordance with changes since OpenSM 3.3.22
configure.ac: Update package number for OpenSM to 3.3.23 for release
Update opensm_release_notes-3.3.txt
Hal Rosenstock (2):
opensm.spec.in: Updated for move to github
opensm.spec.in: Move COPYING back into doc
Benjamin Drung (1):
Fix spelling mistake of "switches"
Cyrille Verrier (1):
Add support for registering an opensm plugin as a new routing engine
opensm 3.3.22
Changes since 3.3.21:
Internal library reorganization to remove circular dependencies
Added a few additional command line options which were supported by options to be consistent with RedHat Fedora startup script
Internal improvements and bug fixes as noted below and in release notes
See https://github.com/linux-rdma/opensm/tree/master/doc/opensm_release_notes-3.3.txt
Full list of changes is below:
Honggang Li (36):
complib: cl_vector_copy16/32/64 should be static functions
Use precision specifier for scanf
complib/cl_types.h: Cosmetic formatting changes
complib/cl_types.h: Remove unimplemented function cl_panic
complib/cl_heap.h: Replace 'shift_' with 'heap_' in the DESCRIPTION section
complib/cl_heap.c: Remove redundant initialization statement
include/complib: Delete documentation about 'p_nil'
include/opensm: Remove some redundant includes
complib/cl_dispatcher.c: Fix typo and delete one incorrect comment
complib/cl_dispatcher.h: Improve comments
complib/cl_event_wheel.h: Improve comment documentation
complib/cl_event_wheel.c: Minor update to the sample test program
opensm/osm_base.h: Delete unused header complib/cl_types.h
opensm/osm_base.h: Delete comments about non-existent "Base" class
opensm/osm_path.h: Delete comments for non-existent struct field and function parameters
Delete unused header opensm/osm_attrib_req.h
opensm/osm_router.h: Improve comments
opensm/osm_node.h: Improve comments
opensm/osm_vl15intf.h: Minor update of comments
opensm/osm_mtree.h: Improve comments
opensm/osm_remote_sm.h: Improve comments
opensm/osm_sm_mad_ctrl.h: Improve comments
opensm/osm_sa_mad_ctrl.h: Improve comments
opensm/osm_multicast.h: Improve comments
opensm/osm_ucast_mgr.h: Add comment for 'max_lid' foeld in osm_ucast_mgr structure
opensm/osm_ucast_cache.h: Improve coding style and comments
opensm/osm_remote_sm.c: Improve comment
opensm/osm_mtree.h: Improve comment
opensm/osm_mlnx_ext_port_info_rcv.c: Check the pointer of osm_sm_t before accessing it
opensm/osm_service.h: Fix and add some comments
osm_sa.c: Remove unneeded label in osm_sa_bind
osm_subnet.c: Free per_module_logging_file in subn_opt_destroy
osm_opensm.c: destroy_routing_engines should destroy the default routing engine
Add '--subnet_prefix' and '--dump_files_dir' options
osm_helper.c: Fix lsea_str_fixed_width OVERRUN issue
main.c: Remove NO_EFFECT code
Hal Rosenstock (24):
complib/cl_ptr_vector.h: Fixed cut 'n paste error in cl_ptr_vector_remove NOTES
include/complib: Fix comments and documentation
complib/cl_qcomppool.h: Improve max_objects comment
complib/cl_debug.h: Cosmetic formatting changes to some macros
osm_subnet.c: Add latest Bull device IDs to device white lists
complib/cl_event_wheel.c: Some cosmetic changes
complib/cl_event_wheel.h: Eliminate unneeded field in cl_event_wheel_reg_info_t
complib/cl_event_wheel.c: Handle malloc failure in cl_event_wheel_reg
complib/cl_[dispatcher event_wheel].h: Fix commentary typo
Revert complib/cl_event_wheel.c: Fix memory leak in event_wheel mechanism
osm_resp.c: No need to swap DR [D/S]LIDs in resp_make_resp_smp
osm_opensm.c: Fix seg fault in destroy_routing_engines
osm_opensm.c: No need to check context for default routing engine in destroy_routing_engines
Eliminate circular dependencies in shared libraries
man/opensm.8.in: Quiet some man warnings
osm_helper.c: Make "50" string proper fixed width in lsea_str_fixed_width
osm_[link_mgr trap_rcv].c: Check the return value of osm_get_port_by_guid
gen_chlog.sh: Update script to use git describe rather than git cat-file tag
Deprecate complib_init() due to use of exit() function
libvendor/osm_vendor_mlx[_hca]_sim.c: Eliminate use of exit
libvendor/osm_vendor_mlx_sim.c: In osmv_transport_init, fix memory leaks on error
osmtest.c: Remove ununsed osmtest_get_node_rec routine
Update shared (internal) library versions in accordance with changes since OpenSM 3.3.21
configure.ac: Update package number for OpenSM to 3.3.22 for release
Nicolas Morey-Chaisemartin (7):
osm_opensm.c: Fix static declaration
osm_[congestion_control perfmgr].c: Fix signed vs unsigned comparison
osmtest/main.c: Fix return type for getopt_long_only
libvendor,osmtest: Use NULL instead of 0 in all places where it used as a pointer
osmtest: Add missing static keywords
osmtest/main.c: Fix show_usage declaration
libvendor/osm_vendor_ibumad.c: Fix type of array passed to umad_get_ca_portguids in libibumad
Aleksandr Minchiu (2):
osm_port_info_rcv.c: Optimize PKEY sending during heavy sweep
osm_trap_rcv.c: Fix missing log message when 10 traps are received from the same source within time window
Benjamin Drung (2):
Fix typo in OSM_DEFAULT_TRAP_SUPPRESSION_TIMEOUT
Fix various typos
Elad Weiss (2):
osm_multicast.c: Fix potential crash in osm_mgrp_delete_port
osm_db_files.c: Remove an obsolete GUID-length check on osm_db_restore
Alex Netes (1):
complib/cl_event_wheel.c: Fix memory leak in event_wheel mechanism
Ana Guerrero Lopez (1):
Fix a bunch of typos
Vladimir Koushnir (1):
osm_sa_mcmember_record.c: Change level of log messages for port GID subnet prefix mismatches in join/leave
v3.3.21
Changes since 3.3.20:
Support for HDR link speed and 2x link width
Nue routing algorithm (EXPERIMENTAL)
Support for ignoring throttled links with DFSSSP
Support for long transaction timeout for SM class transactions
Internal improvements and bug fixes as noted below and in release notes
See https://github.com/linux-rdma/opensm/tree/master/doc/opensm_release_notes-3.3.txt
Full list of changes is below:
Alex Netes (1):
osmtest.c: Close file before exit function osmtest_create_inventory_file
Benjamin Drung (1):
Fix various typos
Dan Ben Yosef (1):
osm_sa_mcmember_record.c: Fix use after free in mcmr_rcv_join_mgrp
Daniel Klein (5):
osm_ucast_mgr.c: Fix minhop tables miscalculation due to variable wraparound
osm_ucast_updn.c: Add memory allocation failure handling in updn_build_lid_matrices
osm_subnet.c: Indicate that subnet prefix can't be changed at runtime
ib_types.h: Add CapabiltyMask2 bit definition for CPI CapabilityMask
osm_sa_path_record.c: Check input parameters in osm_get_path_params
Hal Rosenstock (75):
osm_torus.c: Cosmetic formatting change
osm_state_mgr.c: Move subnet up event to occur after mkey related files are written
osm_console.c: Remove redundant condition in get_stats
osm_ucast_ftree.c: Remove redundant condition in fabric_route_downgoing_by_going_up
osm_sa_mcmember_record.c: Add MGID to 1B13 error message
osm_switch.h: Fix commentary typo
osm_sminfo_rcv.c: Use initial rather than return path in smi_rcv_process_get_response
osm[link lid]mgr.c: Simplify link width comparisons
osm_link_mgr.c: Simplify some link speed related comparisons
osm[link lid]mgr.c: Simplify error threshold comparisons
Makefile.am: Fix INCLUDES warnings
configure.in: Update AM_INIT_AUTOMAKE to use subdir-objects
configure.ac: Update configure.in to configure.ac
gen_ver.sh: Change configure.in to configure.ac in comment
osm[helper.c base.h]: Add support for Bull OUI
osm_subnet.c: Add support for Bull device ID to is_mlnx_ext_port_info_supported
Add Bull device IDs to device white lists
osm_subnet.c: Add Connect-X5 support to is_mlnx_ext_port_info_supported
osm_sa_mad_ctrl.c: It's report response rather than repress
ib_types.h: Fix some typos associated with IB_CLASS_RESP_TIME_MASK
ib_types.h: Replace hard coded constant with define
ib_types.h: Add optional QP1Dropped counter to PortCounters attribute
ib_types.h: Add additional optional counters to PortCountersExtended
ib_types.h: Fix bit for IB_PM_IS_ADDL_PORT_CTRS_EXT_SUP
ib_types.h: Add IsPMKeySupported ClassPortInfo CapabilityMask2 bit
[ib_types.h, osm_helper.c]: Change IB_PORT_CAP_RESV13 to IB_PORT_CAP_HAS_CABLE_INFO
ib_types.h: Add additional PortInfo:CapabilityMask2 definitions
osm_helper.c: Add support for dumping PortInfo:CapabilityMask2
osm_port_info_rcv.c: Fix min_ca_rate determination in pi_rcv_process_endport
osm_sa_inform_info.c: Use defines rather than hard coded constants in infr_rcv_process_set_method
Add support for 2x link widths
osm_switch.c: Fix commentary typo
osm_madw.h: Remove unused bind_info in osm_madw structure
ib_types.h: Add new rates to return values for ib[multi]path_rec_rate
Add timeout parameter for SM class set transactions
Add timeout parameter for SM class get transactions
Add initial policy for long transaction timeout
osm_multicast.h: Fix some osm_mgrp_box structure field descriptions
osmtest/osmt_multicast.c: Fix MC join with unrealistic rate
osm_sa_mcmember_record.c: Use neighbor MTU rather than MTUCap in mgrp_request_is_realizable
osm_prtn_config.c: Fix a couple of compile warnings with more recent gcc
osm_qos.c: Better handling of VL arbitration tables when there is 1 data VL
osm_sa.c: Cosmetic change to 4C05 error log message
ib_types.h: mcast_pkey_trap_suppr in PortInfo attribute is 2 bits in IBA 1.3
osm_subnet.c: Fix typo in generated configuration/options file
Add support for HDR
osm_helper.c: Add decode of HDR supported to dbg_get_capabilities2_str
osm_ucast_dfsssp.c: Uniquify some error codes
osm_subnet.c: Add additional ConnectX-5 device ID to is_mlnx_ext_port_info_supported
Add option and support for only using the original extended SA rates
doc/QoS_management_in_OpenSM.txt: Fix typo
osm_subnet.c: Make formatting consistent in generated opensm.conf
osm_[multi]path_record.c: Fix a couple of edge cases with new 2x/HDR SA rates
Add support for additional Mellanox OUIs
osm_vendor_ibumad.c: OpenSM no longer works with ibsim with latest libibumad
osm_pkey.c: Fix comment in match_pkey
Revert osm_vendor_ibumad.c: OpenSM no longer works with ibsim with latest libibuma
osm_subnet.c: Add additional device IDs to is_mlnx_ext_port_info_supported
osm_subnet.c: Remove redundant Bull device ID in is_mlnx_ext_port_info_supported
osm_sa_path_record.c: Cosmetic formatting change
osm_sa_[multi]path_record.c: Add some comments for better code clarity
Refactor common SA path record rate code into ib_path_rate_2x_hdr_fixups
Handle other 2x and/or HDR not supported SA rate cases
osm_db_files.c: Cosmetic change to comment in osm_db_update
osm_ucast_lash.c: Fix comment in init_lash_structures
osm_sm_mad_ctrl.c: Change [i r]path declarations in log_rcv_cb_error
opensm.8.in: Emphasize that the fields of mgroup_flag must be split with "comma"
osm_prtn_config.c: Cosmetic formatting change
Revert osm_db_files.c: Fix bad free in osm_db_delete
osm_subnet.c: Add additional device ID to is_mlnx_ext_port_info_supported
osm_helper.h: Remove trailing whitespace in comment
Replace hard coded constants with defines for force_link_xxx options
Update (internal) shared library versions
Update package number for OpenSM to 3.3.21 for release
Update opensm_release_notes-3.3.txt
Honggang Li (20):
Replace deprecated 'BSD_SOURCE' macro in Makefiles with GNU_SOURCE
osm_sa_mcmember_record.c: Fix maybe uninitialized issue in mcmr_by_comp_mask
osm_console_io.c: Avoid potential no NUL-terminated strncpy in osm_console_init
osm_prtn.c: Avoid potential no NUL-terminated strncpy in osm_prtn_new
osm_sm_mad_ctrl.c: Reduce path buffer sizes to avoid format truncation in log_rcv_cb_error
osm_db_files.c: Fix bad free in osm_db_delete
osm_mesh.c: Improve one line of comment in make_geometry
opensm.spec.in: Adjust BuildRequires for covscan
main.c: Close fd before return to avoid resource leak
osm_port.c: Fix memory leak in osm_port_new
osm_qos_parser_y.y: Fix resource leak
osm_ucast_nue.c: Fix resource leak in nue_create_context
osmt_service.c: Fix resource leak in osmt_get_all_services_and_check_names
osmtest.c: osmtest_parse_node delete p_node in error path
osmtest.c: osmtest_parse_port fix resource leak in error path
osmtest.c: osmtest_parse_path fix resource leak in error path
osm_console.c: Fix resource leak in dump_portguid_parse
osm_prtn_config.c: parse_group_flag log suspicious group flag value
partition-config.txt: Emphasize that the fields of mgroup_flag must be split with "comma"
osm_prtn_config.c: Fix pointer dereference in verify_val
Jens Domke (7):
dfsssp - detect and try to repair an odd network state
[current-routing.txt man/opensm.8.in]: Some minor fixups
complib: Add a d-ary heap
dfsssp: Replace the internal heap implementation
complib/cl_heap.[h c]: Fix a corner case in d-ary heap
dfsssp: Ignore throttled links in fabric
Nue: A novel deadlock-free routing engine
Julia Levin (1):
osm_qos_parser_y.y: Fix opensm crash when qos policy file is null
Roy Menczer (1):
osm_ucast_ftree.c: Implement atomic update operation for dump file
Shlomi Nimrodi (3):
osm_port_info_rcv.c: Fix bug in portinfo set failure handling
Add support for send only full member multicast joins
osm_sa_[multi]path_record.c: Remove some redundant code in [m]pr_pr_rcv_get_path_parms
Tomer Cohen (1):
osm_ucast_[dfsssp ftree].c: Fix memory leak when io/cn guid file have duplicated guids
Vladimir Koushnir (7):
Fix SM-Key management
osm_state_mgr.c: opensm does not generate SA_DB_DUMPED event after heavy sweep
osm_subnet.c: EOL missing in error message in opts_strtoull
osm_qos_policy.c: Partition SL independence from QoS matching rules
osm_lid_mgr.c: Clean up LID ranges that are beyond current LMC setting
osm_[base.h helper.c]: Add new Mellanox OUI 0xec0d9a
PKEY: Add functionality to ignore existing pkey indexes
jecavil (1):
Add force_link_width option