[Kernel-packages] [Bug 1621474] Re: VLAN creation fails with VF multi queueuing

2016-11-08 Thread Launchpad Bug Tracker
[Expired for linux (Ubuntu) because there has been no activity for 60
days.]

** Changed in: linux (Ubuntu)
   Status: Incomplete => Expired

-- 
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/1621474

Title:
  VLAN creation fails with VF multi queueuing

Status in linux package in Ubuntu:
  Expired

Bug description:
  Description
  

  It can be read in SR-IOV companion guide that 82599 chipsets :

  * The 82599 has 128 Transmit and 128 Receive queues. They are generally 
referred to/thought of as queue pairs (1 Transmit and 1 Receive queue). This 
gives the 82599 128 queue pairs.
  * The 82599 has up to 64 pools, with each pool having two queue pairs in 
it. That is two Transmit and Receive queue assigned to each VF.
  * The 82599 allows for a variable configuration for the number of pools. 
In SR-IOV mode, there can be 16, 32 or 64 pools.

  The last line suggest using combined queues of 2, 4 and 8.

  The only way, for now we found, is using tc on the host especially as the 
ethtool command is not supported (ethtool -L eth10 combined 8 for example).
  And, with following command "tc qdisc add dev eth10 root mqprio num_tc 8", we 
will be able to use up to 8 combined queues on the host PF and guests which are 
using VFs.
  Yet, with 8 combined queues with tc commnad, VLAN creation was not permitted.

  Following driver versions have been used on host and guest to enable this 
multiqueue option:
* 4.3.15 ixgbe in the host
* 3.1.2  ixgbevf in the guest

  To reproduce
  -

  On the host side
  

  root@ubuntu1404:~# rmmod ixgbe
  root@ubuntu1404:~# modprobe ixgbe
  [ 4817.027637] ixgbe :05:00.0: failed to load because an unsupported SFP+ 
or QSFP module type was detected.
  [ 4817.038630] ixgbe :05:00.0: Reload the driver after installing a 
supported module.
  [ 4817.418360] ixgbe :41:00.1: failed to load because an unsupported SFP+ 
or QSFP module type was detected.
  [ 4817.429354] ixgbe :41:00.1: Reload the driver after installing a 
supported module.
  [ 4817.838086] ixgbe :43:00.0: failed to load because an unsupported SFP+ 
or QSFP module type was detected.
  [ 4817.849091] ixgbe :43:00.0: Reload the driver after installing a 
supported module.
  [ 4817.889189] ixgbe :43:00.1: failed to load because an unsupported SFP+ 
or QSFP module type was detected.
  [ 4817.900178] ixgbe :43:00.1: Reload the driver after installing a 
supported module.
  [ 4817.940318] ixgbe :44:00.0: failed to load because an unsupported SFP+ 
or QSFP module type was detected.
  [ 4817.951357] ixgbe :44:00.0: Reload the driver after installing a 
supported module.
  root@ubuntu1404:~# modinfo ixgbe
  filename:   
/lib/modules/3.13.0-91-generic/updates/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
  version:4.3.15
  license:GPL
  description:Intel(R) 10 Gigabit PCI Express Network Driver
  author: Intel Corporation, 
  srcversion: 7AED484083B2C5B86424A3A
  alias:  pci:v8086d15ADsv*sd*bc*sc*i*
  alias:  pci:v8086d15ACsv*sd*bc*sc*i*
  alias:  pci:v8086d15ABsv*sd*bc*sc*i*
  alias:  pci:v8086d15AAsv*sd*bc*sc*i*
  alias:  pci:v8086d15D1sv*sd*bc*sc*i*
  alias:  pci:v8086d1563sv*sd*bc*sc*i*
  alias:  pci:v8086d1560sv*sd*bc*sc*i*
  alias:  pci:v8086d1558sv*sd*bc*sc*i*
  alias:  pci:v8086d154Asv*sd*bc*sc*i*
  alias:  pci:v8086d1557sv*sd*bc*sc*i*
  alias:  pci:v8086d154Fsv*sd*bc*sc*i*
  alias:  pci:v8086d154Dsv*sd*bc*sc*i*
  alias:  pci:v8086d1528sv*sd*bc*sc*i*
  alias:  pci:v8086d10F8sv*sd*bc*sc*i*
  alias:  pci:v8086d151Csv*sd*bc*sc*i*
  alias:  pci:v8086d1529sv*sd*bc*sc*i*
  alias:  pci:v8086d152Asv*sd*bc*sc*i*
  alias:  pci:v8086d10F9sv*sd*bc*sc*i*
  alias:  pci:v8086d1514sv*sd*bc*sc*i*
  alias:  pci:v8086d1507sv*sd*bc*sc*i*
  alias:  pci:v8086d10FBsv*sd*bc*sc*i*
  alias:  pci:v8086d1517sv*sd*bc*sc*i*
  alias:  pci:v8086d10FCsv*sd*bc*sc*i*
  alias:  pci:v8086d10F7sv*sd*bc*sc*i*
  alias:  pci:v8086d1508sv*sd*bc*sc*i*
  alias:  pci:v8086d10DBsv*sd*bc*sc*i*
  alias:  pci:v8086d10F4sv*sd*bc*sc*i*
  alias:  pci:v8086d10E1sv*sd*bc*sc*i*
  alias:  pci:v8086d10F1sv*sd*bc*sc*i*
  alias:  pci:v8086d10ECsv*sd*bc*sc*i*
  alias:  pci:v8086d10DDsv*sd*bc*sc*i*
  alias:  pci:v8086d150Bsv*sd*bc*sc*i*
  alias:  pci:v8086d10C8sv*sd*bc*sc*i*
  alias:  

[Kernel-packages] [Bug 1621474] Re: VLAN creation fails with VF multi queueuing

2016-09-09 Thread Wijdene REKIK
With additional tests basing on the last driver versions on the host and guest:
 * 4.4.6 ixgbe version on the host 
 * 3.2.2 ixgbevf version on the guest, 

and with following kernel version:

root@ubuntu1604:~# uname -a
Linux ubuntu1604 4.4.0-31-generic #50-Ubuntu SMP Wed Jul 13 00:07:12 UTC 2016 
x86_64 x86_64 x86_64 GNU/Linux
root@ubuntu1604:~# lsb_release -da
No LSB modules are available.
Distributor ID: Ubuntu
Description:Ubuntu 16.04.1 LTS
Release:16.04
Codename:   xenial

on both host and VM, the creation of VLAN was not supported:

root@ubuntu1604:~# ip link add link ens5 name vlan2 type vlan id 2
[ 3275.847268] VF could not set VLAN 2 <=

Thus, even with recent versions, issue can be reproduced.

-- 
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/1621474

Title:
  VLAN creation fails with VF multi queueuing

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Description
  

  It can be read in SR-IOV companion guide that 82599 chipsets :

  * The 82599 has 128 Transmit and 128 Receive queues. They are generally 
referred to/thought of as queue pairs (1 Transmit and 1 Receive queue). This 
gives the 82599 128 queue pairs.
  * The 82599 has up to 64 pools, with each pool having two queue pairs in 
it. That is two Transmit and Receive queue assigned to each VF.
  * The 82599 allows for a variable configuration for the number of pools. 
In SR-IOV mode, there can be 16, 32 or 64 pools.

  The last line suggest using combined queues of 2, 4 and 8.

  The only way, for now we found, is using tc on the host especially as the 
ethtool command is not supported (ethtool -L eth10 combined 8 for example).
  And, with following command "tc qdisc add dev eth10 root mqprio num_tc 8", we 
will be able to use up to 8 combined queues on the host PF and guests which are 
using VFs.
  Yet, with 8 combined queues with tc commnad, VLAN creation was not permitted.

  Following driver versions have been used on host and guest to enable this 
multiqueue option:
* 4.3.15 ixgbe in the host
* 3.1.2  ixgbevf in the guest

  To reproduce
  -

  On the host side
  

  root@ubuntu1404:~# rmmod ixgbe
  root@ubuntu1404:~# modprobe ixgbe
  [ 4817.027637] ixgbe :05:00.0: failed to load because an unsupported SFP+ 
or QSFP module type was detected.
  [ 4817.038630] ixgbe :05:00.0: Reload the driver after installing a 
supported module.
  [ 4817.418360] ixgbe :41:00.1: failed to load because an unsupported SFP+ 
or QSFP module type was detected.
  [ 4817.429354] ixgbe :41:00.1: Reload the driver after installing a 
supported module.
  [ 4817.838086] ixgbe :43:00.0: failed to load because an unsupported SFP+ 
or QSFP module type was detected.
  [ 4817.849091] ixgbe :43:00.0: Reload the driver after installing a 
supported module.
  [ 4817.889189] ixgbe :43:00.1: failed to load because an unsupported SFP+ 
or QSFP module type was detected.
  [ 4817.900178] ixgbe :43:00.1: Reload the driver after installing a 
supported module.
  [ 4817.940318] ixgbe :44:00.0: failed to load because an unsupported SFP+ 
or QSFP module type was detected.
  [ 4817.951357] ixgbe :44:00.0: Reload the driver after installing a 
supported module.
  root@ubuntu1404:~# modinfo ixgbe
  filename:   
/lib/modules/3.13.0-91-generic/updates/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
  version:4.3.15
  license:GPL
  description:Intel(R) 10 Gigabit PCI Express Network Driver
  author: Intel Corporation, 
  srcversion: 7AED484083B2C5B86424A3A
  alias:  pci:v8086d15ADsv*sd*bc*sc*i*
  alias:  pci:v8086d15ACsv*sd*bc*sc*i*
  alias:  pci:v8086d15ABsv*sd*bc*sc*i*
  alias:  pci:v8086d15AAsv*sd*bc*sc*i*
  alias:  pci:v8086d15D1sv*sd*bc*sc*i*
  alias:  pci:v8086d1563sv*sd*bc*sc*i*
  alias:  pci:v8086d1560sv*sd*bc*sc*i*
  alias:  pci:v8086d1558sv*sd*bc*sc*i*
  alias:  pci:v8086d154Asv*sd*bc*sc*i*
  alias:  pci:v8086d1557sv*sd*bc*sc*i*
  alias:  pci:v8086d154Fsv*sd*bc*sc*i*
  alias:  pci:v8086d154Dsv*sd*bc*sc*i*
  alias:  pci:v8086d1528sv*sd*bc*sc*i*
  alias:  pci:v8086d10F8sv*sd*bc*sc*i*
  alias:  pci:v8086d151Csv*sd*bc*sc*i*
  alias:  pci:v8086d1529sv*sd*bc*sc*i*
  alias:  pci:v8086d152Asv*sd*bc*sc*i*
  alias:  pci:v8086d10F9sv*sd*bc*sc*i*
  alias:  pci:v8086d1514sv*sd*bc*sc*i*
  alias:  pci:v8086d1507sv*sd*bc*sc*i*
  alias:  pci:v8086d10FBsv*sd*bc*sc*i*
  alias:  pci:v8086d1517sv*sd*bc*sc*i*
  alias:  

[Kernel-packages] [Bug 1621474] Re: VLAN creation fails with VF multi queueuing

2016-09-08 Thread Vincent JARDIN
** Package changed: dkms (Ubuntu) => linux (Ubuntu)

-- 
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/1621474

Title:
  VLAN creation fails with VF multi queueuing

Status in linux package in Ubuntu:
  New

Bug description:
  Description
  

  It can be read in SR-IOV companion guide that 82599 chipsets :

  * The 82599 has 128 Transmit and 128 Receive queues. They are generally 
referred to/thought of as queue pairs (1 Transmit and 1 Receive queue). This 
gives the 82599 128 queue pairs.
  * The 82599 has up to 64 pools, with each pool having two queue pairs in 
it. That is two Transmit and Receive queue assigned to each VF.
  * The 82599 allows for a variable configuration for the number of pools. 
In SR-IOV mode, there can be 16, 32 or 64 pools.

  The last line suggest using combined queues of 2, 4 and 8.

  The only way, for now we found, is using tc on the host especially as the 
ethtool command is not supported (ethtool -L eth10 combined 8 for example).
  And, with following command "tc qdisc add dev eth10 root mqprio num_tc 8", we 
will be able to use up to 8 combined queues on the host PF and guests which are 
using VFs.
  Yet, with 8 combined queues with tc commnad, VLAN creation was not permitted.

  Following driver versions have been used on host and guest to enable this 
multiqueue option:
* 4.3.15 ixgbe in the host
* 3.1.2  ixgbevf in the guest

  To reproduce
  -

  On the host side
  

  root@ubuntu1404:~# rmmod ixgbe
  root@ubuntu1404:~# modprobe ixgbe
  [ 4817.027637] ixgbe :05:00.0: failed to load because an unsupported SFP+ 
or QSFP module type was detected.
  [ 4817.038630] ixgbe :05:00.0: Reload the driver after installing a 
supported module.
  [ 4817.418360] ixgbe :41:00.1: failed to load because an unsupported SFP+ 
or QSFP module type was detected.
  [ 4817.429354] ixgbe :41:00.1: Reload the driver after installing a 
supported module.
  [ 4817.838086] ixgbe :43:00.0: failed to load because an unsupported SFP+ 
or QSFP module type was detected.
  [ 4817.849091] ixgbe :43:00.0: Reload the driver after installing a 
supported module.
  [ 4817.889189] ixgbe :43:00.1: failed to load because an unsupported SFP+ 
or QSFP module type was detected.
  [ 4817.900178] ixgbe :43:00.1: Reload the driver after installing a 
supported module.
  [ 4817.940318] ixgbe :44:00.0: failed to load because an unsupported SFP+ 
or QSFP module type was detected.
  [ 4817.951357] ixgbe :44:00.0: Reload the driver after installing a 
supported module.
  root@ubuntu1404:~# modinfo ixgbe
  filename:   
/lib/modules/3.13.0-91-generic/updates/drivers/net/ethernet/intel/ixgbe/ixgbe.ko
  version:4.3.15
  license:GPL
  description:Intel(R) 10 Gigabit PCI Express Network Driver
  author: Intel Corporation, 
  srcversion: 7AED484083B2C5B86424A3A
  alias:  pci:v8086d15ADsv*sd*bc*sc*i*
  alias:  pci:v8086d15ACsv*sd*bc*sc*i*
  alias:  pci:v8086d15ABsv*sd*bc*sc*i*
  alias:  pci:v8086d15AAsv*sd*bc*sc*i*
  alias:  pci:v8086d15D1sv*sd*bc*sc*i*
  alias:  pci:v8086d1563sv*sd*bc*sc*i*
  alias:  pci:v8086d1560sv*sd*bc*sc*i*
  alias:  pci:v8086d1558sv*sd*bc*sc*i*
  alias:  pci:v8086d154Asv*sd*bc*sc*i*
  alias:  pci:v8086d1557sv*sd*bc*sc*i*
  alias:  pci:v8086d154Fsv*sd*bc*sc*i*
  alias:  pci:v8086d154Dsv*sd*bc*sc*i*
  alias:  pci:v8086d1528sv*sd*bc*sc*i*
  alias:  pci:v8086d10F8sv*sd*bc*sc*i*
  alias:  pci:v8086d151Csv*sd*bc*sc*i*
  alias:  pci:v8086d1529sv*sd*bc*sc*i*
  alias:  pci:v8086d152Asv*sd*bc*sc*i*
  alias:  pci:v8086d10F9sv*sd*bc*sc*i*
  alias:  pci:v8086d1514sv*sd*bc*sc*i*
  alias:  pci:v8086d1507sv*sd*bc*sc*i*
  alias:  pci:v8086d10FBsv*sd*bc*sc*i*
  alias:  pci:v8086d1517sv*sd*bc*sc*i*
  alias:  pci:v8086d10FCsv*sd*bc*sc*i*
  alias:  pci:v8086d10F7sv*sd*bc*sc*i*
  alias:  pci:v8086d1508sv*sd*bc*sc*i*
  alias:  pci:v8086d10DBsv*sd*bc*sc*i*
  alias:  pci:v8086d10F4sv*sd*bc*sc*i*
  alias:  pci:v8086d10E1sv*sd*bc*sc*i*
  alias:  pci:v8086d10F1sv*sd*bc*sc*i*
  alias:  pci:v8086d10ECsv*sd*bc*sc*i*
  alias:  pci:v8086d10DDsv*sd*bc*sc*i*
  alias:  pci:v8086d150Bsv*sd*bc*sc*i*
  alias:  pci:v8086d10C8sv*sd*bc*sc*i*
  alias:  pci:v8086d10C7sv*sd*bc*sc*i*
  alias:  pci:v8086d10C6sv*sd*bc*sc*i*
  alias: