Thu, Aug 22, 2024 at 03:20:21PM CEST, gakula@marvell.com wrote:
Refactoring and export list of shared functions such that
they can be used by both RVU NIC and representor driver.
The changes include:
1. Moves nix_stats_lf_tx/rx structure definition into header file
so that it can be reused by the AF driver while fetching representor
port stats.
2. Representor PF shares same mbox design as of RVU PF and have same HW
resources(TX/RX queues). Hence, mbox and HW resources configuration
function APIs are exported so that it can be used by representor driver.
3. Moving the link type checks and tx credit configuration into common API.
4. TX/RX queue memory operations are combined under new API.
5. Add extraction of queue and vlan id to common API so that it can be
used while matching mcam traffic rules.
I see 5 patches at least then. Again, please have this as a separate
patchset, one logical change per patch.