aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ixl/i40e_osdep.h
Commit message (Collapse)AuthorAgeFilesLines
* ixl(4): Update version number to 2.0.0-kEric Joyner2018-06-181-1/+1
| | | | | | | | | | And update copyrights to current year. MFC after: 1 month Sponsored by: Intel Corporation Notes: svn path=/head/; revision=335339
* ixl(4): Update to 1.9.9-kEric Joyner2018-05-011-1/+4
| | | | | | | | | | | | | | | | | | | | | | Refresh upstream driver before impending conversion to iflib. Major changes: - Support for descriptor writeback mode (required by ixlv(4) for AVF support) - Ability to disable firmware LLDP agent by user (PR 221530) - Fix for TX queue hang when using TSO (PR 221919) - Separate descriptor ring sizes for TX and RX rings PR: 221530, 221919 Submitted by: Krzysztof Galazka <krzysztof.galazka@intel.com> Reviewed by: #IntelNetworking MFC after: 1 day Relnotes: Yes Sponsored by: Intel Corporation Differential Revision: https://reviews.freebsd.org/D14985 Notes: svn path=/head/; revision=333149
* ixl(4): Update to 1.7.12-kEric Joyner2017-02-101-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refresh upstream driver before impending conversion to iflib. Major new features: - Support for Fortville-based 25G adapters - Support for I2C reads/writes (To prevent getting or sending corrupt data, you should set dev.ixl.0.debug.disable_fw_link_management=1 when using I2C [this will disable link!], then set it to 0 when done. The driver implements the SIOCGI2C ioctl, so ifconfig -v works for reading I2C data, but there are read_i2c and write_i2c sysctls under the .debug sysctl tree [the latter being useful for upper page support in QSFP+]). - Addition of an iWARP client interface (so the future iWARP driver for X722 devices can communicate with the base driver). - Compiling this option in is enabled by default, with "options IXL_IW" in GENERIC. Differential Revision: https://reviews.freebsd.org/D9227 Reviewed by: sbruno MFC after: 2 weeks Sponsored by: Intel Corporation Notes: svn path=/head/; revision=313497
* Consistently use `device_t`Jean-Sébastien Pédron2016-08-091-1/+1
| | | | | | | | | | | | | | | | | | Several files use the internal name of `struct device` instead of `device_t` which is part of the public API. This patch changes all `struct device *` to `device_t`. The remaining occurrences of `struct device` are those referring to the Linux or OpenBSD version of the structure, or the code is not built on FreeBSD and it's unclear what to do. Submitted by: Matthew Macy <mmacy@nextbsd.org> (previous version) Approved by: emaste, jhibbits, sbruno MFC after: 3 days Differential Revision: https://reviews.freebsd.org/D7447 Notes: svn path=/head/; revision=303890
* ixl(4): Update to ixl-1.6.6-k.Sean Bruno2016-08-071-7/+8
| | | | | | | | | | | Submitted by: erj Reviewed by: jeffrey.e.pieper@intel.com MFC after: 3 days Sponsored by: Intel Corporation Differential Revision: https://reviews.freebsd.org/D7391 Notes: svn path=/head/; revision=303816
* ixl: Update to 1.4.20-k.Eric Joyner2016-05-121-10/+13
| | | | | | | | | | | | | | | | | | | | | | | | Changes by author: Eric Joyner ixl: Add more error messages/checks to ixl_vsi_assign_msix(). Eric Joyner ixl/ixlv: Clarify a comment about descriptors. Eric Joyner ixl/ixlv: Improve i40e_debug() implementation. Eric Joyner ixl/ixlv: Remove unused ASSERT() macro; move struct around. Eric Joyner ixl: Set initial advertised speed value in init_locked(). Eric Joyner ixl: Fix flow control sysctl value being stored when new value is invalid. Eric Joyner Edit comments and spacing. Carolyn Wyborny i40e-shared: Add functions to blink led on Coppervale PHY Eric Joyner ixl: Re-do interrupt setup. Eric Joyner ixl: Remove VFLR task setup from legacy flow. Eric Joyner ixl: Shutdown/setup HMC when handling an EMPR reset. Differential Revision: https://reviews.freebsd.org/D6211 Reviewed by: sbruno, kmacy, jeffrey.e.pieper@intel.com MFC after: 2 weeks Sponsored by: Intel Corporation Notes: svn path=/head/; revision=299553
* Update SW4 to the Intel ixl/ixlv drivers. This is primarily a sharedJack F Vogel2015-06-051-4/+6
| | | | | | | | | | | | code update, with supporting changes in the CORE. Changes for the extended media types, VF driver has virtual channel protocol changes, and some register use corrections. This software change should be coordinated with Firmware updates to your hardware, contact your support channels for that. MFC after: 1 week Notes: svn path=/head/; revision=284049
* Remove executable property from several ixl(4) source files.John Baldwin2015-05-191-0/+0
| | | | | | | | Differential Revision: https://reviews.freebsd.org/D2583 Reviewed by: erj Notes: svn path=/head/; revision=283119
* Update the Intel i40e drivers, ixl version 1.2.8, ixlv version 1.1.18Jack F Vogel2014-11-061-2/+1
| | | | | | | | | | | | | | | | | | | | | -Improved VF stability, thanks to changes from Ryan Stone, and Juniper. - RSS fixes in the ixlv driver - link detection in the ixlv driver - New sysctl's added in ixl and ixlv - reset timeout increased for ixlv - stability fixes in detach - correct media reporting - Coverity warnings fixed - Many small bug fixes - VF Makefile modified - nvm shared code needed - remove unused sleep channels in ixlv_sc struct Submitted by: Eric Joyner (committed by jfv) MFC after: 1 week Notes: svn path=/head/; revision=274205
* Ensure that ixl_flush() uses a defined register on VFsRyan Stone2014-09-291-4/+9
| | | | | | | | | | | | | | In some code that is shared between the ixl(4) and ixlv(4) drivers, a macro hard-coded a register offset that was not valid on ixlv devices. Fix this by having each driver define a variable that contains the correct offset. Reviewed by: Eric Joyner <ricera10 AT gmail.com> MFC after: 3 days Sponsored by: Sandvine Inc Notes: svn path=/head/; revision=272285
* Revert r270808, which were changes to common code (i40e_alloc.h).Bjoern A. Zeeb2014-09-181-5/+0
| | | | | | | | | | | | | | | | Rather than #define-ing common code function calls to OS-dependent ones, make the osdep versions match the common code expectations, adjust the FreeBSD specific code to use those, and remove the #defines. In the FreeBSD specific code, use "i40e_mem_reserved" for the now expected but unused argument to i40e_allocate_dma_mem(). Reviewed by: gnn, eric.joyner intel.com MFC after: 3 days Notes: svn path=/head/; revision=271834
* Properly handle prefetch only for amd64 and i386 as we do elsewhere.Bjoern A. Zeeb2014-08-291-0/+4
| | | | | | | | | | | In general theraven is right that we should factr this out and provide a general and per-arch implementation that everything can use. MFC after: 3 days X-MFC with: r270755 Notes: svn path=/head/; revision=270806
* Fix build breakage caused by ixl driverSteven Hartland2014-08-281-2/+2
| | | | | | | | | | | | Fix missing includes and invalid vars in ixl / ixlv driver added by r270346 which caused build failures for GENERIC kernel after it was made default by r270755. X-MFC-With: r270346 / r270755 Sponsored by: Multiplay Notes: svn path=/head/; revision=270758
* Update to the Intel Base driver for the Intel XL710 Ethernet Controller FamilyJack F Vogel2014-08-221-0/+230
- It was decided to change the driver name to if_ixl for FreeBSD - This release adds the VF Driver to the tree, it can be built into the kernel or as the if_ixlv module - The VF driver is independent for the first time, this will be desireable when full SRIOV capability is added to the OS. - Thanks to my new coworker Eric Joyner for his superb work in both the core and vf driver code. Enjoy everyone! Submitted by: jack.vogel@intel.com and eric.joyner@intel.com MFC after: 3 days (hoping to make 10.1) Notes: svn path=/head/; revision=270346