bpf.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/3] net: use XDP helpers
@ 2021-05-14 18:39 Matteo Croce
  2021-05-14 18:39 ` [PATCH net-next 1/3] stmmac: " Matteo Croce
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Matteo Croce @ 2021-05-14 18:39 UTC (permalink / raw)
  To: netdev, bpf, intel-wired-lan, linux-stm32, kvm, virtualization
  Cc: linux-kernel, Jesse Brandeburg, Tony Nguyen, David S. Miller,
	Jakub Kicinski, Giuseppe Cavallaro, Alexandre Torgue,
	Michael S. Tsirkin, Jason Wang

From: Matteo Croce <mcroce@microsoft.com>

The commit 43b5169d8355 ("net, xdp: Introduce xdp_init_buff utility
routine") and commit be9df4aff65f ("net, xdp: Introduce xdp_prepare_buff
utility routine") introduces two useful helpers to populate xdp_buff.
Use it in drivers which still open codes that routines.

Matteo Croce (3):
  stmmac: use XDP helpers
  igc: use XDP helpers
  vhost_net: use XDP helpers

 drivers/net/ethernet/intel/igc/igc_main.c         | 9 +++------
 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 9 +++------
 drivers/vhost/net.c                               | 6 ++----
 3 files changed, 8 insertions(+), 16 deletions(-)

-- 
2.31.1


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

end of thread, other threads:[~2021-05-14 22:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-05-14 18:39 [PATCH net-next 0/3] net: use XDP helpers Matteo Croce
2021-05-14 18:39 ` [PATCH net-next 1/3] stmmac: " Matteo Croce
2021-05-14 18:39 ` [PATCH net-next 2/3] igc: " Matteo Croce
2021-05-14 18:39 ` [PATCH net-next 3/3] vhost_net: " Matteo Croce
2021-05-14 22:30 ` [PATCH net-next 0/3] net: " 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;
as well as URLs for NNTP newsgroup(s).