Dynamically allocate BPIDs for LBK
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
- v2 Latest2 patches 1 replyApplied 2/2
- v13 patches 6 repliesSuperseded
Changes in v2 from the cover letter
- Modified commit message.
- Dropped patch2, as for now rvu netdev have no usecase. Will be upstream along with the CPT driver.
- Addressed review comments by Simon Horman.
Patches in v2 All 2 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | octeontx2-af: Create BPIDs free pooldrivers/ drivers/ drivers/ +2 more | +149 | 0 replies | Applied |
| 2/2 | octeontx2-af: Cleanup loopback device checksdrivers/ drivers/ drivers/ +2 more | +33 | 0 replies | Applied |
Reviews trailers per patch
All 2 patches have a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Simon Horman | Jiri Pirko |
|---|---|---|
| Series | R-b | |
| 1/2 | R-b | |
| 2/2 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v2 0/2] Dynamically allocate BPIDs for LBK
In current driver 64 BPIDs are reserved for LBK interfaces. These bpids are 1-to-1 mapped to LBK interface channel numbers. In some usecases one LBK interface required more than one bpids and in some case they may not require at all. These usescas can't be address with the current implementation as it always reserves only one bpid per LBK channel.
This patch addresses this issue by creating free bpid pool from these 64 bpids instead of 1-to-1 mapping to the lbk channel. Now based on usecase LBK interface can request a bpid using (bp_enable()).
v1 -> v2:
- Modified commit message.
- Dropped patch2, as for now rvu netdev have no usecase. Will be upstream along with the CPT driver.
- Addressed review comments by Simon Horman.
Geetha sowjanya (2):
octeontx2-af: Create BPIDs free pool
octeontx2-af: Cleanup loopback device checks
.../net/ethernet/marvell/octeontx2/af/mbox.h | 2 + .../net/ethernet/marvell/octeontx2/af/rvu.c | 14 +- .../net/ethernet/marvell/octeontx2/af/rvu.h | 21 +- .../ethernet/marvell/octeontx2/af/rvu_nix.c | 179 ++++++++++++++---- .../ethernet/marvell/octeontx2/af/rvu_npc.c | 8 +- .../ethernet/marvell/octeontx2/af/rvu_reg.h | 3 + .../ethernet/marvell/octeontx2/af/rvu_sdp.c | 6 +- 7 files changed, 181 insertions(+), 52 deletions(-)
Signature · 1 line
2.25.1