]> www.infradead.org Git - users/jedix/linux-maple.git/commit
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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 12:58:51 +0000 (20:58 +0800)
commit77ca4ccb16afae3c9239520d9e8978b1194b0dab
treeaaecbf61723e418057b56acd8b42af418d542679
parent26e068537ff5c5bb29d55ec90a9aec34137ed9c2
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.

(cherry picked from commit 8be10e9130a75c49ddcffdfca74b19b1c3169230)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/igb/e1000_defines.h
drivers/net/igb/igb.h
drivers/net/igb/igb_main.c