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
Update mlx4ib(4) to Linux 4.9.Sponsored by: Mellanox Technologies
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
Update the infiniband stack to Mellanox's OFED version 2.1.Highlights: - Multiple verbs API updates - Support for RoCE, RDMA over ethernetAll hardware drivers depending on the common infiniband
Update the infiniband stack to Mellanox's OFED version 2.1.Highlights: - Multiple verbs API updates - Support for RoCE, RDMA over ethernetAll hardware drivers depending on the common infiniband stack has beenupdated aswell.Discussed with: np @Sponsored by: Mellanox TechnologiesMFC after: 1 month
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
- 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.
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