aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/tools/testing/ktest/examples/include/ssh:/git@git.zx2c4.com
diff options
context:
space:
mode:
authorJijie Shao <shaojijie@huawei.com>2026-05-25 22:45:25 +0800
committerPaolo Abeni <pabeni@redhat.com>2026-05-28 12:59:36 +0200
commitb545b6ea1802b32436fa97f1d2918718212cc831 (patch)
tree00bf4fd33507a8ec871b68663500c0218495f8e1 /tools/testing/ktest/examples/include/ssh:/git@git.zx2c4.com
parentnet: hibmcge: disable Relaxed Ordering to fix RX packet corruption (diff)
net: hibmcge: move dma_rmb() after dma_sync_single_for_cpu() in RX path
The dma_rmb() barrier was placed before dma_sync_single_for_cpu(), which is incorrect. DMA sync must complete first to make the buffer accessible to the CPU, then the rmb barrier ensures subsequent descriptor reads observe the latest data written by the hardware. Reorder the operations so dma_sync_single_for_cpu() is called before dma_rmb() to guarantee the driver reads consistent data from the DMA buffer. Fixes: f72e25594061 ("net: hibmcge: Implement rx_poll function to receive packets") Signed-off-by: Jijie Shao <shaojijie@huawei.com> Link: https://patch.msgid.link/20260525144525.94884-3-shaojijie@huawei.com Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'tools/testing/ktest/examples/include/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions