net: Broadcom drivers coalescing fixes
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest3 patches 3 repliesIn review
- v13 patches 7 repliesSuperseded
Changes in v2 from the cover letter
- added Tal's reviewed-by to the first patch
- split DIM initialization from coalescing parameters initialization
- avoid duplicating the same code in bcmgenet_set_coalesce() when configuring RX rings
- fixed the condition where default DIM parameters would be applied when adaptive RX coalescing would be enabled, do this only if it was disabled before
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/3 | net: systemport: Remove adaptive TX coalescingdrivers/ drivers/ | +8 | 0 replies | |
| 2/3 | net: systemport: Fix coalescing settings handlingdrivers/ drivers/ | +46 | 1 reply | |
| 3/3 | net: bcmgenet: Fix coalescing settings handlingdrivers/ drivers/ | +61 | 1 reply |
Reviews trailers per patch
All 3 patches have a Reviewed-by or Acked-by.
| Patch | Tal Gilboa |
|---|---|
| 1/3 | R-b |
| 2/3 | R-b |
| 3/3 | R-b |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH net-next v2 0/3] net: Broadcom drivers coalescing fixes
Hi all,
Following Tal's review of the adaptive RX/TX coalescing feature added to the SYSTEMPORT and GENET driver a number of things showed up:
- adaptive TX coalescing is not actually a good idea with the current way the estimator will program the ring, this results in a higher CPU load, NAPI on TX already does a reasonably good job at maintaining the interrupt count low
- both SYSTEMPORT and GENET would suffer from the same issues while configuring coalescing parameters where the values would just not be applied correctly based on user settings, so we fix that too
Tal, thanks again for your feedback, I would appreciate if you could review that the new behavior appears to be implemented correctly.
Thanks!
Changes in v2:
- added Tal's reviewed-by to the first patch
- split DIM initialization from coalescing parameters initialization
- avoid duplicating the same code in bcmgenet_set_coalesce() when configuring RX rings
- fixed the condition where default DIM parameters would be applied when adaptive RX coalescing would be enabled, do this only if it was disabled before
Florian Fainelli (3):
net: systemport: Remove adaptive TX coalescing
net: systemport: Fix coalescing settings handling
net: bcmgenet: Fix coalescing settings handling
drivers/net/ethernet/broadcom/bcmsysport.c | 123 +++++++++++-------------- drivers/net/ethernet/broadcom/bcmsysport.h | 5 +- drivers/net/ethernet/broadcom/genet/bcmgenet.c | 92 +++++++++++------- drivers/net/ethernet/broadcom/genet/bcmgenet.h | 4 +- 4 files changed, 115 insertions(+), 109 deletions(-)
Signature · 1 line
2.14.1