aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
author[email protected] <[email protected]>2016-02-23 00:33:48 +0530
committerDavid S. Miller <[email protected]>2016-02-24 15:25:19 -0500
commitb0fd2eb28bd47e0c906e31dbaccaf17883e238ff (patch)
treee3726de0de2bb2527104965bb4928c3607bff823 /tools/perf/scripts/python/bin
parentd3ffa7acfbcaa315eac0bda608db2f4c5aa8fe06 (diff)
be2net: Declare some u16 fields as u32 to improve performance
When 16-bit integers are loaded on CPUs with high order native register sizes, the CPU could use some extra ops before using them. And currently some of the frequently used fields in the driver like the producer and consumer indices of the queues are declared as u16. This patch declares such fields as u32. With this change we see the 64-byte packets per second numbers improve by about 4%. Signed-off-by: Ajit Khaparde <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions