Skip to content

octeontx2: Misc fixes for RVU drivers

Subrat Pandey lkml netdev 7 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. v7 Latest2 patches 1 replyApplied 2/2
  2. v62 patches 5 repliesSuperseded
  3. v52 patches 0 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v42 patches2 repliesSuperseded
v32 patches2 repliesSuperseded
v22 patches5 repliesSuperseded
v13 patches2 repliesSuperseded

Changes in v7 from the cover letter

- v6: https://lore.kernel.org/all/[email protected]/
- patch 1: NULL check for queue_to_pfc_map in otx2_get_bpid_idx().
- patch 2: Reword commit message.

Patches in v7 All 2 applied

#Subject and filesSizeRepliesApplied
1/2octeontx2-pf: Fix aura BPID assignment when CONFIG_DCB is enableddrivers/net/ethernet/marvell/octeontx2/nic/cn20k.c drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h+16 -200 repliesApplied
2/2octeontx2-af: mcs: Fix SC resource cleanup loopdrivers/net/ethernet/marvell/octeontx2/af/mcs.c+2 -20 repliesApplied

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.

PatchSimon Horman
SeriesR-b
1/2
2/2

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v7 thread

Cover letter [PATCH net v7 0/2] octeontx2: Misc fixes for RVU drivers

A few independent fixes for the Marvell OcteonTX2 (RVU AF/PF) drivers:

- Fix aura/CQ BPID assignment under CONFIG_DCB, which assumed queue_to_pfc_map was always allocated (not true for SDP VFs).
- Fix the SC resource cleanup loop that iterated over secy.max instead of sc.max.

Changes in v7:
- v6: https://lore.kernel.org/all/[email protected]/
- patch 1: NULL check for queue_to_pfc_map in otx2_get_bpid_idx().
- patch 2: Reword commit message.

Changes in v6:
- None. Rebased onto latest net tree.

Changes in v5:
- patch 1: Fixing the compilation issue when CONFIG_DCB is disabled.

Changes in v4:
- patch 1: Add 'inline' qualifier to otx2_get_bpid_idx() helper defined in the header.
- patch 2: Correct commit subject in Fixes: tag to match the actual upstream commit title.

Changes in v3:
- patch 1: Unify the BPID index logic into a shared otx2_get_bpid_idx() helper, dropping the per-file #ifdef CONFIG_DCB.
- patch 2: Extend the sc.max fix to the SC stats loop in mcs_clear_all_stats(); add Fixes: tag.

Changes in v2:
- Dropped "octeontx2-af: Fix mcs string buffer size", will re-target it to net-next.

Baha Mesleh (1):
octeontx2-af: mcs: Fix SC resource cleanup loop

Geetha sowjanya (1):
octeontx2-pf: Fix aura BPID assignment when CONFIG_DCB is enabled

 drivers/net/ethernet/marvell/octeontx2/af/mcs.c  |  4 ++--
 .../net/ethernet/marvell/octeontx2/nic/cn20k.c   | 11 +----------
 .../ethernet/marvell/octeontx2/nic/otx2_common.c | 16 ++++++----------
 .../ethernet/marvell/octeontx2/nic/otx2_common.h |  9 +++++++++
 4 files changed, 18 insertions(+), 22 deletions(-)
Signature · 1 line
2.43.0