Netdev List
 help / color / mirror / Atom feed
* [PATCH net 0/2] ionic: fix completion descriptor access
@ 2026-08-11 19:50 Eric Joyner
  2026-08-11 19:50 ` [PATCH net 1/2] ionic: add missing dma_rmb() after the completion publish check Eric Joyner
  2026-08-11 19:50 ` [PATCH net 2/2] ionic: fix completion descriptor access with 2x desc size Eric Joyner
  0 siblings, 2 replies; 3+ messages in thread
From: Eric Joyner @ 2026-08-11 19:50 UTC (permalink / raw)
  To: netdev
  Cc: Brett Creeley, Andrew Lunn, David S. Miller, Eric Dumazet,
	Jakub Kicinski, Paolo Abeni, Prabu Thayalan, Nikhil P. Rao,
	Eric Joyner

The first patch adds the missing dma_rmb() between the completion
publish checks and the reads of the descriptor payloads, suggested by
the Sashiko review from [1] for the second patch.

The second locates the completion within its slot from cq->desc_size
rather than a fixed stride, which is necessary when IONIC_Q_F_2X_CQ_DESC
(double-sized completion descriptors) is used (e.g. for hardware
timestamps).

[1] https://lore.kernel.org/netdev/20260507155928.2537928-1-kuba@kernel.org/

Eric Joyner (1):
  ionic: add missing dma_rmb() after the completion publish check

Prabu Thayalan (1):
  ionic: fix completion descriptor access with 2x desc size

 .../net/ethernet/pensando/ionic/ionic_main.c  |  4 +++
 .../net/ethernet/pensando/ionic/ionic_txrx.c  | 31 +++++++++++--------
 2 files changed, 22 insertions(+), 13 deletions(-)


base-commit: 53658c6f3682967a5e76ed4bc7462c4bdcddaec3
-- 
2.43.0


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2026-08-11 19:51 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-08-11 19:50 [PATCH net 0/2] ionic: fix completion descriptor access Eric Joyner
2026-08-11 19:50 ` [PATCH net 1/2] ionic: add missing dma_rmb() after the completion publish check Eric Joyner
2026-08-11 19:50 ` [PATCH net 2/2] ionic: fix completion descriptor access with 2x desc size Eric Joyner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox