diff options
author | Mitko Haralanov <mitko.haralanov@intel.com> | 2016-02-04 01:32:49 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2016-03-11 04:37:50 +0300 |
commit | 566c157cbd2113a18bfc40170de16227357434d7 (patch) | |
tree | c716911b2a7ddd605ff84fa7bb160380e61db07a /Documentation/infiniband | |
parent | 11d2b114cdebd9b520de573d74c70fb04c2771cc (diff) | |
download | linux-566c157cbd2113a18bfc40170de16227357434d7.tar.xz |
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