]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Make better use of memory allocations in one-buffer mode w/ RSC
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 26 Aug 2011 09:52:38 +0000 (09:52 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sat, 17 Sep 2011 02:00:11 +0000 (19:00 -0700)
commit7b139da5dc0cb6f9a874acb5bd9c8dcc2feca1c5
tree8ec96b23d737bf36329b855a0f933840eed60aac
parenta461d0e17ecc55b7725b4683f3a38ac6ceab47bf
ixgbe: Make better use of memory allocations in one-buffer mode w/ RSC

This patch improves the memory utilization with RSC when in one-buffer
mode.  This is accomplished by making the default buffer sizes match up
with the standard memory allocation sizes minus 1K for shared info and
padding overhead.  By doing this CPU utilization when doing large receives
can be reduced by as much as 8%.

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.h
drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c
drivers/net/ethernet/intel/ixgbe/ixgbe_main.c