]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit6e2ed1f6ec6139c9c94f1b6973fec0f468ce3aee
tree610c8a2ac6242c3c1db6440edbd01b4a9e0d6fdc
parentfbb7b7b47597c6b1dbb04b34c68b307d269b7873
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