OpenCloudOS-Kernel/drivers/vhost
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
..
Kconfig vhost_vdpa: implement IRQ offloading in vhost_vdpa 2020-08-05 11:08:42 -04:00
Makefile vhost: introduce vDPA-based backend 2020-04-02 10:41:40 -04:00
iotlb.c vhost: Fix documentation 2020-09-24 05:54:36 -04:00
net.c vhost_net: use XDP helpers 2021-05-14 15:20:10 -07:00
scsi.c scsi: target: vhost-scsi: Use LIO wq cmd submission helper 2021-03-04 17:37:02 -05:00
test.c tools/virtio: Add --reset 2020-06-22 12:34:21 -04:00
test.h tools/virtio: Add --reset 2020-06-22 12:34:21 -04:00
vdpa.c virtio,vhost,vdpa: features, fixes 2021-05-05 13:31:39 -07:00
vhost.c vhost: Fix vhost_vq_reset() 2021-03-14 18:06:33 -04:00
vhost.h vhost: add helper to check if a vq has been setup 2020-11-15 17:30:54 -05:00
vringh.c vringh: implement vringh_kiov_advance() 2021-05-03 04:55:53 -04:00
vsock.c vhost/vsock: add IOTLB API support 2020-12-27 05:49:01 -05:00