mbox series

[net-next,v2,0/4] tsnep: Throttle interrupts, RX buffer allocation and ethtool_get_channels()

Message ID 20221130193708.70747-1-gerhard@engleder-embedded.com (mailing list archive)
Headers show
Series tsnep: Throttle interrupts, RX buffer allocation and ethtool_get_channels() | expand

Message

Gerhard Engleder Nov. 30, 2022, 7:37 p.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Dec. 2, 2022, 11:20 a.m. UTC | #1
Hello:

This series was applied to netdev/net-next.git (master)
by David S. Miller <davem@davemloft.net>:

On Wed, 30 Nov 2022 20:37:04 +0100 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,v2,1/4] tsnep: Consistent naming of struct net_device
    https://git.kernel.org/netdev/net-next/c/91644df1ba01
  - [net-next,v2,2/4] tsnep: Add ethtool::get_channels support
    https://git.kernel.org/netdev/net-next/c/4f661ccfcac7
  - [net-next,v2,3/4] tsnep: Throttle interrupts
    https://git.kernel.org/netdev/net-next/c/d3dfe8d6c040
  - [net-next,v2,4/4] tsnep: Rework RX buffer allocation
    https://git.kernel.org/netdev/net-next/c/dbadae927287

You are awesome, thank you!