summaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/sw/rxe/rxe_verbs.h
diff options
context:
space:
mode:
authorBob Pearson <rpearsonhpe@gmail.com>2022-06-06 09:38:37 -0500
committerJason Gunthorpe <jgg@nvidia.com>2022-06-30 14:00:21 -0300
commitdc1848388137d20e5786b976caa49a26889f36f3 (patch)
treed319b72072ea3323e784c1beec215291dcb62a08 /drivers/infiniband/sw/rxe/rxe_verbs.h
parent8264411595fabf0455ed45badf1be612493db681 (diff)
downloadlinux-dc1848388137d20e5786b976caa49a26889f36f3.tar.gz
linux-dc1848388137d20e5786b976caa49a26889f36f3.tar.bz2
linux-dc1848388137d20e5786b976caa49a26889f36f3.zip
RDMA/rxe: Merge normal and retry atomic flows
Make the execution of the atomic operation in rxe_atomic_reply() conditional on res->replay and make duplicate_request() call into rxe_atomic_reply() to merge the two flows. This is modeled on the behavior of read reply. Delete the skb from the atomic responder resource since it is no longer used. Adjust the reference counting of the qp in send_atomic_ack() for this flow. Fixes: 8700e3e7c485 ("Soft RoCE driver") Link: https://lore.kernel.org/r/20220606143836.3323-6-rpearsonhpe@gmail.com Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_verbs.h')
-rw-r--r--drivers/infiniband/sw/rxe/rxe_verbs.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/infiniband/sw/rxe/rxe_verbs.h b/drivers/infiniband/sw/rxe/rxe_verbs.h
index 5ee0f2599896..0c01c7f58d43 100644
--- a/drivers/infiniband/sw/rxe/rxe_verbs.h
+++ b/drivers/infiniband/sw/rxe/rxe_verbs.h
@@ -155,7 +155,6 @@ struct resp_res {
union {
struct {
- struct sk_buff *skb;
u64 orig_val;
} atomic;
struct {