Matteo Croce 224bf7db55 vhost_net: use XDP helpers
Make use of the xdp_{init,prepare}_buff() helpers instead of
an open-coded version.

Also, the field xdp->rxq was never set, so pass NULL to xdp_init_buff()
to clear it.

Signed-off-by: Matteo Croce <mcroce@microsoft.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2021-05-14 15:20:10 -07:00
..
2020-09-24 05:54:36 -04:00
2020-04-02 10:41:40 -04:00
2021-05-14 15:20:10 -07:00
2020-06-22 12:34:21 -04:00
2020-06-22 12:34:21 -04:00
2021-05-05 13:31:39 -07:00
2021-03-14 18:06:33 -04:00
2020-12-27 05:49:01 -05:00