** Also affects: linux-azure-4.15 (Ubuntu)
   Importance: Undecided
       Status: New

** Also affects: linux-azure (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: linux-azure-4.15 (Ubuntu Bionic)
   Importance: Undecided
       Status: New

** Also affects: linux-azure (Ubuntu Eoan)
   Importance: Undecided
       Status: New

** Also affects: linux-azure-4.15 (Ubuntu Eoan)
   Importance: Undecided
       Status: New

** Changed in: linux-azure (Ubuntu Bionic)
       Status: New => Invalid

** Changed in: linux-azure-4.15 (Ubuntu Eoan)
       Status: New => Invalid

** Changed in: linux-azure (Ubuntu Eoan)
       Status: New => In Progress

** Changed in: linux-azure-4.15 (Ubuntu Bionic)
       Status: New => In Progress

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux-azure in Ubuntu.
https://bugs.launchpad.net/bugs/1867220

Title:
  Assignment of VDEV Somtimes Fails using Intel QAT

Status in linux-azure package in Ubuntu:
  New
Status in linux-azure-4.15 package in Ubuntu:
  New
Status in linux-azure source package in Bionic:
  Invalid
Status in linux-azure-4.15 source package in Bionic:
  In Progress
Status in linux-azure source package in Eoan:
  In Progress
Status in linux-azure-4.15 source package in Eoan:
  Invalid

Bug description:
  The QAT is a PCIe device which supports SR-IOV.  It is used to
  accelerate the crypto and compression operations by hardware.

  There is additional info for this hardware on the Intel website: 
  
https://www.intel.com/content/www/us/en/products/docs/network-io/ethernet/10-25-40-gigabit-adapters/quickassist-adapter-for-servers.html
  https://01.org/intel-quick-assist-technology

  On Ubuntu, when the QAT device is enabled with SR-IOV, one device will have 
16 VFs.
  When we assign the VDEV to Linux VM, sometimes, it will fail but sometimes it 
will not.

  
  This issue was debugged and is resolved by applying three patches and 
removing some buggy code that was added as SAUCE.  The following three patches 
are needed:

  f73f8a504e27 PCI: hv: Use bytes 4 and 5 from instance ID as the PCI domain 
numbers
  be700103efd1 PCI: hv: Detect and fix Hyper-V PCI domain number collision
  6ae91579061c PCI: hv: Add __aligned(8) to struct retarget_msi_interrupt

  
  Also, revert the patch Revert "PCI: hv: Make sure the bus domain is really 
unique", i.e. the line "if (list_empty(&hbus->children)) hbus->sysdata.domain = 
desc->ser" in new_pcichild_device() should be completely removed.

  The patch “UBUNTU: SAUCE: pci-hyperv: Use only 16 bit integer for PCI
  domai” is also pointless now.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-azure/+bug/1867220/+subscriptions

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to