From: Matteo Croce <mcroce@xxxxxxxxxxxxx> 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