diff options
author | Mike Marciniszyn <mike.marciniszyn@intel.com> | 2019-02-26 17:45:16 +0100 |
---|---|---|
committer | Jason Gunthorpe <jgg@mellanox.com> | 2019-03-04 20:47:23 +0100 |
commit | 38bbc9f0381550d1d227fc57afa08436e36b32fc (patch) | |
tree | bd1a0be1d3e8ea3d672f7fd289e5ba5b5425116e /drivers/regulator/mt6311-regulator.h | |
parent | IB/iser: Fix dma_nents type definition (diff) | |
download | linux-38bbc9f0381550d1d227fc57afa08436e36b32fc.tar.xz linux-38bbc9f0381550d1d227fc57afa08436e36b32fc.zip |
IB/rdmavt: Fix loopback send with invalidate ordering
The IBTA spec notes:
o9-5.2.1: For any HCA which supports SEND with Invalidate, upon receiving
an IETH, the Invalidate operation must not take place until after the
normal transport header validation checks have been successfully
completed.
The rdmavt loopback code does the validation after the invalidate.
Fix by relocating the operation specific logic for all SEND variants until
after the validity checks.
Cc: <stable@vger.kernel.org> #v4.20+
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: Jason Gunthorpe <jgg@mellanox.com>
Diffstat (limited to 'drivers/regulator/mt6311-regulator.h')
0 files changed, 0 insertions, 0 deletions