netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next v2 0/4] tsnep: Throttle interrupts, RX buffer allocation and ethtool_get_channels()
@ 2022-11-30 19:37 Gerhard Engleder
  2022-11-30 19:37 ` [PATCH net-next v2 1/4] tsnep: Consistent naming of struct net_device Gerhard Engleder
                   ` (4 more replies)
  0 siblings, 5 replies; 9+ messages in thread
From: Gerhard Engleder @ 2022-11-30 19:37 UTC (permalink / raw)
  To: netdev; +Cc: davem, kuba, edumazet, pabeni, Gerhard Engleder

Collection of improvements found during development of XDP support.
Hopefully the last patch series before the XDP support.

ethtool_get_channels() is needed for automatic TAPRIO configuration in
combination with multiple queues.

Rework of the RX buffer allocation is prework of XDP. It ensures that
packets are only dropped if RX queue would otherwise run empty because
of failed allocations. So it should reduce the number of dropped packets
under low memory conditions.

v2:
- post rotten packet fix separately (Jakub Kicinski)
- implement ethtool::get_coalesce / set_coalesce (Jakub Kicinski)

Gerhard Engleder (4):
  tsnep: Consistent naming of struct net_device
  tsnep: Add ethtool::get_channels support
  tsnep: Throttle interrupts
  tsnep: Rework RX buffer allocation

 drivers/net/ethernet/engleder/tsnep.h         |   8 +
 drivers/net/ethernet/engleder/tsnep_ethtool.c | 165 +++++++++++-
 drivers/net/ethernet/engleder/tsnep_hw.h      |   7 +
 drivers/net/ethernet/engleder/tsnep_main.c    | 245 ++++++++++++------
 4 files changed, 345 insertions(+), 80 deletions(-)

-- 
2.30.2


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

end of thread, other threads:[~2022-12-02 11:20 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-30 19:37 [PATCH net-next v2 0/4] tsnep: Throttle interrupts, RX buffer allocation and ethtool_get_channels() Gerhard Engleder
2022-11-30 19:37 ` [PATCH net-next v2 1/4] tsnep: Consistent naming of struct net_device Gerhard Engleder
2022-11-30 22:39   ` Andrew Lunn
2022-11-30 19:37 ` [PATCH net-next v2 2/4] tsnep: Add ethtool::get_channels support Gerhard Engleder
2022-11-30 22:39   ` Andrew Lunn
2022-11-30 19:37 ` [PATCH net-next v2 3/4] tsnep: Throttle interrupts Gerhard Engleder
2022-11-30 22:53   ` Andrew Lunn
2022-11-30 19:37 ` [PATCH net-next v2 4/4] tsnep: Rework RX buffer allocation Gerhard Engleder
2022-12-02 11:20 ` [PATCH net-next v2 0/4] tsnep: Throttle interrupts, RX buffer allocation and ethtool_get_channels() 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;
as well as URLs for NNTP newsgroup(s).