[bionic:linux-azure][PATCH 0/3] LP:#1877654 - Add XDP support to hv_netvsc driver

Marcelo Henrique Cerri marcelo.cerri at canonical.com
Tue Jun 23 17:32:12 UTC 2020


BugLink: https://bugs.launchpad.net/bugs/1877654

As bug description. Clean cherry-picks from upstream.

Eoan and Bionic need additional backport so I'm submitting Focal
first since that's the priority.

Haiyang Zhang (3):
  hv_netvsc: Add XDP support
  hv_netvsc: Update document for XDP support
  hv_netvsc: Fix XDP refcnt for synthetic and VF NICs

 .../device_drivers/microsoft/netvsc.txt       |  21 ++
 drivers/net/hyperv/Makefile                   |   2 +-
 drivers/net/hyperv/hyperv_net.h               |  21 +-
 drivers/net/hyperv/netvsc.c                   |  31 ++-
 drivers/net/hyperv/netvsc_bpf.c               | 218 ++++++++++++++++++
 drivers/net/hyperv/netvsc_drv.c               | 186 ++++++++++++---
 drivers/net/hyperv/rndis_filter.c             |   2 +-
 7 files changed, 442 insertions(+), 39 deletions(-)
 create mode 100644 drivers/net/hyperv/netvsc_bpf.c

-- 
2.25.1




More information about the kernel-team mailing list