netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] mvneta: access skb_shared_info only on last frag
@ 2020-11-20 17:05 Lorenzo Bianconi
  2020-11-20 17:05 ` [PATCH net-next 1/3] net: mvneta: avoid unnecessary xdp_buff initialization Lorenzo Bianconi
                   ` (4 more replies)
  0 siblings, 5 replies; 11+ messages in thread
From: Lorenzo Bianconi @ 2020-11-20 17:05 UTC (permalink / raw)
  To: netdev; +Cc: lorenzo.bianconi, davem, kuba, brouer, echaudro, john.fastabend

Build skb_shared_info on mvneta_rx_swbm stack and sync it to xdp_buff
skb_shared_info area only on the last fragment.
Avoid avoid unnecessary xdp_buff initialization in mvneta_rx_swbm routine.
This a preliminary series to complete xdp multi-buff in mvneta driver.

Lorenzo Bianconi (3):
  net: mvneta: avoid unnecessary xdp_buff initialization
  net: mvneta: move skb_shared_info in mvneta_xdp_put_buff
  net: mvneta: alloc skb_shared_info on the mvneta_rx_swbm stack

 drivers/net/ethernet/marvell/mvneta.c | 55 +++++++++++++++++----------
 1 file changed, 35 insertions(+), 20 deletions(-)

-- 
2.26.2


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

end of thread, other threads:[~2020-11-24 23:10 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-20 17:05 [PATCH net-next 0/3] mvneta: access skb_shared_info only on last frag Lorenzo Bianconi
2020-11-20 17:05 ` [PATCH net-next 1/3] net: mvneta: avoid unnecessary xdp_buff initialization Lorenzo Bianconi
2020-11-20 17:05 ` [PATCH net-next 2/3] net: mvneta: move skb_shared_info in mvneta_xdp_put_buff caller Lorenzo Bianconi
2020-11-20 17:05 ` [PATCH net-next 3/3] net: mvneta: alloc skb_shared_info on the mvneta_rx_swbm stack Lorenzo Bianconi
2020-11-20 23:10 ` [PATCH net-next 0/3] mvneta: access skb_shared_info only on last frag Jesse Brandeburg
2020-11-24 20:26 ` Jakub Kicinski
2020-11-24 22:18   ` Lorenzo Bianconi
2020-11-24 22:25     ` Daniel Borkmann
2020-11-24 22:30       ` Jakub Kicinski
2020-11-24 23:00         ` Daniel Borkmann
2020-11-24 23:10           ` Jakub Kicinski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).