aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEmil Tantilov <[email protected]>2013-10-29 08:31:49 +0000
committerJeff Kirsher <[email protected]>2013-11-01 12:55:12 +0000
commit76b81748d43f2c60774c2703e3a9390bcc552adb (patch)
treed27dfa6541cb28da2b56ae69ea83256e4c424ecc
parente1000: fix wrong queue idx calculation (diff)
downloadkernel-76b81748d43f2c60774c2703e3a9390bcc552adb.tar.gz
kernel-76b81748d43f2c60774c2703e3a9390bcc552adb.zip
ixgbevf: remove redundant workaround
This patch removes a workaround related to header split, which is redundant because the driver does not support splitting packet headers on Rx. Signed-off-by: Emil Tantilov <[email protected]> Tested-by: Phil Schmitt <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
-rw-r--r--drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
index b16b694951b8..9685354e6b9d 100644
--- a/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
+++ b/drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
@@ -497,15 +497,6 @@ static int ixgbevf_clean_rx_irq(struct ixgbevf_q_vector *q_vector,
total_rx_bytes += skb->len;
total_rx_packets++;
- /*
- * Work around issue of some types of VM to VM loop back
- * packets not getting split correctly
- */
- if (staterr & IXGBE_RXD_STAT_LB) {
- u32 header_fixup_len = skb_headlen(skb);
- if (header_fixup_len < 14)
- skb_push(skb, header_fixup_len);
- }
skb->protocol = eth_type_trans(skb, rx_ring->netdev);
/* Workaround hardware that can't do proper VEPA multicast