Add XDP support to hv_netvsc driver

Bug #1877654 reported by Joseph Salisbury
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-azure (Ubuntu)
Fix Released
Undecided
Unassigned
Bionic
Invalid
Undecided
Unassigned
Eoan
Won't Fix
Undecided
Unassigned
Focal
Fix Released
Undecided
Unassigned
linux-azure-4.15 (Ubuntu)
New
Undecided
Unassigned
Bionic
Fix Released
Medium
Unassigned
Eoan
Invalid
Undecided
Unassigned
Focal
Invalid
Undecided
Unassigned

Bug Description

Microsoft would like to request the following three patches in all releases supported on Azure:

351e1581395fc (“hv_netvsc: Add XDP support”)
12fa74383ed4d (“hv_netvsc: Update document for XDP support”)
184367dce4f7 (“hv_netvsc: Fix XDP refcnt for synthetic and VF NICs”)

These patches add support of XDP in native mode to the hv_netvsc driver, and
transparently sets the XDP program on the associated VF NIC as well.

Marcelo Cerri (mhcerri)
Changed in linux-azure (Ubuntu Bionic):
status: New → Invalid
Changed in linux-azure (Ubuntu Eoan):
status: New → In Progress
Changed in linux-azure (Ubuntu Focal):
status: New → In Progress
Changed in linux-azure-4.15 (Ubuntu Focal):
status: New → Invalid
Changed in linux-azure-4.15 (Ubuntu Eoan):
status: New → Invalid
Changed in linux-azure-4.15 (Ubuntu Bionic):
status: New → Confirmed
Revision history for this message
Marcelo Cerri (mhcerri) wrote :
Changed in linux-azure (Ubuntu Eoan):
status: In Progress → Confirmed
Marcelo Cerri (mhcerri)
Changed in linux-azure (Ubuntu Focal):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package linux-azure - 5.4.0-1022.22

---------------
linux-azure (5.4.0-1022.22) focal; urgency=medium

  * focal/linux-azure: 5.4.0-1022.22 -proposed tracker (LP: #1887060)

  [ Ubuntu: 5.4.0-42.46 ]

  * focal/linux: 5.4.0-42.46 -proposed tracker (LP: #1887069)
  * linux 4.15.0-109-generic network DoS regression vs -108 (LP: #1886668)
    - SAUCE: Revert "netprio_cgroup: Fix unlimited memory leak of v2 cgroups"

linux-azure (5.4.0-1021.21) focal; urgency=medium

  * focal/linux-azure: 5.4.0-1021.21 -proposed tracker (LP: #1885845)

  * module intel_sgx appears to be blacklisted by the kernel. (LP: #1862201)
    - Revert "UBUNTU: [Packaging] linux-azure: Prevent intel_sgx from being
      automatically loaded"
    - [Packaging] linux-azure: Divert conf files blacklisting intel_sgx

  * Add XDP support to hv_netvsc driver (LP: #1877654)
    - hv_netvsc: Add XDP support
    - hv_netvsc: Update document for XDP support
    - hv_netvsc: Fix XDP refcnt for synthetic and VF NICs

  * Request to include two NUMA related commits in Azure kernels (LP: #1880975)
    - PCI: hv: Decouple the func definition in hv_dr_state from VSP message
    - PCI: hv: Add support for protocol 1.3 and support PCI_BUS_RELATIONS2

  [ Ubuntu: 5.4.0-41.45 ]

  * focal/linux: 5.4.0-41.45 -proposed tracker (LP: #1885855)
  * Packaging resync (LP: #1786013)
    - update dkms package versions
  * CVE-2019-19642
    - kernel/relay.c: handle alloc_percpu returning NULL in relay_open
  * CVE-2019-16089
    - SAUCE: nbd_genl_status: null check for nla_nest_start
  * CVE-2020-11935
    - aufs: do not call i_readcount_inc()
  * ip_defrag.sh in net from ubuntu_kernel_selftests failed with 5.0 / 5.3 / 5.4
    kernel (LP: #1826848)
    - selftests: net: ip_defrag: ignore EPERM
  * Update lockdown patches (LP: #1884159)
    - SAUCE: acpi: disallow loading configfs acpi tables when locked down
  * seccomp_bpf fails on powerpc (LP: #1885757)
    - SAUCE: selftests/seccomp: fix ptrace tests on powerpc
  * Introduce the new NVIDIA 418-server and 440-server series, and update the
    current NVIDIA drivers (LP: #1881137)
    - [packaging] add signed modules for the 418-server and the 440-server
      flavours

 -- Khalid Elmously <email address hidden> Fri, 10 Jul 2020 01:51:58 -0400

Changed in linux-azure (Ubuntu Focal):
status: Fix Committed → Fix Released
Changed in linux-azure (Ubuntu):
status: New → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote :

The Eoan Ermine has reached end of life, so this bug will not be fixed for that release

Changed in linux-azure (Ubuntu Eoan):
status: Confirmed → Won't Fix
Stefan Bader (smb)
Changed in linux-azure-4.15 (Ubuntu Bionic):
importance: Undecided → Medium
Changed in linux-azure-4.15 (Ubuntu Bionic):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (40.2 KiB)

This bug was fixed in the package linux-azure-4.15 - 4.15.0-1108.120

---------------
linux-azure-4.15 (4.15.0-1108.120) bionic; urgency=medium

  * bionic/linux-azure-4.15: 4.15.0-1108.120 -proposed tracker (LP: #1915371)

  * Add XDP support to hv_netvsc driver (LP: #1877654)
    - hv_netvsc: pass netvsc_device to receive callback
    - xdp: base API for new XDP rx-queue info concept
    - ixgbe: setup xdp_rxq_info
    - xdp/qede: setup xdp_rxq_info and intro xdp_rxq_info_is_reg
    - tun: setup xdp_rxq_info
    - virtio_net: setup xdp_rxq_info
    - xdp: generic XDP handling of xdp_rxq_info
    - tun/tap: use ptr_ring instead of skb_array
    - tuntap: XDP transmission
    - net: avoid including xdp.h in filter.h
    - virtio_net: fix ndo_xdp_xmit crash towards dev not ready for XDP
    - tuntap: XDP_TX can use native XDP
    - i40e: add support for XDP_REDIRECT
    - xdp: introduce xdp_return_frame API and use in cpumap
    - ixgbe: use xdp_return_frame API
    - xdp: move struct xdp_buff from filter.h to xdp.h
    - xdp: introduce a new xdp_frame type
    - tun: convert to use generic xdp_frame and xdp_return_frame API
    - virtio_net: convert to use generic xdp_frame and xdp_return_frame API
    - bpf: cpumap convert to use generic xdp_frame
    - i40e: convert to use generic xdp_frame and xdp_return_frame API
    - xdp: rhashtable with allocator ID to pointer mapping
    - page_pool: refurbish version of page_pool code
    - xdp: allow page_pool as an allocator type in xdp_return_frame
    - xdp: transition into using xdp_frame for return API
    - xdp: transition into using xdp_frame for ndo_xdp_xmit
    - xsk: add user memory registration support sockopt
    - xsk: add umem fill queue support and mmap
    - xsk: add Rx queue setup and mmap support
    - xsk: add support for bind for Rx
    - xsk: add Rx receive functions and poll support
    - bpf: devmap introduce dev_map_enqueue
    - bpf: devmap prepare xdp frames for bulking
    - xdp: introduce xdp_return_frame_rx_napi
    - xdp: add MEM_TYPE_ZERO_COPY
    - hv_netvsc: Add support for LRO/RSC in the vSwitch
    - hv_netvsc: Refactor assignments of struct netvsc_device_info
    - hv_netvsc: Add XDP support
    - hv_netvsc: Update document for XDP support
    - hv_netvsc: Fix XDP refcnt for synthetic and VF NICs

  * Sync FSGSBASE patches in azure kernel with mainline (LP: #1913294)
    - x86/kvm/vmx: read MSR_{FS, KERNEL_GS}_BASE from current->thread
    - x86/process/64: Make save_fsgs_for_kvm() ready for FSGSBASE
    - x86/entry/64: Do not use RDPID in paranoid entry to accomodate KVM

  * Disable Atari partition support for cloud kernels (LP: #1908264)
    - [Config] azure: Disable ATARI_PARTITION

  * Enable boot from NVMe device for all images (LP: #1908571)
    - [Config] azure: CONFIG_PCI_HYPERV=y

  [ Ubuntu: 4.15.0-136.140 ]

  * bionic/linux: 4.15.0-136.140 -proposed tracker (LP: #1913117)
  * Packaging resync (LP: #1786013)
    - update dkms package versions
    - update dkms package versions
  * Introduce the new NVIDIA 460-server series and update the 460 series
    (LP: #1913200)
    - [Config] dkms-versions -- drop NVIDIA 435 455 and 440-server
    - [Config] dkms...

Changed in linux-azure-4.15 (Ubuntu Bionic):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.