diff options
| author | Alexander Duyck <[email protected]> | 2012-05-05 17:14:28 +0000 |
|---|---|---|
| committer | Jeff Kirsher <[email protected]> | 2012-07-19 18:18:01 -0700 |
| commit | 5a1ee2704bff078bd58abde38266caa10fbcd714 (patch) | |
| tree | d61088d6578df3d61e85c96cfc60174ea66b2814 /net/lapb/lapb_subr.c | |
| parent | 81faddefc7da7410059c036d8a5cea442c929d0a (diff) | |
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 <[email protected]>
Tested-by: Phil Schmitt <[email protected]>
Tested-by: Ross Brattain <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'net/lapb/lapb_subr.c')
0 files changed, 0 insertions, 0 deletions