]> git.baikalelectronics.ru Git - kernel.git/commit
fm10k: Don't assume page fragments are page size
authorAlexander Duyck <alexander.h.duyck@redhat.com>
Tue, 16 Jun 2015 18:47:12 +0000 (11:47 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 16 Sep 2015 00:05:37 +0000 (17:05 -0700)
commit007686b2c278cd126b4e53c536b92f2cfeec717d
tree0691a27f2b6b1ce7bbb9cc63183af110cac3b51f
parent70787b1ada57762b0204b4558dd1bd1b9a4fc54e
fm10k: Don't assume page fragments are page size

This change pulls out the optimization that assumed that all fragments
would be limited to page size.  That hasn't been the case for some time now
and to assume this is incorrect as the TCP allocator can provide up to a
32K page fragment.

Signed-off-by: Alexander Duyck <alexander.h.duyck@redhat.com>
Acked-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Krishneil Singh <krishneil.k.singh@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k_main.c