Netdev List
 help / color / mirror / Atom feed
* [PATCH net-next 0/5] net: lan966x: Extend xdp support
@ 2022-11-13 11:15 Horatiu Vultur
  2022-11-13 11:15 ` [PATCH net-next 1/5] net: lan966x: Add XDP_PACKET_HEADROOM Horatiu Vultur
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Horatiu Vultur @ 2022-11-13 11:15 UTC (permalink / raw)
  To: netdev, linux-kernel, bpf
  Cc: davem, edumazet, kuba, pabeni, ast, daniel, hawk, john.fastabend,
	alexandr.lobakin, UNGLinuxDriver, Horatiu Vultur

Extend the current support of XDP in lan966x with the action XDP_TX and
XDP_REDIRECT.
The first patch introduced a headroom for all the received frames. This
is needed when the XDP_TX and XDP_REDIRECT is added.
The next 2 patches, just introduced some helper functions that can be
reused when is needed to transmit back the frame.
The last 2 patches introduce the XDP actions XDP_TX and XDP_REDIRECT.

Horatiu Vultur (5):
  net: lan966x: Add XDP_PACKET_HEADROOM
  net: lan966x: Introduce helper functions
  net: lan966x: Add len field to lan966x_tx_dcb_buf
  net: lan966x: Add support for XDP_TX
  net: lan966x: Add support for XDP_REDIRECT

 .../ethernet/microchip/lan966x/lan966x_fdma.c | 183 ++++++++++++++----
 .../ethernet/microchip/lan966x/lan966x_main.c |   5 +-
 .../ethernet/microchip/lan966x/lan966x_main.h |  15 ++
 .../ethernet/microchip/lan966x/lan966x_xdp.c  |  41 +++-
 4 files changed, 200 insertions(+), 44 deletions(-)

-- 
2.38.0


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

end of thread, other threads:[~2022-11-14 19:35 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-11-13 11:15 [PATCH net-next 0/5] net: lan966x: Extend xdp support Horatiu Vultur
2022-11-13 11:15 ` [PATCH net-next 1/5] net: lan966x: Add XDP_PACKET_HEADROOM Horatiu Vultur
2022-11-14 14:16   ` Alexander Lobakin
2022-11-14 19:39     ` Horatiu Vultur
2022-11-13 11:15 ` [PATCH net-next 2/5] net: lan966x: Introduce helper functions Horatiu Vultur
2022-11-13 11:15 ` [PATCH net-next 3/5] net: lan966x: Add len field to lan966x_tx_dcb_buf Horatiu Vultur
2022-11-13 11:15 ` [PATCH net-next 4/5] net: lan966x: Add support for XDP_TX Horatiu Vultur
2022-11-13 11:15 ` [PATCH net-next 5/5] net: lan966x: Add support for XDP_REDIRECT Horatiu Vultur

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