diff options
Diffstat (limited to 'patches')
-rw-r--r-- | patches/collateral-evolutions/network/0048-no_ndo_xmit_flush/igb.patch | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/patches/collateral-evolutions/network/0048-no_ndo_xmit_flush/igb.patch b/patches/collateral-evolutions/network/0048-no_ndo_xmit_flush/igb.patch new file mode 100644 index 00000000..f3ed217c --- /dev/null +++ b/patches/collateral-evolutions/network/0048-no_ndo_xmit_flush/igb.patch @@ -0,0 +1,14 @@ +--- a/drivers/net/ethernet/intel/igb/igb_main.c ++++ b/drivers/net/ethernet/intel/igb/igb_main.c +@@ -4982,7 +4982,10 @@ static void igb_tx_map(struct igb_ring * + /* Make sure there is space in the ring for the next send. */ + igb_maybe_stop_tx(tx_ring, DESC_NEEDED); + +- if (netif_xmit_stopped(txring_txq(tx_ring)) || !skb->xmit_more) { ++#if LINUX_VERSION_CODE >= KERNEL_VERSION(3,18,0) ++ if (netif_xmit_stopped(txring_txq(tx_ring)) || !skb->xmit_more) ++#endif ++ { + writel(i, tx_ring->tail); + + /* we need this if more than one processor can write to our tail |