mbox series

[net,0/5] Octeontx2 AF driver fixes for NPC

Message ID 1658672209-8837-1-git-send-email-sbhatta@marvell.com (mailing list archive)
Headers show
Series Octeontx2 AF driver fixes for NPC | expand

Message

Subbaraya Sundeep July 24, 2022, 2:16 p.m. UTC
This patchset includes AF driver fixes wrt packet parser NPC.
Following are the changes:

Patch 1: The parser nibble configuration must be same for
TX and RX interfaces and if not fix up is applied. This fixup was
applied only for default profile currently and it has been fixed
to apply for all profiles.
Patch 2: Firmware image may not be present all times in the kernel image
and default profile is used mostly hence suppress the warning.
Patch 3: Custom profiles may not extract DMAC into the match key
always. Hence fix the driver to allow profiles without DMAC extraction.
Patch 4: This patch fixes a corner case where NIXLF is detached but
without freeing its mcam entries which results in resource leak.
Patch 5: SMAC is overlapped with DMAC mistakenly while installing
rules based on SMAC. This patch fixes that.

Thanks,
Sundeep


Harman Kalra (1):
  octeontx2-af: suppress external profile loading warning

Stanislaw Kardach (1):
  octeontx2-af: Apply tx nibble fixup always

Subbaraya Sundeep (2):
  octeontx2-af: Fix mcam entry resource leak
  octeontx2-af: Fix key checking for source mac

Suman Ghosh (1):
  octeontx2-af: Allow mkex profiles without dmac.

 drivers/net/ethernet/marvell/octeontx2/af/npc.h    |  1 +
 drivers/net/ethernet/marvell/octeontx2/af/rvu.c    |  6 ++
 .../ethernet/marvell/octeontx2/af/rvu_debugfs.c    |  6 ++
 .../net/ethernet/marvell/octeontx2/af/rvu_npc.c    | 15 +++-
 .../net/ethernet/marvell/octeontx2/af/rvu_npc_fs.c | 85 +++++++++++++++++-----
 5 files changed, 90 insertions(+), 23 deletions(-)