diff options
author | 2011-09-23 13:16:39 -0400 | |
---|---|---|
committer | 2011-10-21 09:38:52 -0700 | |
commit | 9e1c0e43257b6df1ef012dd37c3f0f93b1ee47af (patch) | |
tree | be40833860d385491b1ac8fa13dffe414954ee76 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | IB/qib: Decode path MTU optimization (diff) | |
download | linux-dev-9e1c0e43257b6df1ef012dd37c3f0f93b1ee47af.tar.xz linux-dev-9e1c0e43257b6df1ef012dd37c3f0f93b1ee47af.zip |
IB/qib: Eliminate divide/mod in converting idx to egr buf pointer
The context init now saves a shift from rcvegrbufs_perchunk
rcvegrbufs_perchunk_shift using ilog2. A BUG_ON() protects the
power of 2 assumption.
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@qlogic.com>
Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions