linux/drivers/infiniband/sw/rdmavt
Mike Marciniszyn 4028bccb00 IB/rdmavt: Validate remote_addr during loopback atomic tests
The rdma-core test suite sends an unaligned remote address and expects a
failure.

ERROR: test_atomic_non_aligned_addr (tests.test_atomic.AtomicTest)

The qib/hfi1 rc handling validates properly, but the test has the client
and server on the same system.

The loopback of these operations is a distinct code path.

Fix by syntaxing the proposed remote address in the loopback code path.

Fixes: 1570346153 ("IB/{hfi1, qib, rdmavt}: Move ruc_loopback to rdmavt")
Link: https://lore.kernel.org/r/1642584489-141005-1-git-send-email-mike.marciniszyn@cornelisnetworks.com
Reviewed-by: Dennis Dalessandro <dennis.dalessandro@cornelisnetworks.com>
Signed-off-by: Mike Marciniszyn <mike.marciniszyn@cornelisnetworks.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2022-01-28 12:48:15 -04:00
..
ah.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
ah.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
cq.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
cq.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
Kconfig RDMA/core: remove use of dma_virt_ops 2020-11-17 15:22:07 -04:00
mad.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
mad.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mcast.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
mcast.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
mmap.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
mmap.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
mr.c Merge branch 'sg_nents' into rdma.git for-next 2021-08-30 09:49:59 -03:00
mr.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
pd.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
pd.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
qp.c IB/rdmavt: Validate remote_addr during loopback atomic tests 2022-01-28 12:48:15 -04:00
qp.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
rc.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
srq.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
srq.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
trace_cq.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
trace_mr.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
trace_qp.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
trace_rc.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
trace_rvt.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
trace_tx.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
trace.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
trace.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
vt.c IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00
vt.h IB/rdmavt: Convert to SPDX identifier 2021-08-25 14:55:49 -03:00