commit | ab28c12a8e6fea875b6757052e211772f62fa771 | [log] [tgz] |
---|---|---|
author | Ben Hutchings <bhutchings@solarflare.com> | Mon Dec 06 22:53:15 2010 +0000 |
committer | Ben Hutchings <bhutchings@solarflare.com> | Mon Dec 06 22:53:42 2010 +0000 |
tree | 69f71631156cd9bc40b7c3ed20547fbe8e7fc458 | |
parent | 289700dbc40c78741f17e2304ed4ac0db3c3afd3 [diff] |
sfc: Reorder struct efx_nic to separate fields by volatility 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>