]> www.infradead.org Git - users/jedix/linux-maple.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)
committerJoe Jin <joe.jin@oracle.com>
Thu, 17 May 2012 14:05:52 +0000 (22:05 +0800)
commita765f914cc9d9b0e74c258475e42086da4a09b12
tree0c9168782246aa12e146114111736ad98c59f0fb
parent696b7b2c28e1acb41d4e6a0e0d1c047a3617bb5b
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%.

(cherry picked from commit 919e78a6b890bdcce8ca0fa699bd361c6f24dc94)
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>
Signed-off-by: Joe Jin <joe.jin@oracle.com>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_ethtool.c
drivers/net/ixgbe/ixgbe_main.c