]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Do not pad FCoE frames as this can cause issues with FCoE DDP
authorAlexander Duyck <alexander.h.duyck@intel.com>
Mon, 25 Jun 2012 21:54:46 +0000 (21:54 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 26 Jun 2012 23:44:34 +0000 (16:44 -0700)
commit6bdb52a31a5d35b5ca03e413423fa37c9f690e70
treeae668ec3ef9cd5590416d38fee4341bce8ed39a3
parent27cd76e40b77b51586e894ba5452bf1779a1e1ed
ixgbe: Do not pad FCoE frames as this can cause issues with FCoE DDP

FCoE target mode was experiencing issues due to the fact that we were
sending up data frames that were padded to 60 bytes after the DDP logic had
already stripped the frame down to 52 or 56 depending on the use of VLANs.
This was resulting in the FCoE DDP logic having issues since it thought the
frame still had data in it due to the padding.

To resolve this, adding code so that we do not pad FCoE frames prior to
handling them to the stack.

CC: <stable@vger.kernel.org>
Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbe/ixgbe_lib.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c