mvpp2: per-cpu buffers
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 1 replyIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mvpp2: refactor BM pool functionsdrivers/ | +16 | 0 replies | |
| 2/2 | mvpp2: percpu buffersdrivers/ drivers/ | +222 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 0/2] mvpp2: per-cpu buffers
This patchset workarounds an PP2 HW limitation which prevents to use per-cpu rx buffers.
The first patch is just a refactor to prepare for the second one. The second one allocates percpu buffers if the following conditions are met:
- CPU number is less or equal 4
- no port is using jumbo frames
If the following conditions are not met at load time, of jumbo frame is enabled later on, the shared allocation is reverted.
Matteo Croce (2):
mvpp2: refactor BM pool functions
mvpp2: percpu buffers
drivers/net/ethernet/marvell/mvpp2/mvpp2.h | 4 + .../net/ethernet/marvell/mvpp2/mvpp2_main.c | 272 +++++++++++++++--- 2 files changed, 235 insertions(+), 41 deletions(-)
Signature · 1 line
2.21.0