Skip to content

octeontx2: Miscellaneous fixes

Sai Krishna lkml netdev 5 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. v5 Latest11 patches 0 repliesApplied 11/11
  2. v410 patches 5 repliesSuperseded
  3. v310 patches 11 repliesSuperseded
Earlier versions · 2
VersionPostedPatchesRepliesStatus
v27 patches14 repliesSuperseded
v17 patches15 repliesSuperseded

Changes in v5 from the cover letter

Fixed review comments given by Simon Horman
1. Split the patch.
2. Modified/Elaborated commit messages.
3. Fixed duplicate code using goto statements.

Patches in v5 All 11 applied

#Subject and filesSizeRepliesApplied
1/11octeontx2-af: Secure APR table update with the lockdrivers/net/ethernet/marvell/octeontx2/af/rvu_cn10k.c+8 -50 repliesApplied
2/11octeontx2-af: Fix start and end bit for scan configdrivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c+1 -20 repliesApplied
3/11octeontx2-af: Fix depth of cam and mem table.drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c+2 -20 repliesApplied
4/11octeontx2-pf: Increase the size of dmac filter flowsdrivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h+2 -20 repliesApplied
5/11octeontx2-af: Add validation for lmac typedrivers/net/ethernet/marvell/octeontx2/af/cgx.c+8 -00 repliesApplied
6/11octeontx2-af: Update correct mask to filter IPv4 fragmentsdrivers/net/ethernet/marvell/octeontx2/nic/otx2_tc.c+1 -10 repliesApplied
7/11octeontx2-af: Update/Fix NPC field hash extract featuredrivers/net/ethernet/marvell/octeontx2/af/mbox.h drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.h+41 -180 repliesApplied
8/11octeontx2-af: Fix issues with NPC field hash extractdrivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_fs.h drivers/net/ethernet/marvell/octeontx2/af/rvu_npc_hash.c +1 more+69 -500 repliesApplied
9/11octeontx2-af: Skip PFs if not enableddrivers/net/ethernet/marvell/octeontx2/af/mbox.c drivers/net/ethernet/marvell/octeontx2/af/mbox.h drivers/net/ethernet/marvell/octeontx2/af/rvu.c+46 -110 repliesApplied
10/11octeontx2-pf: Disable packet I/O for graceful exitdrivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c+10 -10 repliesApplied
11/11octeontx2-vf: Detach LF resources on probe cleanupdrivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c+1 -10 repliesApplied

Reviews trailers per patch

7 of 11 patches have a Reviewed-by or Acked-by.

PatchSimon Horman
1/11R-b
2/11
3/11R-b
4/11R-b
5/11R-b
6/11R-b
7/11R-b
8/11R-b
9/11
10/11
11/11

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

Read the v5 thread

Cover letter [net PATCH v5 00/11] octeontx2: Miscellaneous fixes

This patchset includes following fixes.

Patch #1 Fix for the race condition while updating APR table

Patch #2 Fix end bit position in NPC scan config

Patch #3 Fix depth of CAM, MEM table entries

Patch #4 Fix in increase the size of DMAC filter flows

Patch #5 Fix driver crash resulting from invalid interface type information retrieved from firmware

Patch #6 Fix incorrect mask used while installing filters involving fragmented packets

Patch #7 Fixes for NPC field hash extract w.r.t IPV6 hash reduction,
IPV6 filed hash configuration.

Patch #8 Fix for NPC hardware parser configuration destination
address hash, IPV6 endianness issues.

Patch #9 Fix for skipping mbox initialization for PFs disabled by firmware.

Patch #10 Fix disabling packet I/O in case of mailbox timeout.

Patch #11 Fix detaching LF resources in case of VF probe fail.

Geetha sowjanya (1):
octeontx2-af: Secure APR table update with the lock

Hariprasad Kelam (1):
octeontx2-af: Add validation for lmac type

Ratheesh Kannoth (6):
octeontx2-af: Fix start and end bit for scan config
octeontx2-af: Fix depth of cam and mem table.
octeontx2-pf: Increase the size of dmac filter flows
octeontx2-af: Update/Fix NPC field hash extract feature
octeontx2-af: Fix issues with NPC field hash extract
octeontx2-af: Skip PFs if not enabled

Subbaraya Sundeep (2):
octeontx2-pf: Disable packet I/O for graceful exit
octeontx2-vf: Detach LF resources on probe cleanup

Suman Ghosh (1):
octeontx2-af: Update correct mask to filter IPv4 fragments

---
v5 changes:
Fixed review comments given by Simon Horman
1. Split the patch.
2. Modified/Elaborated commit messages.
3. Fixed duplicate code using goto statements.

v4 changes:
Fixed review comments given by Simon Horman
1. Replaced kcalloc() with bitmap_zalloc().
2. Modified/Elaborated commit messages.
3. Fixed end bit position in NPC exact match bitmap enable.

v3 changes:
Fixed review comments given by Simon Horman
1. Split the patches
2. Replaced devm_kcalloc() with kcalloc.
3. Remove un-necessary validation before free_percpu
4. Modified/Elaborated commit message
5. Move the lock to inner function "rvu_get_lmtaddr()" to avoid synchronization issues.

v2 changes:
Fixed review comments given by Leon Romanovsky
1. Updated lmac_type in case of invalid lmac
2. Modified commit message

 .../net/ethernet/marvell/octeontx2/af/cgx.c   |   8 ++
 .../net/ethernet/marvell/octeontx2/af/mbox.c  |   5 +-
 .../net/ethernet/marvell/octeontx2/af/mbox.h  |  19 ++-
 .../net/ethernet/marvell/octeontx2/af/rvu.c   |  49 +++++--
 .../ethernet/marvell/octeontx2/af/rvu_cn10k.c |  13 +-
 .../marvell/octeontx2/af/rvu_npc_fs.c         |  26 ++--
 .../marvell/octeontx2/af/rvu_npc_fs.h         |   4 +
 .../marvell/octeontx2/af/rvu_npc_hash.c       | 125 ++++++++++--------
 .../marvell/octeontx2/af/rvu_npc_hash.h       |  10 +-
 .../marvell/octeontx2/nic/otx2_common.h       |   4 +-
 .../ethernet/marvell/octeontx2/nic/otx2_pf.c  |  11 +-
 .../ethernet/marvell/octeontx2/nic/otx2_tc.c  |   2 +-
 .../ethernet/marvell/octeontx2/nic/otx2_vf.c  |   2 +-
 13 files changed, 187 insertions(+), 91 deletions(-)
Signature · 1 line
2.25.1