BPF List
 help / color / mirror / Atom feed
* [PATCH net-next v4 0/3] net: ti: icssg-prueth: Add native mode XDP support
@ 2025-03-05 10:14 Meghana Malladi
  2025-03-05 10:14 ` [PATCH net-next v4 1/3] net: ti: icssg-prueth: Use page_pool API for RX buffer allocation Meghana Malladi
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Meghana Malladi @ 2025-03-05 10:14 UTC (permalink / raw)
  To: rogerq, danishanwar, pabeni, kuba, edumazet, davem, andrew+netdev
  Cc: bpf, linux-arm-kernel, linux-kernel, netdev, matthias.schiffer,
	krzysztof.kozlowski, dan.carpenter, m-malladi, diogo.ivo, s.hauer,
	glaroque, schnelle, arnd, john.fastabend, hawk, daniel, ast, srk,
	Vignesh Raghavendra

This series adds native XDP support using page_pool.
XDP zero copy support is not included in this patch series.

Patch 1/3: Replaces skb with page pool for Rx buffer allocation
Patch 2/3: Adds prueth_swdata struct for SWDATA for all swdata cases
Patch 3/3: Introduces native mode XDP support

v3: https://lore.kernel.org/all/20250224110102.1528552-1-m-malladi@ti.com/

Changes since v3 (v4-v3):
1/3:
- Get rid of skb from Rx management code in SR1 as suggested by 
Roger Quadros <rogerq@kernel.org>
2/3:
- remove SWDATA size information from commit message
- Fix handling of packets for non-skb type inside emac_tx_complete_packets()
- Remove incrementing budget for incorrect swdata type
- use PRUETH_SWDATA_CMD in emac_send_command_sr1()
All the above changes are suggested by Roger Quadros <rogerq@kernel.org> and
Dan Carpenter <dan.carpenter@linaro.org>
3/3:
- few cosmetic changes inside emac_xmit_xdp_frame() func
- change xdp_state type to u32 from int
Above changes are suggested by Dan Carpenter <dan.carpenter@linaro.org>
- Few improvements in emac_run_xdp case handling as suggested by 
Roger Quadros <rogerq@kernel.org>

Roger Quadros (3):
  net: ti: icssg-prueth: Use page_pool API for RX buffer allocation
  net: ti: icssg-prueth: introduce and use prueth_swdata struct for
    SWDATA
  net: ti: icssg-prueth: Add XDP support

 drivers/net/ethernet/ti/Kconfig               |   1 +
 drivers/net/ethernet/ti/icssg/icssg_common.c  | 417 ++++++++++++++----
 drivers/net/ethernet/ti/icssg/icssg_prueth.c  | 131 +++++-
 drivers/net/ethernet/ti/icssg/icssg_prueth.h  |  47 +-
 .../net/ethernet/ti/icssg/icssg_prueth_sr1.c  |  58 ++-
 5 files changed, 541 insertions(+), 113 deletions(-)


base-commit: f77f12010f67259bd0e1ad18877ed27c721b627a
-- 
2.43.0


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

end of thread, other threads:[~2025-03-11 10:19 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-03-05 10:14 [PATCH net-next v4 0/3] net: ti: icssg-prueth: Add native mode XDP support Meghana Malladi
2025-03-05 10:14 ` [PATCH net-next v4 1/3] net: ti: icssg-prueth: Use page_pool API for RX buffer allocation Meghana Malladi
2025-03-05 10:14 ` [PATCH net-next v4 2/3] net: ti: icssg-prueth: introduce and use prueth_swdata struct for SWDATA Meghana Malladi
2025-03-05 10:14 ` [PATCH net-next v4 3/3] net: ti: icssg-prueth: Add XDP support Meghana Malladi
2025-03-11 10:20 ` [PATCH net-next v4 0/3] net: ti: icssg-prueth: Add native mode " 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