mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH net v1 0/2] avoid compiler and IQ/OQ reordering
@ 2025-12-19  7:29 Vimlesh Kumar
  2025-12-19  7:29 ` [PATCH net v1 1/2] octeon_ep: " Vimlesh Kumar
  2025-12-19  7:29 ` [PATCH net v1 2/2] octeon_ep_vf: " Vimlesh Kumar
  0 siblings, 2 replies; 8+ messages in thread
From: Vimlesh Kumar @ 2025-12-19  7:29 UTC (permalink / raw)
  To: netdev, linux-kernel; +Cc: sedara, srasheed, hgani, Vimlesh Kumar

Utilize READ_ONCE and WRITE_ONCE APIs to prevent compiler
optimization and reordering. Ensure IO queue OUT/IN_CNT
registers are flushed. Relocate IQ/OQ IN/OUT_CNTS updates
to occur before NAPI completion, and replace napi_complete
with napi_complete_done.

Vimlesh Kumar (2):
  octeon_ep: avoid compiler and IQ/OQ reordering
  octeon_ep_vf: avoid compiler and IQ/OQ reordering

 .../ethernet/marvell/octeon_ep/octep_main.c   | 40 +++++++++++++------
 .../net/ethernet/marvell/octeon_ep/octep_rx.c | 27 +++++++++----
 .../marvell/octeon_ep_vf/octep_vf_main.c      | 38 +++++++++++++-----
 .../marvell/octeon_ep_vf/octep_vf_rx.c        | 28 +++++++++----
 4 files changed, 95 insertions(+), 38 deletions(-)

-- 
2.47.0


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

end of thread, other threads:[~2026-01-30 13:12 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-12-19  7:29 [PATCH net v1 0/2] avoid compiler and IQ/OQ reordering Vimlesh Kumar
2025-12-19  7:29 ` [PATCH net v1 1/2] octeon_ep: " Vimlesh Kumar
2025-12-29 16:15   ` Paolo Abeni
2026-01-09 14:25     ` [EXTERNAL] " Vimlesh Kumar
2026-01-30 12:58       ` Vimlesh Kumar
2025-12-19  7:29 ` [PATCH net v1 2/2] octeon_ep_vf: " Vimlesh Kumar
2025-12-29 16:18   ` Paolo Abeni
2026-01-09 14:28     ` [EXTERNAL] " Vimlesh Kumar

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

all inboxes | Powered by JetHome®