[Hyper-V] Improvements for UDP on SRIOV

Bug #1756414 reported by Joshua R. Poulson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-azure (Ubuntu)
Fix Released
High
Marcelo Cerri
Bionic
Fix Released
High
Marcelo Cerri
linux-azure-edge (Ubuntu)
New
Undecided
Unassigned
Xenial
Fix Released
High
Marcelo Cerri

Bug Description

https://git.kernel.org/pub/scm/linux/kernel/git/davem/net.git/commit/?id=a7f0fb1bfb66ded5d556d6723d691b77a7146b6f

hv_netvsc: minor fixes

These are improvements to netvsc driver. They aren't functionality
changes so not targeting net-next; and they are not show stopper
bugs that need to go to stable either.

v2
   - drop the irq flags patch, defer it to net-next
   - split the multicast filter flag patch out
   - change propogate rx mode patch to handle startup of vf

Of these patches in the set is very important for fixing UDP performance on SRIOV after Meltdown:

hv_netvsc: defer queue selection to VF
When VF is used for accelerated networking it will likely have
more queues (and different policy) than the synthetic NIC.
This patch defers the queue policy to the VF so that all the
queues can be used. This impacts workloads like local generate UDP.

Signed-off-by: Stephen Hemminger <email address hidden>
Signed-off-by: David S. Miller <email address hidden>

Marcelo Cerri (mhcerri)
no longer affects: linux-azure (Ubuntu Xenial)
no longer affects: linux-azure-edge (Ubuntu Bionic)
Changed in linux-azure (Ubuntu Bionic):
assignee: nobody → Marcelo Cerri (mhcerri)
Changed in linux-azure-edge (Ubuntu Xenial):
assignee: nobody → Marcelo Cerri (mhcerri)
status: New → In Progress
importance: Undecided → Critical
Changed in linux-azure (Ubuntu Bionic):
importance: Undecided → High
Changed in linux-azure-edge (Ubuntu Xenial):
importance: Critical → High
Marcelo Cerri (mhcerri)
Changed in linux-azure-edge (Ubuntu Xenial):
status: In Progress → Fix Committed
Revision history for this message
Marcelo Cerri (mhcerri) wrote :

Should we include those changes to the 4.13 azure kernel in xenial?

Revision history for this message
Joshua R. Poulson (jrp) wrote :

I'd rather move to the 4.15 kernel than spend time applying these patches to 4.13.

Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (113.2 KiB)

This bug was fixed in the package linux-azure-edge - 4.15.0-1005.5

---------------
linux-azure-edge (4.15.0-1005.5) xenial; urgency=medium

  * linux-azure-edge: 4.15.0-1005.5 -proposed tracker (LP: #1759923)

  * [Hyper-V] hv_netvsc: enable multicast if necessary (LP: #1759885)
    - hv_netvsc: fix filter flags
    - SAUCE: hv_netvsc: enable multicast if necessary

linux-azure-edge (4.15.0-1004.4) xenial; urgency=medium

  * linux-azure-edge: 4.15.0-1004.4 -proposed tracker (LP: #1759673)

  * [Hyper-V][linux-azure] Change config for MLX4 and MLX5 (LP: #1759656)
    - [Config] azure: CONFIG_MLX{4,5}_INFINIBAND=y

  * [Hyper-V] Improvements for UDP on SRIOV (LP: #1756414)
    - SAUCE: hv_netvsc: avoid retry on send during shutdown
    - SAUCE: hv_netvsc: only wake transmit queue if link is up
    - SAUCE: hv_netvsc: fix error unwind handling if vmbus_open fails
    - SAUCE: hv_netvsc: cancel subchannel setup before halting device
    - SAUCE: hv_netvsc: fix race in napi poll when rescheduling
    - SAUCE: hv_netvsc: use napi_schedule_irqoff
    - SAUCE: hv_netvsc: defer queue selection to VF
    - SAUCE: hv_netvsc: filter multicast/broadcast
    - SAUCE: hv_netvsc: propagate rx filters to VF

  * [Hyper-V] PCI: hv: Fix 2 hang issues in hv_compose_msi_msg (LP: #1758378)
    - SAUCE: PCI: hv: Serialize the present and eject work items
    - SAUCE: PCI: hv: Fix 2 hang issues in hv_compose_msi_msg()
    - SAUCE: PCI: hv: Fix a comment typo in _hv_pcifront_read_config()
    - SAUCE: PCI: hv: Remove the bogus test in hv_eject_device_work()
    - SAUCE: PCI: hv: Only queue new work items in hv_pci_devices_present() if
      necessary

linux-azure-edge (4.15.0-1003.3) xenial; urgency=medium

  * linux-azure-edge: 4.15.0-1003.3 -proposed tracker (LP: #1755769)

  * linux-azure: 4.15.0-1003.3 -proposed tracker (LP: #1757167)

  * Enable secure boot on linux-azure (LP: #1754042)
    - Revert "UBUNTU: [debian] azure: do not build uefi signed binary"

  * [Hyper-v] Set CONFIG_I2C_PIIX4 to "n" (LP: #1752999)
    - [Config] azure: CONFIG_I2C_PIIX4=n

  * [Hyper-V] set config: CONFIG_EDAC_DECODE_MCE=y (LP: #1751123)
    - [Config] azure: CONFIG_EDAC_DECODE_MCE=y

  * Miscellaneous Ubuntu changes
    - [Config] updateconfigs after rebase to Ubuntu-4.15.0-13.14
    - [Config] fix up retpoline abi files

  [ Ubuntu: 4.15.0-13.14 ]

  * linux: 4.15.0-13.14 -proposed tracker (LP: #1756408)
  * devpts: handle bind-mounts (LP: #1755857)
    - SAUCE: devpts: hoist out check for DEVPTS_SUPER_MAGIC
    - SAUCE: devpts: resolve devpts bind-mounts
    - SAUCE: devpts: comment devpts_mntget()
    - SAUCE: selftests: add devpts selftests
  * [bionic][arm64] d-i: add hisi_sas_v3_hw to scsi-modules (LP: #1756103)
    - d-i: add hisi_sas_v3_hw to scsi-modules
  * [Bionic][ARM64] enable ROCE and HNS3 driver support for hip08 SoC
    (LP: #1756097)
    - RDMA/hns: Refactor eq code for hip06
    - RDMA/hns: Add eq support of hip08
    - RDMA/hns: Add detailed comments for mb() call
    - RDMA/hns: Add rq inline data support for hip08 RoCE
    - RDMA/hns: Update the usage of sr_max and rr_max field
    - RDMA/hns: Set access flags of hip08 RoCE
    - RDMA/hns: Filter for zero l...

Changed in linux-azure-edge (Ubuntu Xenial):
status: Fix Committed → Fix Released
Marcelo Cerri (mhcerri)
Changed in linux-azure (Ubuntu Bionic):
status: New → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (41.9 KiB)

This bug was fixed in the package linux-azure - 4.15.0-1004.4

---------------
linux-azure (4.15.0-1004.4) bionic; urgency=medium

  * linux-azure: 4.15.0-1004.4 -proposed tracker (LP: #1761181)

  * [Hyper-V] hv_netvsc: enable multicast if necessary (LP: #1759885)
    - hv_netvsc: fix filter flags
    - SAUCE: hv_netvsc: enable multicast if necessary

  * [Hyper-V][linux-azure] Change config for MLX4 and MLX5 (LP: #1759656)
    - [Config] azure: CONFIG_MLX{4,5}_INFINIBAND=y

  * [Hyper-V] Improvements for UDP on SRIOV (LP: #1756414)
    - SAUCE: hv_netvsc: avoid retry on send during shutdown
    - SAUCE: hv_netvsc: only wake transmit queue if link is up
    - SAUCE: hv_netvsc: fix error unwind handling if vmbus_open fails
    - SAUCE: hv_netvsc: cancel subchannel setup before halting device
    - SAUCE: hv_netvsc: fix race in napi poll when rescheduling
    - SAUCE: hv_netvsc: use napi_schedule_irqoff
    - SAUCE: hv_netvsc: defer queue selection to VF
    - SAUCE: hv_netvsc: filter multicast/broadcast
    - SAUCE: hv_netvsc: propagate rx filters to VF

  * [Hyper-V] PCI: hv: Fix 2 hang issues in hv_compose_msi_msg (LP: #1758378)
    - SAUCE: PCI: hv: Serialize the present and eject work items
    - SAUCE: PCI: hv: Fix 2 hang issues in hv_compose_msi_msg()
    - SAUCE: PCI: hv: Fix a comment typo in _hv_pcifront_read_config()
    - SAUCE: PCI: hv: Remove the bogus test in hv_eject_device_work()
    - SAUCE: PCI: hv: Only queue new work items in hv_pci_devices_present() if
      necessary

  * Miscellaneous Ubuntu changes
    - [Packaging] Only install cloud init files when do_tools_common=true

  [ Ubuntu: 4.15.0-15.16 ]

  * linux: 4.15.0-15.16 -proposed tracker (LP: #1761177)
  * FFe: Enable configuring resume offset via sysfs (LP: #1760106)
    - PM / hibernate: Make passing hibernate offsets more friendly
  * /dev/bcache/by-uuid links not created after reboot (LP: #1729145)
    - SAUCE: (no-up) bcache: decouple emitting a cached_dev CHANGE uevent
  * Ubuntu18.04:POWER9:DD2.2 - Unable to start a KVM guest with default machine
    type(pseries-bionic) complaining "KVM implementation does not support
    Transactional Memory, try cap-htm=off" (kvm) (LP: #1752026)
    - powerpc: Use feature bit for RTC presence rather than timebase presence
    - powerpc: Book E: Remove unused CPU_FTR_L2CSR bit
    - powerpc: Free up CPU feature bits on 64-bit machines
    - powerpc: Add CPU feature bits for TM bug workarounds on POWER9 v2.2
    - powerpc/powernv: Provide a way to force a core into SMT4 mode
    - KVM: PPC: Book3S HV: Work around transactional memory bugs in POWER9
    - KVM: PPC: Book3S HV: Work around XER[SO] bug in fake suspend mode
    - KVM: PPC: Book3S HV: Work around TEXASR bug in fake suspend state
  * Important Kernel fixes to be backported for Power9 (kvm) (LP: #1758910)
    - powerpc/mm: Fixup tlbie vs store ordering issue on POWER9
  * Ubuntu 18.04 - IO Hang on some namespaces when running HTX with 16
    namespaces (Bolt / NVMe) (LP: #1757497)
    - powerpc/64s: Fix lost pending interrupt due to race causing lost update to
      irq_happened
  * fwts-efi-runtime-dkms 18.03.00-0ubuntu1: fwts-efi-runtime-dkms kernel module
    fa...

Changed in linux-azure (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.