diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2013-10-29 04:31:49 -0400 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2013-11-01 08:55:12 -0400 |
commit | 76b81748d43f2c60774c2703e3a9390bcc552adb (patch) | |
tree | d27dfa6541cb28da2b56ae69ea83256e4c424ecc /drivers | |
parent | 49a45a0686cc2b43bcb3834a68416a201475dc77 (diff) |
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 <emil.s.tantilov@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 9 |
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, | |||
497 | total_rx_bytes += skb->len; | 497 | total_rx_bytes += skb->len; |
498 | total_rx_packets++; | 498 | total_rx_packets++; |
499 | 499 | ||
500 | /* | ||
501 | * Work around issue of some types of VM to VM loop back | ||
502 | * packets not getting split correctly | ||
503 | */ | ||
504 | if (staterr & IXGBE_RXD_STAT_LB) { | ||
505 | u32 header_fixup_len = skb_headlen(skb); | ||
506 | if (header_fixup_len < 14) | ||
507 | skb_push(skb, header_fixup_len); | ||
508 | } | ||
509 | skb->protocol = eth_type_trans(skb, rx_ring->netdev); | 500 | skb->protocol = eth_type_trans(skb, rx_ring->netdev); |
510 | 501 | ||
511 | /* Workaround hardware that can't do proper VEPA multicast | 502 | /* Workaround hardware that can't do proper VEPA multicast |