aboutsummaryrefslogtreecommitdiff
path: root/sys/modules/mlxen
Commit message (Collapse)AuthorAgeFilesLines
* Move the ConnectX-3 and ConnectX-2 driver from sys/ofed into sys/dev/mlx4Hans Petter Selasky2016-09-301-13/+0
| | | | | | | | | | | | | | | | | | | | | | | | | like other PCI network drivers. The sys/ofed directory is now mainly reserved for generic infiniband code, with exception of the mthca driver. - Add new manual page, mlx4en(4), describing how to configure and load mlx4en. - All relevant driver C-files are now prefixed mlx4, mlx4_en and mlx4_ib respectivly to avoid object filename collisions when compiling the kernel. This also fixes an issue with proper dependency file generation for the C-files in question. - Device mlxen is now device mlx4en and depends on device mlx4, see mlx4en(4). Only the network device name remains unchanged. - The mlx4 and mlx4en modules are now built by default on i386 and amd64 targets. Only building the mlx4ib module depends on WITH_OFED=YES . Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=306486
* Convert the mlxen driver to use the BUSDMA(9) APIs instead ofHans Petter Selasky2015-12-031-2/+0
| | | | | | | | | | | | | vtophys() when loading mbufs for transmission and reception. While at it all pointer arithmetic and cast qualifier issues were fixed, mostly related to transmission and reception. MFC after: 1 week Sponsored by: Mellanox Technologies Differential Revision: https://reviews.freebsd.org/D4284 Notes: svn path=/head/; revision=291699
* Finish process of moving the LinuxKPI module into the default kernel build.Hans Petter Selasky2015-10-291-1/+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
* Factor out mbuf hashing code from LAGG driver so that other networkHans Petter Selasky2015-03-111-1/+1
| | | | | | | | | | | | | | drivers can use it. This avoids some code duplication. Add missing default case to all switch statements while at it. Also move the hashing of the IPv6 flow field to layer 4 because the IPv6 flow field is constant on a per L4 connection basis and not on a per L3 network. Differential Revision: https://reviews.freebsd.org/D1987 Sponsored by: Mellanox Technologies MFC after: 1 month Notes: svn path=/head/; revision=279891
* Globally enable -fms-extensions when building kernel with gcc, and removeGleb Smirnoff2015-02-171-2/+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
* Hardware driver update from Mellanox Technologies, including:Hans Petter Selasky2014-09-231-2/+2
| | | | | | | | | | | | | | | | | | - improved performance - better stability - new features - bugfixes Supported HCAs: - ConnectX-2 - ConnectX-3 - ConnectX-3 Pro Sponsored by: Mellanox Technologies MFC after: 1 week Notes: svn path=/head/; revision=272027
* - Update the OFED Linux Emulation layer as a preparation for aHans Petter Selasky2014-08-271-0/+1
| | | | | | | | | | | | | | | | | | hardware 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 unload using the new module_exit_order() function. MFC after: 1 week Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=270710
* 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
* Add OFED and the associated options and drivers to x86 LINT builds:John Baldwin2012-04-121-1/+16
| | | | | | | | | | | | | | | - 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: bz MFC after: 2 weeks Notes: svn path=/head/; revision=234183
* - Merge in OFED 1.5.3 from projects/ofed/headJeff Roberson2011-03-211-0/+13
Notes: svn path=/head/; revision=219820