[net-next PATCH 0/4] Refactoring RVU NIC driver
From: Geetha sowjanya
Date: Tue Sep 03 2024 - 08:41:21 EST
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 patchset groups hw resources and queue configuration code into separate
APIs 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/ZsdJ-w00yCI4NQ8T@nanopsycho.orion/T/
As suggested by "Jiri Pirko", submitting as separate patchset.
Geetha sowjanya (4):
octeontx2-pf: Defines common API for HW resources configuration
octeontx2-pf: Add new APIs for queue memory alloc/free.
octeontx2-pf: Reuse max mtu value
octeontx2-pf: Export common APIs
.../marvell/octeontx2/nic/otx2_common.c | 6 +-
.../marvell/octeontx2/nic/otx2_common.h | 15 ++
.../ethernet/marvell/octeontx2/nic/otx2_pf.c | 243 +++++++++++-------
.../marvell/octeontx2/nic/otx2_txrx.c | 17 +-
.../marvell/octeontx2/nic/otx2_txrx.h | 3 +-
.../ethernet/marvell/octeontx2/nic/otx2_vf.c | 7 +-
6 files changed, 186 insertions(+), 105 deletions(-)
--
2.25.1