Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save fermayo/7c0f059d8c0be1d2da7a to your computer and use it in GitHub Desktop.
Save fermayo/7c0f059d8c0be1d2da7a to your computer and use it in GitHub Desktop.

Revisions

  1. fermayo revised this gist Jul 27, 2015. 1 changed file with 0 additions and 1 deletion.
    1 change: 0 additions & 1 deletion patch-ubuntu_14.04.1-ixgbevf-2.16.1-kcompat.h.patch
    Original file line number Diff line number Diff line change
    @@ -20,4 +20,3 @@
    #else
    #define HAVE_PTP_1588_CLOCK_PINS
    #define HAVE_NETDEV_PORT

  2. @defila-aws defila-aws revised this gist Jun 5, 2015. 1 changed file with 2 additions and 1 deletion.
    3 changes: 2 additions & 1 deletion patch-ubuntu_14.04.1-ixgbevf-2.16.1-kcompat.h.patch
    Original file line number Diff line number Diff line change
    @@ -19,4 +19,5 @@
    +#define u64_stats_fetch_retry_irq(a, b) (0)
    #else
    #define HAVE_PTP_1588_CLOCK_PINS
    #define HAVE_NETDEV_PORT
    #define HAVE_NETDEV_PORT

  3. @defila-aws defila-aws created this gist Feb 3, 2015.
    22 changes: 22 additions & 0 deletions patch-ubuntu_14.04.1-ixgbevf-2.16.1-kcompat.h.patch
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,22 @@
    --- /usr/src/ixgbevf-2.16.1/src/kcompat.h.orig 2015-02-03 18:34:22.901474028 +0000
    +++ /usr/src/ixgbevf-2.16.1/src/kcompat.h 2015-02-03 18:35:32.577440102 +0000
    @@ -3219,8 +3219,6 @@
    #define u64_stats_update_begin(a) do { } while(0)
    #define u64_stats_update_end(a) do { } while(0)
    #define u64_stats_fetch_begin(a) do { } while(0)
    -#define u64_stats_fetch_retry_bh(a) (0)
    -#define u64_stats_fetch_begin_bh(a) (0)

    #if (RHEL_RELEASE_CODE && RHEL_RELEASE_CODE >= RHEL_RELEASE_VERSION(6,1))
    #define HAVE_8021P_SUPPORT
    @@ -4174,8 +4172,8 @@

    /*****************************************************************************/
    #if ( LINUX_VERSION_CODE < KERNEL_VERSION(3,15,0) )
    -#define u64_stats_fetch_begin_irq u64_stats_fetch_begin_bh
    -#define u64_stats_fetch_retry_irq u64_stats_fetch_retry_bh
    +#define u64_stats_fetch_begin_irq(a) (0)
    +#define u64_stats_fetch_retry_irq(a, b) (0)
    #else
    #define HAVE_PTP_1588_CLOCK_PINS
    #define HAVE_NETDEV_PORT