aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/hfi1/ruc.c
diff options
context:
space:
mode:
authorMike Marciniszyn <mike.marciniszyn@intel.com>2016-07-25 13:39:39 -0700
committerDoug Ledford <dledford@redhat.com>2016-08-02 16:00:58 -0400
commit856cc4c237add46510c8ae91764f4eda31a9e1cf (patch)
tree346dbab7f942e9afd36b7c1b2bb25451d3106e36 /drivers/infiniband/hw/hfi1/ruc.c
parentIB/hfi1: Fix trace message units (diff)
downloadlinux-dev-856cc4c237add46510c8ae91764f4eda31a9e1cf.tar.xz
linux-dev-856cc4c237add46510c8ae91764f4eda31a9e1cf.zip
IB/hfi1: Add the capability for reserved operations
This fix allows for support of in-kernel reserved operations without impacting the ULP user. The low level driver can register a non-zero value which will be transparently added to the send queue size and hidden from the ULP in every respect. ULP post sends will never see a full queue due to a reserved post send and reserved operations will never exceed that registered value. The s_avail will continue to track the ULP swqe availability and the difference between the reserved value and the reserved in use will track reserved availabity. Reviewed-by: Ashutosh Dixit <ashutosh.dixit@intel.com> Signed-off-by: Mike Marciniszyn <mike.marciniszyn@intel.com> Signed-off-by: Dennis Dalessandro <dennis.dalessandro@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'drivers/infiniband/hw/hfi1/ruc.c')
0 files changed, 0 insertions, 0 deletions