libmlx5: Add more ConnectX-6/7/8 HCA IDs to hca_table.To allow userspace utilities to use these devices.MFC after: 1 weekSponsored by: NVIDIA Networking
Make CPU_SET macros compliant with other implementationsThe introduction of <sched.h> improved compatibility with some 3rdparty software, but caused the configure scripts of some ports toassume t
Make CPU_SET macros compliant with other implementationsThe introduction of <sched.h> improved compatibility with some 3rdparty software, but caused the configure scripts of some ports toassume that they were run in a GLIBC compatible environment.Parts of sched.h were made conditional on -D_WITH_CPU_SET_T beingadded to ports, but there still were compatibility issues due toinvalid assumptions made in autoconfigure scripts.The differences between the FreeBSD version of macros like CPU_AND,CPU_OR, etc. and the GLIBC versions was in the number of arguments:FreeBSD used a 2-address scheme (one source argument is also used asthe destination of the operation), while GLIBC uses a 3-adderessscheme (2 source operands and a separately passed destination).The GLIBC scheme provides a super-set of the functionality of theFreeBSD macros, since it does not prevent passing the same variableas source and destination arguments. In code that wanted to preserveboth source arguments, the FreeBSD macros required a temporary copy ofone of the source arguments.This patch set allows to unconditionally provide functions and macrosexpected by 3rd party software written for GLIBC based systems, butbreaks builds of externally maintained sources that use any of thefollowing macros: CPU_AND, CPU_ANDNOT, CPU_OR, CPU_XOR.One contributed driver (contrib/ofed/libmlx5) has been patched tosupport both the old and the new CPU_OR signatures. If this commitis merged to -STABLE, the version test will have to be extended tocover more ranges.Ports that have added -D_WITH_CPU_SET_T to build on -CURRENT dono longer require that option.The FreeBSD version has been bumped to 1400046 to reflect thisincompatible change.Reviewed by: kibMFC after: 2 weeksRelnotes: yesDifferential Revision: https://reviews.freebsd.org/D33451
show more ...
Fix Coverity issues in OFEDread_ibdiag_config NULL derefread_ibdiag_config mem leakib_mad_inv_field_str Missing comma in a string array initializationprint_node_header NULL derefdiff_node_ports
Fix Coverity issues in OFEDread_ibdiag_config NULL derefread_ibdiag_config mem leakib_mad_inv_field_str Missing comma in a string array initializationprint_node_header NULL derefdiff_node_ports copy-paste erroribportstate.c main() missing break in switchset_thresholds NULL ptr derefdump_unicast_tables leaks mapndumad_cm_attr_str dead code__ibv_close_device close(-1)check return value of listen()mlx5 bitmap.h - bad bit shift - UBget_dst_addr check return value of inet_ptonosm_perfmgr_init check return value of cl_spinlock_initosm_port_new memory leak on error pathsa_mad_ctrl_rcv_callback missing break in switch caseI did not include CID numbers because these were found by an internalrun at Isilon.Reviewed by: cem kibMFC after: 2 weeksSponsored by: Dell EMC IsilonDifferential Revision: https://reviews.freebsd.org/D25676
Add ConnectX-6 DX HCA ID to libmlx5.In addition, add "ConnectX family mlx5Gen Virtual Function" device ID.Every new HCA VF will be identified with this device ID.Submitted by: slavash@MFC after
Add ConnectX-6 DX HCA ID to libmlx5.In addition, add "ConnectX family mlx5Gen Virtual Function" device ID.Every new HCA VF will be identified with this device ID.Submitted by: slavash@MFC after: 3 daysSponsored by: Mellanox Technologies
Rework ofed build.Aligns the build with the FreeBSD traditional approach to not build incontrib/, and to track inter-dependencies between libraries.With help from: bdreweryReviewed by: bdrewery
Rework ofed build.Aligns the build with the FreeBSD traditional approach to not build incontrib/, and to track inter-dependencies between libraries.With help from: bdreweryReviewed by: bdrewery, hselaskySponsored by: Mellanox TechnologiesMFC after: 2 weeksDifferential revision: https://reviews.freebsd.org/D15648
Fix OFED library dependencies.Sponsored by: Mellanox Technologies
Remove no longer needed TESTBUILD defines from OFED Makefiles.Sponsored by: Mellanox Technologies
OFED user-space import and update for use with Linux-4.9 compatible RDMAkernel APIs.List of sources used:1) rdma-core was cloned from "https://github.com/linux-rdma/rdma-core.git"Top commit d65
OFED user-space import and update for use with Linux-4.9 compatible RDMAkernel APIs.List of sources used:1) rdma-core was cloned from "https://github.com/linux-rdma/rdma-core.git"Top commit d65138ef93af30b3ea249f3a84aa6a24ba7f8a752) OpenSM was cloned from git://git.openfabrics.org/~halr/opensm.gitTop commit 85f841cf209f791c89a075048a907020e924528d3) libibmad was cloned from "git://git.openfabrics.org/~iraweiny/libibmad.git"Tag 1.3.13 with some additional patches from Mellanox.4) infiniband-diags was cloned from "git://git.openfabrics.org/~iraweiny/infiniband-diags.git"Tag 1.6.7 with some additional patches from Mellanox.Added the required Makefiles for building and installing.Sponsored by: Mellanox Technologies