[Kernel-packages] [Bug 1667007] Re: [Hyper-V] Mellanox VF driver does not support >16 vCPUs

2017-03-16 Thread Joseph Salisbury
*** This bug is a duplicate of bug 1667527 ***
https://bugs.launchpad.net/bugs/1667527

I built a Xenial test kernel with all the patches from the following
bugs:

bug 1670518
 PCI: hv: Allocate physically contiguous hypercall params buffer
 PCI: hv: Make unnecessarily global IRQ masking functions static
 PCI: hv: Delete the device earlier from hbus->children for hot-remove
 PCI: hv: Fix hv_pci_remove() for hot-remove

bug 1672785 
 net/mlx4_core: Avoid delays during VF driver device shutdown

bug 1667531 
 tools: hv: Enable network manager for bonding scripts on RH
 [net-next] tools: hv: Add clean up function for Ubuntu config
 bcc5a76 tools: hv: Add a script to help bonding synthetic and VF NICs  

bug 1667527
4a9b0933bdfc PCI: hv: Use device serial number as PCI domain

bug 1667007 
d3de209 net/mlx4_core: Use cq quota in SRIOV when creating completion 
EQs

bug 1650058 
14c84da90b0d net/mlx4_en: Fix bad WQE issue
c46100f413ca net/mlx4_core: Fix racy CQ (Completion Queue) free
f4f73e2e6308 net/mlx4_core: Fix when to save some qp context flags for 
dynamic VST to VGT transitions
3c05ac20fe6e net/mlx4_core: Avoid command timeouts during VF driver 
device shutdown


The test kernel can be downloaded from:
http://kernel.ubuntu.com/~jsalisbury/HyperVCombined/

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

Title:
  [Hyper-V] Mellanox VF driver does not support >16 vCPUs

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Xenial:
  In Progress

Bug description:
  In the course of enabling SR-IOV on Azure, discovered that the
  Mellanox Driver with 16 or more vCPUs fails. Mellanox has submitted
  the following patch upstream to correct this problem.

  Prerequisite:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1650058

  I will post the upstream commit once it lands.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667007/+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


[Kernel-packages] [Bug 1667007] Re: [Hyper-V] Mellanox VF driver does not support >16 vCPUs

2017-02-28 Thread Joseph Salisbury
*** This bug is a duplicate of bug 1667527 ***
https://bugs.launchpad.net/bugs/1667527

** This bug has been marked a duplicate of bug 1667527
   [Hyper-V] pci-hyperv: Use device serial number as PCI domain

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

Title:
  [Hyper-V] Mellanox VF driver does not support >16 vCPUs

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Xenial:
  In Progress

Bug description:
  In the course of enabling SR-IOV on Azure, discovered that the
  Mellanox Driver with 16 or more vCPUs fails. Mellanox has submitted
  the following patch upstream to correct this problem.

  Prerequisite:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1650058

  I will post the upstream commit once it lands.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667007/+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


[Kernel-packages] [Bug 1667007] Re: [Hyper-V] Mellanox VF driver does not support >16 vCPUs

2017-02-23 Thread Joshua R. Poulson
Thanks! We'll give it a try.

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

Title:
  [Hyper-V] Mellanox VF driver does not support >16 vCPUs

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Xenial:
  In Progress

Bug description:
  In the course of enabling SR-IOV on Azure, discovered that the
  Mellanox Driver with 16 or more vCPUs fails. Mellanox has submitted
  the following patch upstream to correct this problem.

  Prerequisite:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1650058

  I will post the upstream commit once it lands.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667007/+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


[Kernel-packages] [Bug 1667007] Re: [Hyper-V] Mellanox VF driver does not support >16 vCPUs

2017-02-23 Thread Joseph Salisbury
I built a v2 of the test kernel.  This kernel included the patch for
this bug and all the prereq patches from bug 1650058.  The test kernel
can be downloaded from:

http://kernel.ubuntu.com/~jsalisbury/lp1667007/xenial/

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

Title:
  [Hyper-V] Mellanox VF driver does not support >16 vCPUs

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Xenial:
  In Progress

Bug description:
  In the course of enabling SR-IOV on Azure, discovered that the
  Mellanox Driver with 16 or more vCPUs fails. Mellanox has submitted
  the following patch upstream to correct this problem.

  Prerequisite:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1650058

  I will post the upstream commit once it lands.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667007/+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


[Kernel-packages] [Bug 1667007] Re: [Hyper-V] Mellanox VF driver does not support >16 vCPUs

2017-02-22 Thread Joseph Salisbury
I built a Xenial test kernel with the requested patch, which can be downloaded 
from:
http://kernel.ubuntu.com/~jsalisbury/lp1667007/xenial/

Can you test this kernel an see if it resolves this bug?

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

Title:
  [Hyper-V] Mellanox VF driver does not support >16 vCPUs

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Xenial:
  In Progress

Bug description:
  In the course of enabling SR-IOV on Azure, discovered that the
  Mellanox Driver with 16 or more vCPUs fails. Mellanox has submitted
  the following patch upstream to correct this problem.

  Prerequisite:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1650058

  I will post the upstream commit once it lands.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667007/+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


[Kernel-packages] [Bug 1667007] Re: [Hyper-V] Mellanox VF driver does not support >16 vCPUs

2017-02-22 Thread Ubuntu Foundations Team Bug Bot
** Tags added: patch

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

Title:
  [Hyper-V] Mellanox VF driver does not support >16 vCPUs

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Xenial:
  In Progress

Bug description:
  In the course of enabling SR-IOV on Azure, discovered that the
  Mellanox Driver with 16 or more vCPUs fails. Mellanox has submitted
  the following patch upstream to correct this problem.

  Prerequisite:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1650058

  I will post the upstream commit once it lands.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667007/+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


[Kernel-packages] [Bug 1667007] Re: [Hyper-V] Mellanox VF driver does not support >16 vCPUs

2017-02-22 Thread Joseph Salisbury
** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Also affects: linux (Ubuntu Xenial)
   Importance: Undecided
   Status: New

** Changed in: linux (Ubuntu Xenial)
   Importance: Undecided => Medium

** Changed in: linux (Ubuntu Xenial)
   Status: New => In Progress

** Changed in: linux (Ubuntu)
   Status: Confirmed => In Progress

** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Joseph Salisbury (jsalisbury)

** Changed in: linux (Ubuntu Xenial)
 Assignee: (unassigned) => Joseph Salisbury (jsalisbury)

** Tags added: kernel-da-key kernel-hyper-v xenial

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

Title:
  [Hyper-V] Mellanox VF driver does not support >16 vCPUs

Status in linux package in Ubuntu:
  In Progress
Status in linux source package in Xenial:
  In Progress

Bug description:
  In the course of enabling SR-IOV on Azure, discovered that the
  Mellanox Driver with 16 or more vCPUs fails. Mellanox has submitted
  the following patch upstream to correct this problem.

  Prerequisite:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1650058

  I will post the upstream commit once it lands.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667007/+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


[Kernel-packages] [Bug 1667007] Re: [Hyper-V] Mellanox VF driver does not support >16 vCPUs

2017-02-22 Thread Joshua R. Poulson
** Changed in: linux (Ubuntu)
   Status: Incomplete => Confirmed

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

Title:
  [Hyper-V] Mellanox VF driver does not support >16 vCPUs

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  In the course of enabling SR-IOV on Azure, discovered that the
  Mellanox Driver with 16 or more vCPUs fails. Mellanox has submitted
  the following patch upstream to correct this problem.

  Prerequisite:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1650058

  I will post the upstream commit once it lands.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667007/+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


[Kernel-packages] [Bug 1667007] Re: [Hyper-V] Mellanox VF driver does not support >16 vCPUs

2017-02-22 Thread Joshua R. Poulson
(lkml)

From: Jack Morgenstein 

When creating EQs to handle CQ completion events for the PF
or for VFs, we create enough EQE entries to handle completions
for the max number of CQs that can use that EQ.

When SRIOV is activated, the max number of CQs a VF (or the PF) can
obtain is its CQ quota (determined by the Hypervisor resource tracker).
Therefore, when creating an EQ, the number of EQE entries that the VF
should request for that EQ is the CQ quota value (and not the total
number of CQs available in the FW).

Under SRIOV, the PF, also must use its CQ quota, because
the resource tracker also controls how many CQs the PF can obtain.

Using the FW total CQs instead of the CQ quota when creating EQs resulted
wasting MTT entries, due to allocating more EQEs than were needed.

Fixes: 5a0d0a6161ae ("mlx4: Structures and init/teardown for VF resource 
quotas")
Signed-off-by: Jack Morgenstein 
Reported-by: Dexuan Cui 
Signed-off-by: Tariq Toukan 

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

Title:
  [Hyper-V] Mellanox VF driver does not support >16 vCPUs

Status in linux package in Ubuntu:
  New

Bug description:
  In the course of enabling SR-IOV on Azure, discovered that the
  Mellanox Driver with 16 or more vCPUs fails. Mellanox has submitted
  the following patch upstream to correct this problem.

  Prerequisite:
  https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1650058

  I will post the upstream commit once it lands.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1667007/+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