mbox series

[net-next,0/7] tsnep: multi queue support and some other improvements

Message ID 20220915203638.42917-1-gerhard@engleder-embedded.com (mailing list archive)
Headers show
Series tsnep: multi queue support and some other improvements | expand

Message

Gerhard Engleder Sept. 15, 2022, 8:36 p.m. UTC
Add support for additional TX/RX queues along with RX flow classification
support.

Binding is extended to allow additional interrupts for additional TX/RX
queues. Also dma-coherent is allowed as minor improvement.

RX path optimisation is done by using page pool and reworked RX buffer
allocation. Both changes are preparations for future XDP support.

Gerhard Engleder (7):
  dt-bindings: net: tsnep: Allow dma-coherent
  dt-bindings: net: tsnep: Allow additional interrupts
  tsnep: Move interrupt from device to queue
  tsnep: Support multiple TX/RX queue pairs
  tsnep: Add EtherType RX flow classification support
  tsnep: Use page pool for RX
  tsnep: Rework RX buffer allocation

 .../bindings/net/engleder,tsnep.yaml          |  39 +-
 drivers/net/ethernet/engleder/Kconfig         |   1 +
 drivers/net/ethernet/engleder/Makefile        |   2 +-
 drivers/net/ethernet/engleder/tsnep.h         |  49 +-
 drivers/net/ethernet/engleder/tsnep_ethtool.c |  45 ++
 drivers/net/ethernet/engleder/tsnep_hw.h      |  13 +-
 drivers/net/ethernet/engleder/tsnep_main.c    | 429 ++++++++++++------
 drivers/net/ethernet/engleder/tsnep_rxnfc.c   | 285 ++++++++++++
 8 files changed, 716 insertions(+), 147 deletions(-)
 create mode 100644 drivers/net/ethernet/engleder/tsnep_rxnfc.c