net: ipa: improve RX buffer replenishing
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest10 patches 0 repliesNew 9 of 10 applied
Patches in v1 9 of 10 applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/10 | net: ipa: kill replenish_saveddrivers/ drivers/ | +4 | 0 replies | Applied |
| 2/10 | net: ipa: allocate transaction before pages when replenishingdrivers/ | +8 | 0 replies | Applied |
| 3/10 | net: ipa: increment backlog in replenish callerdrivers/ | +9 | 0 replies | Applied |
| 4/10 | net: ipa: decide on doorbell in replenish loopdrivers/ | +12 | 0 replies | Applied |
| 5/10 | net: ipa: allocate transaction in replenish loopdrivers/ | +16 | 0 replies | |
| 6/10 | net: ipa: don't use replenish_backlogdrivers/ | +2 | 0 replies | Applied |
| 7/10 | net: ipa: introduce gsi_channel_trans_idle()drivers/ drivers/ drivers/ | +26 | 0 replies | Applied |
| 8/10 | net: ipa: kill replenish_backlogdrivers/ drivers/ | +0 | 0 replies | Applied |
| 9/10 | net: ipa: replenish after delivering payloaddrivers/ | +3 | 0 replies | Applied |
| 10/10 | net: ipa: determine replenish doorbell differentlydrivers/ drivers/ | +10 | 0 replies | Applied |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH net-next 00/10] net: ipa: improve RX buffer replenishing
This series revises the algorithm used for replenishing receive buffers on RX endpoints. Currently there are two atomic variables that track how many receive buffers can be sent to the hardware. The new algorithm obviates the need for those, by just assuming we always want to provide the hardware with buffers until it can hold no more.
The first patch eliminates an atomic variable that's not required. The next moves some code into the main replenish function's caller,
making one of the called function's arguments unnecessary. The
next six refactor things a bit more, adding a new helper function that allows us to eliminate an additional atomic variable. And the final two implement two more minor improvements.
-Alex
Alex Elder (10):
net: ipa: kill replenish_saved
net: ipa: allocate transaction before pages when replenishing
net: ipa: increment backlog in replenish caller
net: ipa: decide on doorbell in replenish loop
net: ipa: allocate transaction in replenish loop
net: ipa: don't use replenish_backlog
net: ipa: introduce gsi_channel_trans_idle()
net: ipa: kill replenish_backlog
net: ipa: replenish after delivering payload
net: ipa: determine replenish doorbell differently
drivers/net/ipa/gsi_trans.c | 11 ++++ drivers/net/ipa/gsi_trans.h | 10 +++ drivers/net/ipa/ipa_endpoint.c | 112 +++++++++++---------------------- drivers/net/ipa/ipa_endpoint.h | 8 +-- 4 files changed, 60 insertions(+), 81 deletions(-)
Signature · 1 line
2.32.0