diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2018-05-01 15:35:51 +0300 |
---|---|---|
committer | Doug Ledford <dledford@redhat.com> | 2018-05-03 22:24:47 +0300 |
commit | 0a0bcb046b2f0c15b89f8c1b08ad3de601a83c66 (patch) | |
tree | cfcf1960fc9336bb087cab584190814d50e2ddf3 /drivers/sfi | |
parent | 5da9e742be44d9b7c68b1bf6e1aaf46a1aa7a52b (diff) | |
download | linux-0a0bcb046b2f0c15b89f8c1b08ad3de601a83c66.tar.xz |
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/sfi')
0 files changed, 0 insertions, 0 deletions