aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorSebastian Sanchez <sebastian.sanchez@intel.com>2018-02-01 10:46:31 -0800
committerJason Gunthorpe <jgg@mellanox.com>2018-02-01 15:43:29 -0700
commitbdaf96f6500880401fe692cd0bf57afb596b135c (patch)
treeb5117c177ea94b87fc5c531a1b3693bb69485868 /tools/perf/scripts/python/export-to-postgresql.py
parentIB/hfi1: Optimize packet type comparison using 9B and bypass code paths (diff)
downloadlinux-dev-bdaf96f6500880401fe692cd0bf57afb596b135c.tar.xz
linux-dev-bdaf96f6500880401fe692cd0bf57afb596b135c.zip
IB/hfi1: Look up ibport using a pointer in receive path
In the receive path, hfi1_ibport is looked up by indexing into an array. A profile shows this to be expensive. The receive context data has a pointer to the ibport data, use that pointer instead. Reviewed-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Sebastian Sanchez <sebastian.sanchez@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions