public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] net: ethernet: ti: am65-cpsw: use napi_complete_done() in TX completion
@ 2021-08-05 22:55 Grygorii Strashko
  2021-08-05 22:55 ` [PATCH net-next 1/2] net: ti: am65-cpsw-nuss: fix RX IRQ state after .ndo_stop() Grygorii Strashko
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Grygorii Strashko @ 2021-08-05 22:55 UTC (permalink / raw)
  To: David S. Miller, netdev, Jakub Kicinski
  Cc: linux-kernel, Vignesh Raghavendra, Lokesh Vutla, Eric Dumazet,
	Grygorii Strashko

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(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-08-06 10:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-08-05 22:55 [PATCH net-next 0/2] net: ethernet: ti: am65-cpsw: use napi_complete_done() in TX completion Grygorii Strashko
2021-08-05 22:55 ` [PATCH net-next 1/2] net: ti: am65-cpsw-nuss: fix RX IRQ state after .ndo_stop() Grygorii Strashko
2021-08-05 22:55 ` [PATCH net-next 2/2] net: ethernet: ti: am65-cpsw: use napi_complete_done() in TX completion Grygorii Strashko
2021-08-06 10:10 ` [PATCH net-next 0/2] " patchwork-bot+netdevbpf

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox