Skip to content

avoid compiler and IQ/OQ reordering

Vimlesh Kumar lkml netdev 3 versions – Applied

Status from this message: This series was applied to netdev/net.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest4 patches 0 repliesApplied 4/4
  2. v1 posting 2/22 patches 2 repliesSuperseded
  3. v1 posting 1/22 patches 5 repliesSuperseded

Patches in v2 All 4 applied

#Subject and filesSizeRepliesApplied
1/4octeon_ep: Relocate counter updates before NAPIdrivers/net/ethernet/marvell/octeon_ep/octep_main.c+15 -40 repliesApplied
2/4octeon_ep: avoid compiler and IQ/OQ reorderingdrivers/net/ethernet/marvell/octeon_ep/octep_main.c drivers/net/ethernet/marvell/octeon_ep/octep_rx.c+32 -160 repliesApplied
3/4octeon_ep_vf: Relocate counter updates before NAPIdrivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c+15 -20 repliesApplied
4/4octeon_ep_vf: avoid compiler and IQ/OQ reorderingdrivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_main.c drivers/net/ethernet/marvell/octeon_ep_vf/octep_vf_rx.c+33 -160 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH net v2 0/4] avoid compiler and IQ/OQ reordering

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 (4):
octeon_ep: Relocate counter updates before NAPI
octeon_ep: avoid compiler and IQ/OQ reordering
octeon_ep_vf: Relocate counter updates before NAPI
octeon_ep_vf: avoid compiler and IQ/OQ reordering

V1: https://lore.kernel.org/all/[email protected]/

 .../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(-)
Signature · 1 line
2.47.3