From: Alexander Duyck Date: Sat, 5 May 2012 17:14:28 +0000 (+0000) Subject: ixgbe: Merge all FCoE percpu values into a single structure X-Git-Tag: v3.6-rc1~125^2~47^2~4 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5a1ee2704bff078bd58abde38266caa10fbcd714;p=pandora-kernel.git ixgbe: Merge all FCoE percpu values into a single structure This change merges the 2 statistics values for noddp and noddp_ext_buff and the dma_pool into a single structure that can be allocated per CPU. The advantages to this are several fold. First we only need to do one alloc_percpu call now instead of 3, so that means less overhead for handling memory allocation failures. Secondly in the case of ixgbe_fcoe_ddp_setup we only need to call get_cpu once which makes things a bit cleaner since we can drop a put_cpu() from the exception path. Signed-off-by: Alexander Duyck Tested-by: Phil Schmitt Tested-by: Ross Brattain Signed-off-by: Jeff Kirsher --- Reading git-diff-tree failed