]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Enable jumbo frames support w/ SR-IOV
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 15 Aug 2012 02:10:43 +0000 (02:10 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 19 Oct 2012 11:04:14 +0000 (04:04 -0700)
commitd2fc8c2f6b43851d158be6c1fec0514f50fc22ae
tree1b6dc522554953d8431952087c073c6cb712dd00
parenta4496b40f502380d4b7a438a49881d3bf8944a7d
ixgbe: Enable jumbo frames support w/ SR-IOV

This change makes it so that we can have limited support for jumbo frames
when SR-IOV is enabled.  In order to accomplish this it is necessary to
disable all VFs when the PF has jumbo frames enabled.  If the VFs then
request the same maximum frame size as the PF they will be re-enabled.  A
follow on patch will add a means of identifying when a VF can support
spanning buffers and does not need to be worried about the actual supported
max frame size.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Ross Brattain <ross.b.brattain@intel.com>
Tested-by: Robert Garrett <robertx.e.garrett@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_fcoe.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c