Fix some modules to export more used symbols(cherry picked from commit 5bb3134a8c21cb87b30e135ef168483f0333dabb)
Introduce LINUXKPI_GENSRCS.Centralize the list of generated files required by linuxkpi consumers,into the common variable. This way, consumers that use the variableare insulated from possible ch
Introduce LINUXKPI_GENSRCS.Centralize the list of generated files required by linuxkpi consumers,into the common variable. This way, consumers that use the variableare insulated from possible changes in the list.Reviewed by: hselasky, impSponsored by: Mellanox TechnologiesMFC after: 1 weekDifferential revision: https://reviews.freebsd.org/D24137
show more ...
Add pci_iov_if.h header as a dependency for Linuxkpi consumers.Sponsored by: Mellanox TechnologiesMFC after: 2 weeks
Compile fix for the mlx4 module.Sponsored by: Mellanox Technologies
Update the mlx4 core and mlx4en(4) modules towards Linux v4.9.Background:The coming ibcore update forces an update of mlx4ib(4) which in turn requiresan updated mlx4 core module. This also affect
Update the mlx4 core and mlx4en(4) modules towards Linux v4.9.Background:The coming ibcore update forces an update of mlx4ib(4) which in turn requiresan updated mlx4 core module. This also affects the mlx4en(4) module becausecommonly used APIs are updated. This commit is a middle step updating themlx4 modules towards the new ibcore.This change contains no major new features.Changes in mlx4: a) Improved error handling when mlx4 PCI devices are detached inside VMs. b) Major update of codebase towards Linux 4.9.Changes in mlx4ib(4): a) Minimal changes needed in order to compile using the updated mlx4 core APIs.Changes in mlx4en(4): a) Update flow steering code in mlx4en to use new APIs for registering MAC addresses and IP addresses. b) Update all statistics counters to be 64-bit. c) Minimal changes needed in order to compile using the updated mlx4 core APIs.Sponsored by: Mellanox TechnologiesMFC after: 1 week
sys/modules: normalize .CURDIR-relative paths to SRCTOPThis simplifies make output/logicTested with: `cd sys/modules; make ALL_MODULES=` on amd64MFC after: 1 monthSponsored by: Dell EMC Isilon
Move the ConnectX-3 and ConnectX-2 driver from sys/ofed into sys/dev/mlx4like other PCI network drivers. The sys/ofed directory is now mainlyreserved for generic infiniband code, with exception of
Move the ConnectX-3 and ConnectX-2 driver from sys/ofed into sys/dev/mlx4like other PCI network drivers. The sys/ofed directory is now mainlyreserved for generic infiniband code, with exception of the mthca driver.- Add new manual page, mlx4en(4), describing how to configure and loadmlx4en.- All relevant driver C-files are now prefixed mlx4, mlx4_en andmlx4_ib respectivly to avoid object filename collisions when compilingthe kernel. This also fixes an issue with proper dependency filegeneration for the C-files in question.- Device mlxen is now device mlx4en and depends on device mlx4, seemlx4en(4). Only the network device name remains unchanged.- The mlx4 and mlx4en modules are now built by default on i386 andamd64 targets. Only building the mlx4ib module depends onWITH_OFED=YES .Sponsored by: Mellanox Technologies
Finish process of moving the LinuxKPI module into the default kernel build.- Move all files related to the LinuxKPI into sys/compat/linuxkpi and its subfolders.- Update sys/conf/files and some M
Finish process of moving the LinuxKPI module into the default kernel build.- Move all files related to the LinuxKPI into sys/compat/linuxkpi and its subfolders.- Update sys/conf/files and some Makefiles to use new file locations.- Added description of COMPAT_LINUXKPI to sys/conf/NOTES which in turn adds the LinuxKPI to all LINT builds.- The LinuxKPI can be added to the kernel by setting the COMPAT_LINUXKPI option. The OFED kernel option no longer builds the LinuxKPI into the kernel. This was done to keep the build rules for the LinuxKPI in sys/conf/files simple.- Extend the LinuxKPI module to include support for USB by moving the Linux USB compat from usb.ko to linuxkpi.ko.- Bump the FreeBSD_version.- A universe kernel build has been done.Reviewed by: np @ (cxgb and cxgbe related changes only)Sponsored by: Mellanox Technologies
Globally enable -fms-extensions when building kernel with gcc, and removethis option from all modules that enable it theirselves. In C mode -fms-extensions option enables anonymous structs and uni
Globally enable -fms-extensions when building kernel with gcc, and removethis option from all modules that enable it theirselves. In C mode -fms-extensions option enables anonymous structs and unions,allowing us to use this C11 feature in kernel. Of course, clang supportsit without any extra options.Reviewed by: dim
Start importing the basic OFED linux compatibility layer changes madeby dumbbell@ to be able to compile this layer as a dependency module.Clean up some Makefiles and remove the no longer used OFED
Start importing the basic OFED linux compatibility layer changes madeby dumbbell@ to be able to compile this layer as a dependency module.Clean up some Makefiles and remove the no longer used OFED define.Currently only i386 and amd64 targets are supported.MFC after: 1 monthSponsored by: Mellanox Technologies
Re-support CWARNFLAGS, lost when bsd.sys.mk was removed. Also, supportCWARNFALGS.$file centrally so we don't have to have it in all theplaces. Remove a few warning flags that are no longer needed.
Re-support CWARNFLAGS, lost when bsd.sys.mk was removed. Also, supportCWARNFALGS.$file centrally so we don't have to have it in all theplaces. Remove a few warning flags that are no longer needed.Also, always use -Wno-unknown-pragma to (hopefully temporarily) workaround #pragma ident in debug.h in the opensolaris code. Remove somestale warning suppression that's no longer necessary.
Hardware driver update from Mellanox Technologies, including: - improved performance - better stability - new features - bugfixesSupported HCAs: - ConnectX-2 - ConnectX-3 - ConnectX-3 ProS
Hardware driver update from Mellanox Technologies, including: - improved performance - better stability - new features - bugfixesSupported HCAs: - ConnectX-2 - ConnectX-3 - ConnectX-3 ProSponsored by: Mellanox TechnologiesMFC after: 1 week
- Update the OFED Linux Emulation layer as a preparation for ahardware driver update from Mellanox Technologies.- Remove empty files from the OFED Linux Emulation layer.- Fix compile warnings rela
- Update the OFED Linux Emulation layer as a preparation for ahardware driver update from Mellanox Technologies.- Remove empty files from the OFED Linux Emulation layer.- Fix compile warnings related to printf() and the "%lld" and "%llx"format specifiers.- Add some missing 2-clause BSD copyrights.- Add "Mellanox Technologies, Ltd." to list of copyright holders.- Add some new compatibility files.- Fix order of uninit in the mlx4ib module to avoid crash at unloadusing the new module_exit_order() function.MFC after: 1 weekSponsored by: Mellanox Technologies
Move most of the 15 variations on generating opt_inet.h andopt_inet6.h into kmod.mk by forcing almost everybody to eat the samedogfood. While at it, consolidate the opt_bpf.h and opt_mroute.htarge
Move most of the 15 variations on generating opt_inet.h andopt_inet6.h into kmod.mk by forcing almost everybody to eat the samedogfood. While at it, consolidate the opt_bpf.h and opt_mroute.htargets here too.
Use src.opts.mk in preference to bsd.own.mk except where we need stufffrom the latter.
For sys/ofed/drivers/infiniband/hw/mlx4/mcg.c, disable warning aboutunused variables for now.MFC after: 3 days
Similar to r260020, only use -fms-extensions with gcc, for all othermodules which require this flag to compile. Use a GCC_MS_EXTENSIONSvariable, defined in kern.pre.mk, which can be used to easily
Similar to r260020, only use -fms-extensions with gcc, for all othermodules which require this flag to compile. Use a GCC_MS_EXTENSIONSvariable, defined in kern.pre.mk, which can be used to easily supply theflag (or not), depending on the compiler type.MFC after: 3 days
Update OFED to Linux 3.7 and update Mellanox drivers.Update the OFED Infiniband core to the version supplied in Linuxversion 3.7.The update to OFED is nearly all additional defines and functions
Update OFED to Linux 3.7 and update Mellanox drivers.Update the OFED Infiniband core to the version supplied in Linuxversion 3.7.The update to OFED is nearly all additional defines and functionswith the exception of the addition of additional parameters toib_register_device() and the reg_user_mr callback.In addition the ibcore (Infiniband core) and ipoib (IP over Infiniband)have both been made into completely loadable modules to facilitatetesting of the OFED stack in FreeBSD.Finally the Mellanox Infiniband drivers are now updated to thelatest version shipping with Linux 3.7.Submitted by: Mellanox FreeBSD driver team: Oded Shanoon (odeds mellanox.com), Meny Yossefi (menyy mellanox.com), Orit Moskovich (oritm mellanox.com)Approved by: re
Add OFED and the associated options and drivers to x86 LINT builds:- Mark 'sdp' as requiring 'inet'.- Always include "opt_inet.h" and "opt_inet6.h" and modify the IB driver Makefiles to honor WIT
Add OFED and the associated options and drivers to x86 LINT builds:- Mark 'sdp' as requiring 'inet'.- Always include "opt_inet.h" and "opt_inet6.h" and modify the IB driver Makefiles to honor WITH/WITHOUT_INET/INET6/_SUPPORT options to determine what should be enabled during a module build.- Fix the mlxen(4) driver and the core IB code to compile without if INET is disabled (including when both INET and INET6 are disabled).Reviewed by: bzMFC after: 2 weeks
- Merge in OFED 1.5.3 from projects/ofed/head