ixgbe: Drop check for PAGE_SIZE from ixgbe_xmit_frame_ring
authorAlexander Duyck <alexander.h.duyck@intel.com>
Sat, 9 Feb 2013 01:19:55 +0000 (01:19 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 18 Apr 2013 04:31:09 +0000 (21:31 -0700)
commit7f66162b6272a31c5b3966869b5d4c2c58d8077a
tree610c8a2ac6242c3c1db6440edbd01b4a9e0d6fdc
parentd01115752f5e37b2c79280d60c0e8e19267a0cc9
ixgbe: Drop check for PAGE_SIZE from ixgbe_xmit_frame_ring

The check for PAGE_SIZE is pointless now that the default configuration is to
allocate 32K for all buffers.  Since the Tx descriptor limit is 16K we can
just drop the check and always compare the descriptors to the maximum size
supported.

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