]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbe: Update layout of ixgbe_ring structure to improve cache performance
authorAlexander Duyck <alexander.h.duyck@intel.com>
Wed, 8 Feb 2012 07:51:16 +0000 (07:51 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 19 Mar 2012 08:54:36 +0000 (01:54 -0700)
commit4a7a2d861a982d45af6143b95ffdc8e11fe5f97e
treea281e0308cd66eddce36d7958f935059ca1358d6
parente574e911f4ab683271874ebaa300994bfa0c4416
ixgbe: Update layout of ixgbe_ring structure to improve cache performance

This change makes it so that only the 2nd cache line in the ring structure
should see frequent updates.  The advantage to this is that it should
reduce the amount of cross CPU cache bouncing since only the 2nd cache line
will be changing between most network transactions.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Stephen Ko <stephen.s.ko@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe.h