[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20221208054045.3600-1-gerhard@engleder-embedded.com>
Date: Thu, 8 Dec 2022 06:40:39 +0100
From: Gerhard Engleder <gerhard@...leder-embedded.com>
To: netdev@...r.kernel.org, bpf@...r.kernel.org
Cc: davem@...emloft.net, kuba@...nel.org, edumazet@...gle.com,
pabeni@...hat.com, ast@...nel.org, daniel@...earbox.net,
hawk@...nel.org, john.fastabend@...il.com,
Gerhard Engleder <gerhard@...leder-embedded.com>
Subject: [PATCH net-next v2 0/6] tsnep: XDP support
Implement XDP support for tsnep driver. I tried to follow existing
drivers like igb/igc as far as possible. Some prework was already done
in previous patch series, so in this series only actual XDP stuff is
included.
Thanks for the NetDev 0x14 slides "Add XDP support on a NIC driver".
v2:
- move tsnep_xdp_xmit_back() to commit where it is used (Paolo Abeni)
- remove inline from tsnep_rx_offset() (Paolo Abeni)
- remove inline from tsnep_rx_offset_xdp() (Paolo Abeni)
- simplify tsnep_xdp_run_prog() call by moving xdp_status update to it (Paolo Abeni)
Gerhard Engleder (6):
tsnep: Add adapter down state
tsnep: Add XDP TX support
tsnep: Support XDP BPF program setup
tsnep: Prepare RX buffer for XDP support
tsnep: Add RX queue info for XDP support
tsnep: Add XDP RX support
drivers/net/ethernet/engleder/Makefile | 2 +-
drivers/net/ethernet/engleder/tsnep.h | 31 +-
drivers/net/ethernet/engleder/tsnep_main.c | 423 +++++++++++++++++++--
drivers/net/ethernet/engleder/tsnep_xdp.c | 27 ++
4 files changed, 453 insertions(+), 30 deletions(-)
create mode 100644 drivers/net/ethernet/engleder/tsnep_xdp.c
--
2.30.2
Powered by blists - more mailing lists