mbox series

[net-next,v4,0/4] Refactoring RVU NIC driver

Message ID 20241023161843.15543-1-gakula@marvell.com (mailing list archive)
Headers show
Series Refactoring RVU NIC driver | expand

Message

Geetha sowjanya Oct. 23, 2024, 4:18 p.m. UTC
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/ZsdJ-w00yCI4NQ8T@nanopsycho.orion/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(-)

Comments

Jakub Kicinski Oct. 31, 2024, 12:52 a.m. UTC | #1
On Wed, 23 Oct 2024 21:48:39 +0530 Geetha sowjanya wrote:
> As suggested by "Jiri Pirko", submitting as separate patchset.
> 
> v3-v4:
>    (Suggested by "Jakub Kicinski").

These are our real names, you don't have to put them in quotes :)

While I'm typing - small nit for the future, please wrap the cover
letter at 72 chars, just like the commit messages.
patchwork-bot+netdevbpf@kernel.org Oct. 31, 2024, 1:10 a.m. UTC | #2
Hello:

This series was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@kernel.org>:

On Wed, 23 Oct 2024 21:48:39 +0530 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,v4,1/4] octeontx2-pf: Define common API for HW resources configuration
    https://git.kernel.org/netdev/net-next/c/fbc704b3104b
  - [net-next,v4,2/4] octeontx2-pf: Add new APIs for queue memory alloc/free.
    https://git.kernel.org/netdev/net-next/c/03d80a1ba526
  - [net-next,v4,3/4] octeontx2-pf: Reuse PF max mtu value
    https://git.kernel.org/netdev/net-next/c/dec6f5ebd724
  - [net-next,v4,4/4] octeontx2-pf: Move shared APIs to header file
    https://git.kernel.org/netdev/net-next/c/78bd5d81241e

You are awesome, thank you!