]> git.proxmox.com Git - mirror_ubuntu-hirsute-kernel.git/commit
ixgbe: move flags and state into the same cacheline
authorAlexander Duyck <alexander.h.duyck@intel.com>
Fri, 22 Apr 2011 04:07:43 +0000 (04:07 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 15 May 2011 00:59:20 +0000 (17:59 -0700)
commite606bfe74de63d6c3778c145ee0673d96ab257c9
tree86a5ac602ad08c4fa80d4c630d9835c1dc5c6af2
parent51275d37a85bc82bda7e5b179ee520e85e66e782
ixgbe: move flags and state into the same cacheline

This change moves flags and state into the same cacheline.  The reason for
this change is because both are frequently read around the same time and
infrequently written.  By combining them into the same cacheline this
should help to reduce memory utilization.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Tested-by: Evan Swanson <evan.swanson@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ixgbe/ixgbe.h