Skip to content

Refactoring RVU NIC driver

Geetha sowjanya lkml netdev 4 versions – Applied

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

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v4 Latest4 patches 5 repliesApplied 4/4
  2. v34 patches 1 replySuperseded
  3. v24 patches 5 repliesSuperseded
Earlier versions · 1
VersionPostedPatchesRepliesStatus
v14 patches8 repliesSuperseded

Patches in v4 All 4 applied

#Subject and filesSizeRepliesApplied
1/4octeontx2-pf: Define common API for HW resources configurationdrivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c+83 -631 replyApplied
2/4octeontx2-pf: Add new APIs for queue memory alloc/free.drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c+39 -161 replyApplied
3/4octeontx2-pf: Reuse PF max mtu valuedrivers/net/ethernet/marvell/octeontx2/nic/otx2_common.c drivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c +1 more+5 -21 replyApplied
4/4octeontx2-pf: Move shared APIs to header filedrivers/net/ethernet/marvell/octeontx2/nic/otx2_common.h drivers/net/ethernet/marvell/octeontx2/nic/otx2_pf.c drivers/net/ethernet/marvell/octeontx2/nic/otx2_vf.c+28 -141 replyApplied

Reviews trailers per patch

All 4 patches have a Reviewed-by or Acked-by.

PatchJiri PirkoPavan ChebbiSimon Horman
1/4R-b R-b
2/4R-b R-b
3/4R-b
4/4R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 3 reviewers.

Read the v4 thread

Cover letter [net-next PATCH v4 0/4] Refactoring RVU NIC driver

This is a preparation pathset for follow-up "Introducing RVU representors driver" patches. The RVU representor driver creates representor netdev of each rvu device when switch dev mode is enabled.

RVU representor and NIC have a similar set of HW resources(NIX_LF,RQ/SQ/CQ) and implements a subset of NIC functionality.
This patch set groups hw resources and queue configuration code into single API and export the existing functions so, that code can be shared between NIC and representor drivers.

These patches are part of "Introduce RVU representors" patchset.
https://lore.kernel.org/all/[email protected]/T/
As suggested by "Jiri Pirko", submitting as separate patchset.

v3-v4:
- Removed Export symbols as there is no in-tree caller. (Suggested by "Jakub Kicinski").
- Fixed patch4 commit message.

v2-v3:
- Added review tags.

v1-v2:
- Removed unwanted variable.
- Dropped unrelated changes from patch4.

Geetha sowjanya (4):
octeontx2-pf: Define common API for HW resources configuration
octeontx2-pf: Add new APIs for queue memory alloc/free.
octeontx2-pf: Reuse PF max mtu value.
octeontx2-pf: Move shared APIs to header file.

 .../marvell/octeontx2/nic/otx2_common.c       |   6 +-
 .../marvell/octeontx2/nic/otx2_common.h       |  15 ++
 .../ethernet/marvell/octeontx2/nic/otx2_pf.c  | 239 +++++++++++-------
 .../ethernet/marvell/octeontx2/nic/otx2_vf.c  |   5 +-
 4 files changed, 170 insertions(+), 95 deletions(-)
Signature · 1 line
2.25.1