ixgbe: move setting of GSO size for 82598 into ixgbe_configure_dcb
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 19 Aug 2010 13:34:04 +0000 (13:34 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 19 Aug 2010 23:40:48 +0000 (16:40 -0700)
commit67ebd79141e2dd503b0bc4898d06d07f07fc2635
treed614407fe8f8fa2a9aa42466abab17bd8065c658
parentd716a7d88549c99f9afbfc1f75dda1c390e2dc3a
ixgbe: move setting of GSO size for 82598 into ixgbe_configure_dcb

We are unnecessarily modifying the GSO size for all HW when we don't need
to.  The code can be simplified by moving the check for DCB and the
adjustment of the GSO size for 82598 into ixgbe_configure_dcb.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ixgbe/ixgbe_main.c