summaryrefslogtreecommitdiffstats
path: root/Documentation/infiniband
diff options
context:
space:
mode:
authorMitko Haralanov2016-02-03 23:32:49 +0100
committerDoug Ledford2016-03-11 02:37:50 +0100
commit566c157cbd2113a18bfc40170de16227357434d7 (patch)
treec716911b2a7ddd605ff84fa7bb160380e61db07a /Documentation/infiniband
parentstaging/rdma/hfi1: Fix for 32-bit counter overflow in driver and hfi1stats (diff)
downloadkernel-qcow2-linux-566c157cbd2113a18bfc40170de16227357434d7.tar.gz
kernel-qcow2-linux-566c157cbd2113a18bfc40170de16227357434d7.tar.xz
kernel-qcow2-linux-566c157cbd2113a18bfc40170de16227357434d7.zip
staging/rdma/hfi1: Correctly set RcvCtxtCtrl register
The RcvCtxtCtrl register was being incorrectly set upon context initialization and clean up resulting, in many cases, of contexts using settings from previous contexts' initialization. This resulted in bad and unexpected behavior. This was especially important for the TailUpd bit, which requires special handling and if set incorrectly could lead to severely degraded performance. This patch fixes the handling of the RcvCtxtCtrl register, ensuring that each context gets initialized with settings applicable only for that context. It also ensures the proper setting for the TailUpd bit by setting it to either 0 or 1 (as needed by the context's configuration) explicitly. Reviewed-by: Ira Weiny <ira.weiny@intel.com> Signed-off-by: Mitko Haralanov <mitko.haralanov@intel.com> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'Documentation/infiniband')
0 files changed, 0 insertions, 0 deletions