igb: Break out Rx buffer page management
authorAlexander Duyck <alexander.h.duyck@intel.com>
Tue, 7 Feb 2017 02:27:26 +0000 (18:27 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 17 Mar 2017 19:11:44 +0000 (12:11 -0700)
commite014272672b964471608a2624e4cdf1d5e7c22ea
treed636d83c4f5743fc62bf39b7d798db91792817cc
parente3cdf68d4a861d91ef62ed615483e673f07fccfe
igb: Break out Rx buffer page management

At this point we have 2 to 3 paths that can be taken depending on what Rx
modes are enabled.  In order to better support that and improve the
maintainability I am breaking out the common bits from those paths and
making them into their own functions.

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/igb/igb_main.c