From df46e801164a5998693a9fa8224ddc24c450b4ed Mon Sep 17 00:00:00 2001 From: Avinash Kethineedi Date: Mon, 29 Sep 2025 12:39:35 -0400 Subject: [PATCH] feat: add atomic CAS support for bnxt NICs (#267) --- src/gda/bnxt/queue_pair_bnxt.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gda/bnxt/queue_pair_bnxt.cpp b/src/gda/bnxt/queue_pair_bnxt.cpp index 67690e5213..47ca08f7b7 100644 --- a/src/gda/bnxt/queue_pair_bnxt.cpp +++ b/src/gda/bnxt/queue_pair_bnxt.cpp @@ -377,6 +377,7 @@ __device__ uint64_t QueuePair::bnxt_post_wqe_amo(int pe, int32_t length, uintptr /* Populate AMO Segment */ amo.swp_dt = atomic_data; + amo.cmp_dt = atomic_cmp; /* Populate SG Segment - (Return address of atomic) */ if (fetching) {