igb: Add workaround for byte swapped VLAN on i350 local traffic
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 26 Aug 2011 07:47:11 +0000 (07:47 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 13 Oct 2011 05:46:40 +0000 (22:46 -0700)
commit8be10e9130a75c49ddcffdfca74b19b1c3169230
treeac49a3aad46de7dd4c424751cbe5eb0782047853
parent9ab64ba3c74540cfb8716232834df486bcc6120d
igb: Add workaround for byte swapped VLAN on i350 local traffic

On i350 when traffic is looped back from a VF to the PF the value is byte
swapped from the normal format.  In order to address this we need to add a
flag indicating that the ring will need to byte swap the loopback packets
prior to processing them.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/e1000_defines.h
drivers/net/ethernet/intel/igb/igb.h
drivers/net/ethernet/intel/igb/igb_main.c