aboutsummaryrefslogtreecommitdiff
path: root/sys/ofed/include/linux/sysfs.h
Commit message (Collapse)AuthorAgeFilesLines
* Finish process of moving the LinuxKPI module into the default kernel build.Hans Petter Selasky2015-10-291-192/+0
| | | | | | | | | | | | | | | | | | | | | | - 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
* Move location of RCS keyword according to style.Hans Petter Selasky2015-10-201-2/+2
| | | | | | | | Suggested by: jhb @ Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=289644
* Add missing FreeBSD RCS keyword and SVN properties.Hans Petter Selasky2015-10-201-0/+1
| | | | | | | Sponsored by: Mellanox Technologies Notes: svn path=/head/; revision=289624
* - 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
* Fix mis-merge of upstream fix.Alfred Perlstein2013-10-011-4/+0
| | | | | | | | | | | We would accidentally make the string one byte too short. Submitted by: Orit Moskovich (oritm mellanox.com) Approved by: re Notes: svn path=/head/; revision=255968
* Update OFED to Linux 3.7 and update Mellanox drivers.Alfred Perlstein2013-09-291-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* - Correctly handle various edge cases in sysfs emulation.Jeff Roberson2013-08-091-4/+7
| | | | | | | Sponsored by: EMC / Isilon Storage Division Notes: svn path=/head/; revision=254121
* Rework the previous fix for the IB vs Ethernet sysctl handler to be moreJohn Baldwin2013-07-181-17/+15
| | | | | | | | | | | | | | | | | | generic and apply to all sysfs attributes: - Use sysctl_handle_string() instead of reimplementing it. - Remove trailing newline from the current value before passing it to userland and append a newline to the new string value before passing it to the attribute's store function. - Don't leak the temporary buffer if the first error check triggers. - Revert earlier change to mlx4 port mode handler. PR: kern/174213 Submitted by: Garrett Cooper Reviewed by: Shakar Klein @ Mellanox MFC after: 1 week Notes: svn path=/head/; revision=253449
* Allow mlx4 devices to switch from Ethernet to Infiniband (and vice versa):John Baldwin2013-07-081-2/+7
| | | | | | | | | | | | | | | - Fix sysctl wrapper for sysfs attributes to properly handle new string values similar to sysctl_handle_string() (only copyin the user's supplied length and nul-terminate the string). - Don't check for a trailing newline when evaluating the desired operating mode of a mlx4 device. PR: kern/179999 Submitted by: Shahar Klein <shahark@mellanox.com> MFC after: 1 week Notes: svn path=/head/; revision=253048
* - Merge in OFED 1.5.3 from projects/ofed/headJeff Roberson2011-03-211-0/+182
Notes: svn path=/head/; revision=219820