ix: Import Intel ixgbe-2.5.15
authorSepherosa Ziehau <sephe@dragonflybsd.org>
Sun, 24 Nov 2013 13:41:57 +0000 (21:41 +0800)
committerSepherosa Ziehau <sephe@dragonflybsd.org>
Thu, 2 Jan 2014 12:43:00 +0000 (20:43 +0800)
commit79251f5ebe4cf9dd2f3e6aed590e09d756d39922
tree026a2f6d92f77b9be9df8141d4ee4b2b96e47874
parent3af1e2faf3e77f523f1bdfc94b02e92b65939a14
ix: Import Intel ixgbe-2.5.15

MSI and legacy interrupt (line based interrupt) are working as of this
commit.  polling(4) will be supported and MSI-X will be brought back in
the later commits.

ixgbe is renamed to ix, which is consistent w/ the interface name, and
this makes 'ifconfig ix0' work as expected.

Local changes:
- Reorganize RX and TX ring data structure; nuke useless 'queue'.
- Rework RX and TX ring creation, destroy, initialization and cleanup.
- Reorganize interrupt related data structure.  This also prepares for
  bringing MSI-X back.
- Rework interrupt allocation.
- Rework MSI and legacy interrupt handler.
- Enable RSS (2 RX rings) even if MSI or legacy interrupt is used.
- Apply DragonFly specific RSS configuration.
- Partially rework RX code path.
- Enable TX header write-back.
- Rework TX code path and TX watchdog mechanism.
- Rework busdma(9) related bits.
- Rework ifnet.if_ioctl method.
- Reorganize initialize and stop code.
- Reorganize attach and detach code.
- Code clean up.
42 files changed:
share/man/man4/Makefile
share/man/man4/ix.4 [moved from share/man/man4/ixgbe.4 with 79% similarity]
sys/conf/files
sys/conf/options
sys/config/GENERIC
sys/config/LINT
sys/config/LINT64
sys/config/X86_64_GENERIC
sys/dev/netif/Makefile
sys/dev/netif/ix/Makefile [new file with mode: 0644]
sys/dev/netif/ix/if_ix.c [new file with mode: 0644]
sys/dev/netif/ix/if_ix.h [new file with mode: 0644]
sys/dev/netif/ix/ixgbe_82598.c [moved from sys/dev/netif/ixgbe/ixgbe_82598.c with 94% similarity]
sys/dev/netif/ix/ixgbe_82598.h [moved from sys/dev/netif/ixgbe/ixgbe_82598.h with 95% similarity]
sys/dev/netif/ix/ixgbe_82599.c [moved from sys/dev/netif/ixgbe/ixgbe_82599.c with 85% similarity]
sys/dev/netif/ix/ixgbe_82599.h [moved from sys/dev/netif/ixgbe/ixgbe_82599.h with 90% similarity]
sys/dev/netif/ix/ixgbe_api.c [moved from sys/dev/netif/ixgbe/ixgbe_api.c with 94% similarity]
sys/dev/netif/ix/ixgbe_api.h [moved from sys/dev/netif/ixgbe/ixgbe_api.h with 96% similarity]
sys/dev/netif/ix/ixgbe_common.c [moved from sys/dev/netif/ixgbe/ixgbe_common.c with 88% similarity]
sys/dev/netif/ix/ixgbe_common.h [moved from sys/dev/netif/ixgbe/ixgbe_common.h with 86% similarity]
sys/dev/netif/ix/ixgbe_dcb.c [new file with mode: 0644]
sys/dev/netif/ix/ixgbe_dcb.h [new file with mode: 0644]
sys/dev/netif/ix/ixgbe_dcb_82598.c [new file with mode: 0644]
sys/dev/netif/ix/ixgbe_dcb_82598.h [new file with mode: 0644]
sys/dev/netif/ix/ixgbe_dcb_82599.c [new file with mode: 0644]
sys/dev/netif/ix/ixgbe_dcb_82599.h [new file with mode: 0644]
sys/dev/netif/ix/ixgbe_mbx.c [moved from sys/dev/netif/ixgbe/ixgbe_mbx.c with 97% similarity]
sys/dev/netif/ix/ixgbe_mbx.h [moved from sys/dev/netif/ixgbe/ixgbe_mbx.h with 90% similarity]
sys/dev/netif/ix/ixgbe_osdep.h [moved from sys/dev/netif/ixgbe/ixgbe_osdep.h with 84% similarity]
sys/dev/netif/ix/ixgbe_phy.c [moved from sys/dev/netif/ixgbe/ixgbe_phy.c with 85% similarity]
sys/dev/netif/ix/ixgbe_phy.h [moved from sys/dev/netif/ixgbe/ixgbe_phy.h with 85% similarity]
sys/dev/netif/ix/ixgbe_type.h [moved from sys/dev/netif/ixgbe/ixgbe_type.h with 95% similarity]
sys/dev/netif/ix/ixgbe_vf.c [moved from sys/dev/netif/ixgbe/ixgbe_vf.c with 79% similarity]
sys/dev/netif/ix/ixgbe_vf.h [moved from sys/dev/netif/ixgbe/ixgbe_vf.h with 92% similarity]
sys/dev/netif/ix/ixgbe_x540.c [moved from sys/dev/netif/ixgbe/ixgbe_x540.c with 92% similarity]
sys/dev/netif/ix/ixgbe_x540.h [moved from sys/dev/netif/ixgbe/ixgbe_x540.h with 94% similarity]
sys/dev/netif/ixgbe/LICENSE [deleted file]
sys/dev/netif/ixgbe/Makefile [deleted file]
sys/dev/netif/ixgbe/README [deleted file]
sys/dev/netif/ixgbe/ixgbe.c [deleted file]
sys/dev/netif/ixgbe/ixgbe.h [deleted file]
sys/dev/netif/ixgbe/ixgbe_defines.h [deleted file]