summaryrefslogtreecommitdiffstats
path: root/drivers/staging/rdma/hfi1/chip.c
diff options
context:
space:
mode:
authorMike Marciniszyn2015-10-26 15:28:27 +0100
committerGreg Kroah-Hartman2015-10-27 09:16:54 +0100
commit13a69f5299688074666e1f74b90ddc6beae43e6d (patch)
treec1ff099fe6ee9a7aba52be048c92a803672ce7b9 /drivers/staging/rdma/hfi1/chip.c
parentstaging: hfi1: sdma: Use setup_timer (diff)
downloadkernel-qcow2-linux-13a69f5299688074666e1f74b90ddc6beae43e6d.tar.gz
kernel-qcow2-linux-13a69f5299688074666e1f74b90ddc6beae43e6d.tar.xz
kernel-qcow2-linux-13a69f5299688074666e1f74b90ddc6beae43e6d.zip
staging/rdma/hfi1: Fix regression in send performance
The clear_ahg call is new in hfi1 vs qib. For small messages the progress routine always builds one and clears out the ahg state when the queue has gone to empty which is the predominant case for small messages. Inline the routine and avoid the call to sdma_ahg_free to mitigate the performance impact. Finally, move the routine to qp.h for scope reasons. Reviewed-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/rdma/hfi1/chip.c')
0 files changed, 0 insertions, 0 deletions