mbox series

[net-next,0/2] net: ethernet: ti: am65-cpsw: use napi_complete_done() in TX completion

Message ID 20210805225532.2667-1-grygorii.strashko@ti.com
Headers show
Series net: ethernet: ti: am65-cpsw: use napi_complete_done() in TX completion | expand

Message

Grygorii Strashko Aug. 5, 2021, 10:55 p.m. UTC
hi

The intention of this series is to fully enable hard irqs deferral feature
(hrtimers based HW IRQ coalescing) from Eric Dumazet [1] for TI K3 CPSW driver
by using napi_complete_done() in TX completion path, so the combination of
parameters (/sys/class/net/ethX/):
 napi_defer_hard_irqs 
 gro_flush_timeout
can be used for hard irqs deferral.

The Patch 1 is required before enabling hard irqs deferral feature to avoid
"Unbalanced enable" issue if gro_flush_timeout is configured while
(napi_defer_hard_irqs == 0).

It's a bit sad that it can not be configured per RX/TX separately.

[1] https://lore.kernel.org/netdev/20200422161329.56026-1-edumazet@google.com/
Grygorii Strashko (1):
  net: ethernet: ti: am65-cpsw: use napi_complete_done() in TX
    completion

Vignesh Raghavendra (1):
  net: ti: am65-cpsw-nuss: fix RX IRQ state after .ndo_stop()

 drivers/net/ethernet/ti/am65-cpsw-nuss.c | 23 ++++++++++++++++-------
 drivers/net/ethernet/ti/am65-cpsw-nuss.h |  2 ++
 2 files changed, 18 insertions(+), 7 deletions(-)

Comments

patchwork-bot+netdevbpf@kernel.org Aug. 6, 2021, 10:10 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (refs/heads/master):

On Fri, 6 Aug 2021 01:55:30 +0300 you wrote:
> hi
> 
> The intention of this series is to fully enable hard irqs deferral feature
> (hrtimers based HW IRQ coalescing) from Eric Dumazet [1] for TI K3 CPSW driver
> by using napi_complete_done() in TX completion path, so the combination of
> parameters (/sys/class/net/ethX/):
>  napi_defer_hard_irqs
>  gro_flush_timeout
> can be used for hard irqs deferral.
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] net: ti: am65-cpsw-nuss: fix RX IRQ state after .ndo_stop()
    https://git.kernel.org/netdev/net-next/c/47bfc4d128de
  - [net-next,2/2] net: ethernet: ti: am65-cpsw: use napi_complete_done() in TX completion
    https://git.kernel.org/netdev/net-next/c/3bacbe04251b

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html