diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2018-05-01 14:35:51 +0200 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-05-03 21:24:47 +0200 |
commit | 0a0bcb046b2f0c15b89f8c1b08ad3de601a83c66 (patch) | |
tree | cfcf1960fc9336bb087cab584190814d50e2ddf3 /drivers/idle | |
parent | IB/hfi1 Use correct type for num_user_context (diff) | |
download | linux-0a0bcb046b2f0c15b89f8c1b08ad3de601a83c66.tar.xz linux-0a0bcb046b2f0c15b89f8c1b08ad3de601a83c66.zip |
IB/hfi1: Fix loss of BECN with AHG
AHG may be armed to use the stored header, which by design is limited
to edits in the PSN/A 32 bit word (bth2).
When the code is trying to send a BECN, the use of the stored header
will lose the BECN bit.
Fix by avoiding AHG when getting ready to send a BECN. This is
accomplished by always claiming the packet is not a middle packet which
is an AHG precursor. BECNs are not a normal case and this should not
hurt AHG optimizations.
Cc: <stable@vger.kernel.org> # 4.14.x
Reviewed-by: Michael J. Ruhl <michael.j.ruhl@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/idle')
0 files changed, 0 insertions, 0 deletions