]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe/ixgbevf: Limit maximum jumbo frame size to 9.5K to avoid Tx hangs
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 22 Aug 2012 02:04:37 +0000 (02:04 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Tue, 9 Oct 2012 09:53:53 +0000 (02:53 -0700)
commitd53e5a93982a3ac73183fa6fa657e8dca82019a6
tree4be03c8274de05bad7d50481fb229987ca8ba0d0
parent98a831dd71df8c2601f00041e958d3a8ed673407
ixgbe/ixgbevf: Limit maximum jumbo frame size to 9.5K to avoid Tx hangs

This change limits the PF/VF driver to 9.5K max jumbo frame size in order
prevent a possible Tx hang in the adapter when sending frames between
pools.

All of the parts in ixgbe support a maximum frame of 15.5K for standard
traffic, however with SR-IOV or DCB enabled they should be limiting the
MTU size to 9.5K.  Instead of adding extra checks which would have to
change the MTU when we go into or out of these modes it is preferred to
just use a standard 9.5K MTU limit for all modes so that this extra
overhead can be avoided.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Phil Schmitt <phillip.j.schmitt@intel.com>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h
drivers/net/ethernet/intel/ixgbevf/ixgbevf.h