[Bugfix] GDA/bnxt: release SQ lock before return (#372)

* bnxt_post_wqe_amo_single with fetching = true would return
  before releasing the send queue lock, resulting in a deadlock.
* Release the send queue lock before returning from the function.
This commit is contained in:
Omri Mor
2025-12-22 12:05:00 -08:00
zatwierdzone przez GitHub
rodzic 80a710ac0a
commit 016e08120a
+2 -2
Wyświetl plik
@@ -434,13 +434,13 @@ __device__ uint64_t QueuePair::bnxt_post_wqe_amo_single(uintptr_t raddr, uint8_t
bnxt_ring_doorbell(sq.tail);
release_lock(&sq.lock);
if (fetching) {
quiet();
return fetching_atomic[atomic_idx];
}
release_lock(&sq.lock);
return 0;
}