diff options
author | David S. Miller <davem@davemloft.net> | 2024-02-02 12:12:36 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2024-02-02 12:12:36 +0000 |
commit | 49d703c8f4514e5ab127be387102b478fdae40c2 (patch) | |
tree | a22eae56c5119da429d36b5d7282652e2d0e2f0a /net/sctp | |
parent | 094bdd48afb8dde4ac71a6a672b096108ded9f49 (diff) | |
parent | ae703539f49d20cafc888f5d2e8fe5851d5da6cd (diff) |
Merge branch 'octeontx2-af-dynamically-allocate-BPIDs'
Geetha sowjanya says:
====================
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.
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sctp')
0 files changed, 0 insertions, 0 deletions