Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
efa: Use the correct barrier between BAR writes on post send flow
[ Upstream commit 45be555 ] The TX Low Latency Queue (LLQ) is stored on the device's BAR, hence mmio_flush_writes should be used instead of udma_to_device_barrier before ringing the doorbell. mmio_wc_spinlock is used when acquiring the lock in order to guarantee that prior mmio writes are ordered with regard to the WC memory writes inside the lock. However, mmio_wc_spinunlock isn't used as the doorbell write must be done while holding the spinlock. Fixes: f7f275f ("efa: Elastic Fabric Adapter (EFA) userspace RDMA provider") Fixes: f189a2a ("efa: Support send using extended QP API") Signed-off-by: Gal Pressman <galpress@amazon.com> Signed-off-by: Nicolas Morey-Chaisemartin <nmoreychaisemartin@suse.com>
- Loading branch information