summaryrefslogtreecommitdiffstats
path: root/include/rdma
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 /include/rdma
parent6d6b8848c882b22e3170cc9f217101773e8bd8d2 (diff)
downloadlinux-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