git: ix: Import Intel ixgbe-2.5.15

Sepherosa Ziehau sephe at crater.dragonflybsd.org
Thu Jan 2 05:10:18 PST 2014


commit 79251f5ebe4cf9dd2f3e6aed590e09d756d39922
Author: Sepherosa Ziehau <sephe at dragonflybsd.org>
Date:   Sun Nov 24 21:41:57 2013 +0800

    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.

Summary of changes:
 share/man/man4/Makefile                    |    6 +-
 share/man/man4/{ixgbe.4 => ix.4}           |   64 +-
 sys/conf/files                             |   21 +-
 sys/conf/options                           |    3 +
 sys/config/GENERIC                         |    2 +-
 sys/config/LINT                            |    2 +-
 sys/config/LINT64                          |    2 +-
 sys/config/X86_64_GENERIC                  |    2 +-
 sys/dev/netif/Makefile                     |    2 +-
 sys/dev/netif/ix/Makefile                  |   17 +
 sys/dev/netif/ix/if_ix.c                   | 4511 ++++++++++++++++++++++
 sys/dev/netif/ix/if_ix.h                   |  320 ++
 sys/dev/netif/{ixgbe => ix}/ixgbe_82598.c  |   94 +-
 sys/dev/netif/{ixgbe => ix}/ixgbe_82598.h  |    4 +-
 sys/dev/netif/{ixgbe => ix}/ixgbe_82599.c  |  478 ++-
 sys/dev/netif/{ixgbe => ix}/ixgbe_82599.h  |   11 +-
 sys/dev/netif/{ixgbe => ix}/ixgbe_api.c    |  128 +-
 sys/dev/netif/{ixgbe => ix}/ixgbe_api.h    |   11 +-
 sys/dev/netif/{ixgbe => ix}/ixgbe_common.c |  642 +++-
 sys/dev/netif/{ixgbe => ix}/ixgbe_common.h |   29 +-
 sys/dev/netif/ix/ixgbe_dcb.c               |  718 ++++
 sys/dev/netif/ix/ixgbe_dcb.h               |  176 +
 sys/dev/netif/ix/ixgbe_dcb_82598.c         |  359 ++
 sys/dev/netif/ix/ixgbe_dcb_82598.h         |  100 +
 sys/dev/netif/ix/ixgbe_dcb_82599.c         |  586 +++
 sys/dev/netif/ix/ixgbe_dcb_82599.h         |  154 +
 sys/dev/netif/{ixgbe => ix}/ixgbe_mbx.c    |   23 +-
 sys/dev/netif/{ixgbe => ix}/ixgbe_mbx.h    |   16 +-
 sys/dev/netif/{ixgbe => ix}/ixgbe_osdep.h  |   50 +-
 sys/dev/netif/{ixgbe => ix}/ixgbe_phy.c    |  425 ++-
 sys/dev/netif/{ixgbe => ix}/ixgbe_phy.h    |   28 +-
 sys/dev/netif/{ixgbe => ix}/ixgbe_type.h   |  146 +-
 sys/dev/netif/{ixgbe => ix}/ixgbe_vf.c     |  187 +-
 sys/dev/netif/{ixgbe => ix}/ixgbe_vf.h     |   13 +-
 sys/dev/netif/{ixgbe => ix}/ixgbe_x540.c   |   95 +-
 sys/dev/netif/{ixgbe => ix}/ixgbe_x540.h   |    8 +-
 sys/dev/netif/ixgbe/LICENSE                |   33 -
 sys/dev/netif/ixgbe/Makefile               |   22 -
 sys/dev/netif/ixgbe/README                 |  323 --
 sys/dev/netif/ixgbe/ixgbe.c                | 5697 ----------------------------
 sys/dev/netif/ixgbe/ixgbe.h                |  513 ---
 sys/dev/netif/ixgbe/ixgbe_defines.h        |   44 -
 42 files changed, 8798 insertions(+), 7267 deletions(-)
 rename share/man/man4/{ixgbe.4 => ix.4} (79%)
 create mode 100644 sys/dev/netif/ix/Makefile
 create mode 100644 sys/dev/netif/ix/if_ix.c
 create mode 100644 sys/dev/netif/ix/if_ix.h
 rename sys/dev/netif/{ixgbe => ix}/ixgbe_82598.c (94%)
 rename sys/dev/netif/{ixgbe => ix}/ixgbe_82598.h (95%)
 rename sys/dev/netif/{ixgbe => ix}/ixgbe_82599.c (85%)
 rename sys/dev/netif/{ixgbe => ix}/ixgbe_82599.h (90%)
 rename sys/dev/netif/{ixgbe => ix}/ixgbe_api.c (94%)
 rename sys/dev/netif/{ixgbe => ix}/ixgbe_api.h (96%)
 rename sys/dev/netif/{ixgbe => ix}/ixgbe_common.c (88%)
 rename sys/dev/netif/{ixgbe => ix}/ixgbe_common.h (86%)
 create mode 100644 sys/dev/netif/ix/ixgbe_dcb.c
 create mode 100644 sys/dev/netif/ix/ixgbe_dcb.h
 create mode 100644 sys/dev/netif/ix/ixgbe_dcb_82598.c
 create mode 100644 sys/dev/netif/ix/ixgbe_dcb_82598.h
 create mode 100644 sys/dev/netif/ix/ixgbe_dcb_82599.c
 create mode 100644 sys/dev/netif/ix/ixgbe_dcb_82599.h
 rename sys/dev/netif/{ixgbe => ix}/ixgbe_mbx.c (97%)
 rename sys/dev/netif/{ixgbe => ix}/ixgbe_mbx.h (90%)
 rename sys/dev/netif/{ixgbe => ix}/ixgbe_osdep.h (84%)
 rename sys/dev/netif/{ixgbe => ix}/ixgbe_phy.c (85%)
 rename sys/dev/netif/{ixgbe => ix}/ixgbe_phy.h (85%)
 rename sys/dev/netif/{ixgbe => ix}/ixgbe_type.h (95%)
 rename sys/dev/netif/{ixgbe => ix}/ixgbe_vf.c (79%)
 rename sys/dev/netif/{ixgbe => ix}/ixgbe_vf.h (92%)
 rename sys/dev/netif/{ixgbe => ix}/ixgbe_x540.c (92%)
 rename sys/dev/netif/{ixgbe => ix}/ixgbe_x540.h (94%)
 delete mode 100644 sys/dev/netif/ixgbe/LICENSE
 delete mode 100644 sys/dev/netif/ixgbe/Makefile
 delete mode 100644 sys/dev/netif/ixgbe/README
 delete mode 100644 sys/dev/netif/ixgbe/ixgbe.c
 delete mode 100644 sys/dev/netif/ixgbe/ixgbe.h
 delete mode 100644 sys/dev/netif/ixgbe/ixgbe_defines.h

http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/79251f5ebe4cf9dd2f3e6aed590e09d756d39922


-- 
DragonFly BSD source repository



More information about the Commits mailing list