Skip to content

backports: add igb driver

Stefan Assmann backports 4 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest12 patches 2 repliesIn review
  2. v311 patches 4 repliesSuperseded
  3. v2 RFC11 patches 11 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v1 RFC10 patches4 repliesSuperseded

Changes in v4 from the cover letter

Add several LINUX_BACKPORT defines to prevent possible clashes with distro backports. Patches rebased and tested against next-20140124.

Patches in v4 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/12backports: igb fixes for linux-3.13patches/collateral-evolutions/network/84-ethernet/0013-igb_hwmon.patch+30 -00 replies
2/12backports: igb fixes for linux-3.12backport/backport-include/linux/u64_stats_sync.h+14 -20 replies
3/12backports: igb fixes for linux-3.9backport/backport-include/linux/pci.h backport/backport-include/linux/pci_regs.h backport/compat/backport-3.10.c +1 more+144 -00 replies
4/12backports: igb fixes for linux-3.8backport/backport-include/linux/skbuff.h+9 -00 replies
5/12backports: igb fixes for linux-3.7backport/backport-include/linux/pci.h backport/compat/compat-3.8.c patches/collateral-evolutions/network/84-ethernet/0002-igb_pci_sriov_configure.patch+96 -10 replies
6/12backports: igb fixes for linux-3.6backport/backport-include/linux/mdio.h backport/backport-include/linux/ptp_clock_kernel.h patches/collateral-evolutions/network/84-ethernet/0004-igb_err_handler.patch +1 more+109 -00 replies
7/12backports: igb fixes for linux-3.5backport/backport-include/linux/ethtool.h backport/backport-include/linux/gfp.h backport/backport-include/linux/mdio.h +2 more+140 -10 replies
8/12backports: igb fixes for linux-3.4backport/backport-include/linux/ethtool.h backport/backport-include/linux/ptp_clock_kernel.h backport/compat/compat-3.5.c +1 more+144 -00 replies
9/12backports: igb fixes for linux-3.3backport/backport-include/linux/if.h patches/collateral-evolutions/network/84-ethernet/0008-igb_no_fcs.patch+20 -00 replies
10/12backports: igb fixes for linux-3.2patches/collateral-evolutions/network/84-ethernet/0009-igb_vlan_rx_vid.patch patches/collateral-evolutions/network/84-ethernet/0010-igb_ethtool_ops.patch+112 -00 replies
11/12backports: igb fixes for linux-3.1backport/backport-include/linux/if.h backport/backport-include/linux/pci.h backport/backport-include/linux/skbuff.h +2 more+113 -00 replies
12/12backports: enable igb and add defconfigbackport/defconfigs/igb copy-list+6 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v4 yet.

Read the v4 thread

Cover letter [PATCH v4 00/12] backports: add igb driver

This is a patchset for inclusion of the Intel igb wired ethernet driver. Patches are split per kernel release that makes it easier to review the changes and gives a nice history of what was necessary for each release. Also the igb driver changes have been split up into individual patches in patches/collateral-evolutions/network/84-ethernet. This and file names are up for discussion, suggestions welcome.

v2:
Instead of backporting struct ethtool_ops the code in igb has been wrapped in if LINUX_VERSION_CODE statements. This will result in higher maintenance because of conflicts with future upstream igb changes but it seems there's no better solution so far.
The patches in patches/collateral-evolutions/network/84-ethernet have been kept separate but with a leading number to make sure they get applied in the correct order.
The code that activates igb has been pushed to the end of the series to not break any bisecting.
v3:
Use original struct ptp_clock and handle ptp_clock_register() with a define. Also removed unused function warnings by wrapping the code in if LINUX_VERSION_CODE statements.
v4:
Add several LINUX_BACKPORT defines to prevent possible clashes with distro backports. Patches rebased and tested against next-20140124.

Stefan Assmann (12):
backports: igb fixes for linux-3.13
backports: igb fixes for linux-3.12
backports: igb fixes for linux-3.9
backports: igb fixes for linux-3.8
backports: igb fixes for linux-3.7
backports: igb fixes for linux-3.6
backports: igb fixes for linux-3.5
backports: igb fixes for linux-3.4
backports: igb fixes for linux-3.3
backports: igb fixes for linux-3.2
backports: igb fixes for linux-3.1
backports: enable igb and add defconfig

 backport/backport-include/linux/ethtool.h          |   79 ++++++++++++++++++++
 backport/backport-include/linux/gfp.h              |   10 +++
 backport/backport-include/linux/if.h               |    8 ++
 backport/backport-include/linux/mdio.h             |   56 ++++++++++++++
 backport/backport-include/linux/pci.h              |   46 +++++++++++
 backport/backport-include/linux/pci_regs.h         |    8 ++
 backport/backport-include/linux/ptp_clock_kernel.h |   38 ++++++++++
 backport/backport-include/linux/skbuff.h           |   74 ++++++++++++++++++
 backport/backport-include/linux/u64_stats_sync.h   |   16 ++++-
 backport/compat/backport-3.10.c                    |   46 +++++++++++
 backport/compat/compat-3.5.c                       |   11 +++
 backport/compat/compat-3.8.c                       |   34 +++++++++
 backport/defconfigs/igb                            |    2 +
 copy-list                                          |    4 +
 .../84-ethernet/0001-igb_net_device_ops.patch      |   56 ++++++++++++++
 .../84-ethernet/0002-igb_pci_sriov_configure.patch |   57 ++++++++++++++
 .../network/84-ethernet/0004-igb_err_handler.patch |   16 ++++
 .../network/84-ethernet/0005-igb_mdi.patch         |   49 ++++++++++++
 .../network/84-ethernet/0006-igb_eee.patch         |   31 ++++++++
 .../network/84-ethernet/0007-igb_ethtool_ops.patch |   56 ++++++++++++++
 .../network/84-ethernet/0008-igb_no_fcs.patch      |   16 ++++
 .../network/84-ethernet/0009-igb_vlan_rx_vid.patch |   64 ++++++++++++++++
 .../network/84-ethernet/0010-igb_ethtool_ops.patch |   48 ++++++++++++
 .../network/84-ethernet/0011-igb_ethtool_ops.patch |   31 ++++++++
 .../84-ethernet/0012-igb_ndo_set_vf_spoofchk.patch |   51 +++++++++++++
 .../network/84-ethernet/0013-igb_hwmon.patch       |   30 ++++++++
 26 files changed, 935 insertions(+), 2 deletions(-)
 create mode 100644 backport/backport-include/linux/gfp.h
 create mode 100644 backport/backport-include/linux/mdio.h
 create mode 100644 backport/backport-include/linux/ptp_clock_kernel.h
 create mode 100644 backport/defconfigs/igb
 create mode 100644 patches/collateral-evolutions/network/84-ethernet/0001-igb_net_device_ops.patch
 create mode 100644 patches/collateral-evolutions/network/84-ethernet/0002-igb_pci_sriov_configure.patch
 create mode 100644 patches/collateral-evolutions/network/84-ethernet/0004-igb_err_handler.patch
 create mode 100644 patches/collateral-evolutions/network/84-ethernet/0005-igb_mdi.patch
 create mode 100644 patches/collateral-evolutions/network/84-ethernet/0006-igb_eee.patch
 create mode 100644 patches/collateral-evolutions/network/84-ethernet/0007-igb_ethtool_ops.patch
 create mode 100644 patches/collateral-evolutions/network/84-ethernet/0008-igb_no_fcs.patch
 create mode 100644 patches/collateral-evolutions/network/84-ethernet/0009-igb_vlan_rx_vid.patch
 create mode 100644 patches/collateral-evolutions/network/84-ethernet/0010-igb_ethtool_ops.patch
 create mode 100644 patches/collateral-evolutions/network/84-ethernet/0011-igb_ethtool_ops.patch
 create mode 100644 patches/collateral-evolutions/network/84-ethernet/0012-igb_ndo_set_vf_spoofchk.patch
 create mode 100644 patches/collateral-evolutions/network/84-ethernet/0013-igb_hwmon.patch