Created attachment 148084 [details] Core code patch Core changes: - Fix to IXGBE_LEGACY_TX so it builds properly - Added commented-out options to Makefile for IXGBE_LEGACY_BUILD support, for builds on FreeBSD 7/8. This hasn't been tested thoroughly, though. - Wrap some counter(9) code in driver in __FreeBSD_version >= 1100036 defines so that there is still stats support in older versions of FreeBSD - Most of this is derived from r272227 for ixl/v(4) - Move SIOCGI2C ioctl under __FreeBSD_version >= 1100036 define as well - Two new device IDs Shared code changes: - Primarily changes to support upcoming 10 gig products and bug fixes.
Created attachment 148085 [details] Shared code patch Attaching second patch
I'll re-submit a core code patch; John Baldwin made valid comments about some parts of it.
Over to maintainers.
Created attachment 148597 [details] Patch for the core code -- ixgbe.[ch], ixv.[ch], ixgbe_osdep.h
Created attachment 148598 [details] Patch for the shared code -- every other non-core source file
I've attached two updated patches, in svn diff format. The shared code patch is just a more recent version of the previous one I submitted; still more updates to prepare for support for new adapters. The v2 core code patch adds a new change -- I moved ether_ifdetach() up in ixgbe_attach(), and removed the clearing of IFF_UP since the move solved that issue.
Ok, I'll take a look at it tonight/tomorrow and give it some basic testing. Thanks! -adrian
A newer patch to update ixgbe (that obsoletes this one) has been posted in phabricator: https://reviews.freebsd.org/D1580