[PATCH bpf-next v6 0/2] virtio_net: add XDP meta data support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This patch series has 2 patches.

Patch 1/2: keep vnet header zeroed if XDP is loaded for small buffer
With this fix, we do not need to care about vnet header in XDP meta data
support for small buffer, even though XDP meta data uses in front of
packet as same as vnet header.
It would be best if this patch goes into stable.
This patch is based on the feedback by Jason Wang and Michael S. Tsirkin.
https://lore.kernel.org/netdev/9a0a1469-c8a7-8223-a4d5-dad656a142fc@xxxxxxxxxx/
https://lore.kernel.org/netdev/20200223031314-mutt-send-email-mst@xxxxxxxxxx/

Patch 2/2: add XDP meta data support

Thanks to Jason Wang, Daniel Borkmann and Michael S. Tsirkin for the feedback.

Yuya Kusakabe (2):
  virtio_net: keep vnet header zeroed if XDP is loaded for small buffer
  virtio_net: add XDP meta data support

 drivers/net/virtio_net.c | 56 ++++++++++++++++++++++++----------------
 1 file changed, 34 insertions(+), 22 deletions(-)

-- 
2.24.1




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux