commit | 1d368790bc2d4111feae6fcc0b3b68d6ae92ff0f | [log] [tgz] |
---|---|---|
author | Sunil Goutham <sgoutham@cavium.com> | Mon Mar 14 16:36:15 2016 +0530 |
committer | David S. Miller <davem@davemloft.net> | Mon Mar 14 12:33:36 2016 -0400 |
tree | 62bc6d4af15358695714f7eefc4e5ee3ea1f52f8 | |
parent | 5c2e26f6f674ee93719769d024cc72fad3ba9134 [diff] |
net: thunderx: Adjust nicvf structure to reduce cache misses Adjusted nicvf structure such that all elements used in hot path like napi, xmit e.t.c fall into same cache line. This reduced no of cache misses and resulted in ~2% increase in no of packets handled on a core. Also modified elements with :1 notation to boolean, to be consistent with other element definitions. Signed-off-by: Sunil Goutham <sgoutham@cavium.com> Signed-off-by: David S. Miller <davem@davemloft.net>