linux_old1/drivers/infiniband
Sebastian Sanchez b888429c20 IB/hfi1: Remove atomic SDMA_REQ_SEND_DONE bit operation
The atomic SDMA_REQ_SEND_DONE bit is set by the
process-level code, and then the same process-level
code uses the bit to test that all packets have been
submitted incurring a costly atomic read.

Use a bool type with a READ_ONCE/WRITE_ONCE
pairing for this bit, and use the same condition that
is used to set the bit to test that all packets have
been submitted.

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: Doug Ledford <dledford@redhat.com>
2017-06-27 16:58:12 -04:00
..
core IB/addr: Fix setting source address in addr6_resolve() 2017-06-07 14:34:19 -04:00
hw IB/hfi1: Remove atomic SDMA_REQ_SEND_DONE bit operation 2017-06-27 16:58:12 -04:00
sw IB/core,rdmavt,hfi1,opa-vnic: Send OPA cap_mask3 in trap 2017-06-27 16:58:12 -04:00
ulp IB/core,rdmavt,hfi1,opa-vnic: Send OPA cap_mask3 in trap 2017-06-27 16:58:12 -04:00
Kconfig IB/opa-vnic: Virtual Network Interface Controller (VNIC) netdev 2017-04-20 12:01:38 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00