sfc: Reorder struct efx_nic to separate fields by volatility
authorBen Hutchings <bhutchings@solarflare.com>
Mon, 6 Dec 2010 22:53:15 +0000 (22:53 +0000)
committerBen Hutchings <bhutchings@solarflare.com>
Mon, 6 Dec 2010 22:53:42 +0000 (22:53 +0000)
Place the regularly updated fields (locks, MAC stats, etc.) on a
separate cache-line from fields which are mostly constant.  This
should reduce cache misses for access to the latter on the data path.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>

No differences found