linux/drivers/infiniband
Mike Marciniszyn 0a0bcb046b 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>
2018-05-03 15:24:47 -04:00
..
core IB/core: Make ib_mad_client_id atomic 2018-04-30 13:07:28 -04:00
hw IB/hfi1: Fix loss of BECN with AHG 2018-05-03 15:24:47 -04:00
sw IB/rxe: avoid double kfree_skb 2018-04-27 14:20:47 -04:00
ulp IB/ipoib: fix ipoib_start_xmit()'s return type 2018-04-27 14:07:30 -04:00
Kconfig IB: make INFINIBAND_ADDR_TRANS configurable 2018-04-27 11:15:44 -04:00
Makefile IB/rdmavt: Create module framework and handle driver registration 2016-03-10 20:37:04 -05:00