aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/ipoib
Commit message (Collapse)AuthorAgeFilesLines
* sys: Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-161-1/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* LinuxKPI: define LINUXKPI_INCLUDES for module builds as wellBjoern A. Zeeb2022-09-261-1/+1
| | | | | | | | | | | | | | While for in-kernel we already have LINUXKPI_INCLUDES in kern.pre.mk for kmod builds we've not had a common define to use leading to various spellings of include paths. In order for the include list to be expanded more easily in the future, e.g., adding the "dummy" includes (for all) and to harmonize code, duplicate LINUXKPI_INCLUDES to kmod.mk and use it for all module Makefiles. MFC after: 1 week Reviewed by: hselasky Differential Revision: https://reviews.freebsd.org/D36683
* Introduce LINUXKPI_GENSRCS.Konstantin Belousov2020-03-201-3/+3
| | | | | | | | | | | | | | Centralize the list of generated files required by linuxkpi consumers, into the common variable. This way, consumers that use the variable are insulated from possible changes in the list. Reviewed by: hselasky, imp Sponsored by: Mellanox Technologies MFC after: 1 week Differential revision: https://reviews.freebsd.org/D24137 Notes: svn path=/head/; revision=359185
* Initial RoCE/infiniband kernel update to Linux v4.9.Hans Petter Selasky2017-06-151-0/+1
| | | | | | | | | | | | This patch currently supports: - ibcore as a kernel module only - krping as a kernel module only - ipoib as a kernel module only Sponsored by: Mellanox Technologies Notes: svn path=/projects/bsd_rdma_4_9/; revision=319974
* sys/modules: normalize .CURDIR-relative paths to SRCTOPEnji Cooper2017-03-041-4/+4
| | | | | | | | | | | This simplifies make output/logic Tested with: `cd sys/modules; make ALL_MODULES=` on amd64 MFC after: 1 month Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=314651
* Don't explicitly set INET/INET6 in the Makefile; opt_inet.h and opt_inet6.hEnji Cooper2015-11-221-1/+0
| | | | | | | | | already do this MFC after: never (depends on kern.opts.mk; will not be MFCed probably) Notes: svn path=/head/; revision=291165
* Finish process of moving the LinuxKPI module into the default kernel build.Hans Petter Selasky2015-10-291-3/+2
| | | | | | | | | | | | | | | | | | | | | | - 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 Notes: svn path=/head/; revision=290135
* Globally enable -fms-extensions when building kernel with gcc, and removeGleb Smirnoff2015-02-171-1/+1
| | | | | | | | | | | | this 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 supports it without any extra options. Reviewed by: dim Notes: svn path=/head/; revision=278913
* Start importing the basic OFED linux compatibility layer changes madeHans Petter Selasky2015-01-171-5/+6
| | | | | | | | | | | | by 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 month Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=277302
* Move most of the 15 variations on generating opt_inet.h andWarner Losh2014-08-041-14/+0
| | | | | | | | | opt_inet6.h into kmod.mk by forcing almost everybody to eat the same dogfood. While at it, consolidate the opt_bpf.h and opt_mroute.h targets here too. Notes: svn path=/head/; revision=269540
* Use src.opts.mk in preference to bsd.own.mk except where we need stuffWarner Losh2014-05-061-1/+1
| | | | | | | from the latter. Notes: svn path=/head/; revision=265420
* Similar to r260020, only use -fms-extensions with gcc, for all otherDimitry Andric2013-12-301-1/+1
| | | | | | | | | | | modules which require this flag to compile. Use a GCC_MS_EXTENSIONS variable, defined in kern.pre.mk, which can be used to easily supply the flag (or not), depending on the compiler type. MFC after: 3 days Notes: svn path=/head/; revision=260102
* Update OFED to Linux 3.7 and update Mellanox drivers.Alfred Perlstein2013-09-291-0/+31
Update the OFED Infiniband core to the version supplied in Linux version 3.7. The update to OFED is nearly all additional defines and functions with the exception of the addition of additional parameters to ib_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 facilitate testing of the OFED stack in FreeBSD. Finally the Mellanox Infiniband drivers are now updated to the latest 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 Notes: svn path=/head/; revision=255932