diff options
author | Sebastian Sanchez <sebastian.sanchez@intel.com> | 2018-02-01 10:46:31 -0800 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2018-02-01 15:43:29 -0700 |
commit | bdaf96f6500880401fe692cd0bf57afb596b135c (patch) | |
tree | b5117c177ea94b87fc5c531a1b3693bb69485868 /include/rdma | |
parent | 6d6b8848c882b22e3170cc9f217101773e8bd8d2 (diff) | |
download | linux-bdaf96f6500880401fe692cd0bf57afb596b135c.tar.gz linux-bdaf96f6500880401fe692cd0bf57afb596b135c.tar.bz2 linux-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 'include/rdma')
0 files changed, 0 insertions, 0 deletions