fm10k: Reduce buffer size when pages are larger than 4K
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 26 Sep 2014 06:33:49 +0000 (06:33 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 2 Oct 2014 06:42:01 +0000 (23:42 -0700)
commitfd333962065ffc99d7c3779da08a2066179694eb
tree96c90f26f8d01af62661dcb6233a20f46574c42e
parentd068b02cfdfc27f5962ec82ec5568b706f599edc
fm10k: Reduce buffer size when pages are larger than 4K

This change reduces the buffer size to 2K for all page sizes.  The basic
idea is that since most frames only have a 1500 MTU supporting a buffer
size larger than this is somewhat wasteful.  As such I have reduced the
size to 2K for all page sizes which will allow for more uses per page.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/fm10k/fm10k.h