[Kernel-packages] [Bug 1649207] Re: mlx5_core failed to increase rx ring to 4096 - SIOCSIFFLAGS: Cannot allocate memory

2016-12-13 Thread Joseph Salisbury
** Tags removed: kernel-da-key

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

Title:
  mlx5_core failed to increase rx ring to 4096 - SIOCSIFFLAGS: Cannot
  allocate memory

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Yakkety:
  Triaged

Bug description:
  Failed to increase rx ring to 4096 - SIOCSIFFLAGS: Cannot allocate
  memory

  Scenario

  ubuntu@cto-netsim3:~$ sudo ethtool -g ens6f0
  [sudo] password for ubuntu:
  Ring parameters for ens6f0:
  Pre-set maximums:
  RX: 4096
  RX Mini: 0
  RX Jumbo: 0
  TX: 8192
  Current hardware settings:
  RX: 1024
  RX Mini: 0
  RX Jumbo: 0
  TX: 1024

  ubuntu@cto-netsim3:~$ sudo ethtool -G ens6f0 rx 4096
  Cannot set device ring parameters: Cannot allocate memory

  After brinding the interface down with:

  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 down

  I can not bring it back up !!!

  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$

  dmsg:
  [ 774.935067] mlx5_core :81:00.0: swiotlb buffer is full (sz: 8388608 
bytes)
  [ 774.935070] swiotlb: coherent allocation failed for device :81:00.0 
size=8388608
  [ 774.935074] CPU: 38 PID: 6042 Comm: ethtool Not tainted 4.8.0-22-generic #24
  [ 774.935075] Hardware name: Quanta Computer Inc D51B-1U (dual 1G LoM)/S2B-MB 
(dual 1G LoM), BIOS S2B_3A19 05/15/2015
  [ 774.935078] 0286 65a68699 8d946b1db9a0 
8502f5d2
  [ 774.935083]  007f 8d946b1db9e8 
8505a280
  [ 774.935087] 8d946b1dba80 8d94000b 024082c0 
8db471b0e0a0
  [ 774.935091] Call Trace:
  [ 774.935104] [] dump_stack+0x63/0x81
  [ 774.935108] [] swiotlb_alloc_coherent+0x140/0x160
  [ 774.935115] [] x86_swiotlb_alloc_coherent+0x43/0x50
  [ 774.935150] [] mlx5_dma_zalloc_coherent_node+0xa4/0x100 
[mlx5_core]
  [ 774.935164] [] mlx5_buf_alloc_node+0x4d/0xc0 [mlx5_core]
  [ 774.935181] [] mlx5_cqwq_create+0x7e/0x160 [mlx5_core]
  [ 774.935199] [] mlx5e_open_cq+0x9e/0x1f0 [mlx5_core]
  [ 774.935214] [] mlx5e_open_channels+0x715/0xf30 [mlx5_core]
  [ 774.935229] [] mlx5e_open_locked+0xda/0x1e0 [mlx5_core]
  [ 774.935245] [] mlx5e_set_ringparam+0x21e/0x350 [mlx5_core]
  [ 774.935252] [] dev_ethtool+0x59f/0x1fc0
  [ 774.935255] [] ? new_slab+0x300/0x6e0
  [ 774.935259] [] ? __rtnl_unlock+0x2a/0x50
  [ 774.935262] [] ? netdev_run_todo+0x60/0x330
  [ 774.935266] [] ? alloc_set_pte+0x4ec/0x610
  [ 774.935268] [] ? dev_get_by_name_rcu+0x61/0x80
  [ 774.935272] [] dev_ioctl+0x180/0x5a0
  [ 774.935277] [] sock_do_ioctl+0x42/0x50
  [ 774.935280] [] sock_ioctl+0x1d2/0x290
  [ 774.935283] [] do_vfs_ioctl+0xa3/0x610
  [ 774.935287] [] ? __do_page_fault+0x203/0x4d0
  [ 774.935289] [] SyS_ioctl+0x79/0x90
  [ 774.935307] [] entry_SYSCALL_64_fastpath+0x1e/0xa8
  [ 774.935312] mlx5_core :81:00.0: :81:00.0:mlx5_cqwq_create:121:(pid 
6042): mlx5_buf_alloc_node() failed, -12
  [ 774.935537] mlx5_core :81:00.0 ens6f0: mlx5e_open_locked: 
mlx5e_open_channels failed, -12

  
  This is the upstream patches that fix this issue 
  ec8b9981ad3f net/mlx5e: Create UMR MKey per RQ
  3608ae77c098 net/mlx5e: Move function mlx5e_create_umr_mkey
  1c1b522808a1 net/mlx5e: Implement Fragmented Work Queue (WQ)


  Thanks, 
  Talat

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1649207/+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 1649207] Re: mlx5_core failed to increase rx ring to 4096 - SIOCSIFFLAGS: Cannot allocate memory

2016-12-13 Thread Thadeu Lima de Souza Cascardo
** Changed in: linux (Ubuntu)
 Assignee: (unassigned) => Thadeu Lima de Souza Cascardo (cascardo)

** Changed in: linux (Ubuntu Yakkety)
 Assignee: (unassigned) => Thadeu Lima de Souza Cascardo (cascardo)

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

Title:
  mlx5_core failed to increase rx ring to 4096 - SIOCSIFFLAGS: Cannot
  allocate memory

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Yakkety:
  Triaged

Bug description:
  Failed to increase rx ring to 4096 - SIOCSIFFLAGS: Cannot allocate
  memory

  Scenario

  ubuntu@cto-netsim3:~$ sudo ethtool -g ens6f0
  [sudo] password for ubuntu:
  Ring parameters for ens6f0:
  Pre-set maximums:
  RX: 4096
  RX Mini: 0
  RX Jumbo: 0
  TX: 8192
  Current hardware settings:
  RX: 1024
  RX Mini: 0
  RX Jumbo: 0
  TX: 1024

  ubuntu@cto-netsim3:~$ sudo ethtool -G ens6f0 rx 4096
  Cannot set device ring parameters: Cannot allocate memory

  After brinding the interface down with:

  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 down

  I can not bring it back up !!!

  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$

  dmsg:
  [ 774.935067] mlx5_core :81:00.0: swiotlb buffer is full (sz: 8388608 
bytes)
  [ 774.935070] swiotlb: coherent allocation failed for device :81:00.0 
size=8388608
  [ 774.935074] CPU: 38 PID: 6042 Comm: ethtool Not tainted 4.8.0-22-generic #24
  [ 774.935075] Hardware name: Quanta Computer Inc D51B-1U (dual 1G LoM)/S2B-MB 
(dual 1G LoM), BIOS S2B_3A19 05/15/2015
  [ 774.935078] 0286 65a68699 8d946b1db9a0 
8502f5d2
  [ 774.935083]  007f 8d946b1db9e8 
8505a280
  [ 774.935087] 8d946b1dba80 8d94000b 024082c0 
8db471b0e0a0
  [ 774.935091] Call Trace:
  [ 774.935104] [] dump_stack+0x63/0x81
  [ 774.935108] [] swiotlb_alloc_coherent+0x140/0x160
  [ 774.935115] [] x86_swiotlb_alloc_coherent+0x43/0x50
  [ 774.935150] [] mlx5_dma_zalloc_coherent_node+0xa4/0x100 
[mlx5_core]
  [ 774.935164] [] mlx5_buf_alloc_node+0x4d/0xc0 [mlx5_core]
  [ 774.935181] [] mlx5_cqwq_create+0x7e/0x160 [mlx5_core]
  [ 774.935199] [] mlx5e_open_cq+0x9e/0x1f0 [mlx5_core]
  [ 774.935214] [] mlx5e_open_channels+0x715/0xf30 [mlx5_core]
  [ 774.935229] [] mlx5e_open_locked+0xda/0x1e0 [mlx5_core]
  [ 774.935245] [] mlx5e_set_ringparam+0x21e/0x350 [mlx5_core]
  [ 774.935252] [] dev_ethtool+0x59f/0x1fc0
  [ 774.935255] [] ? new_slab+0x300/0x6e0
  [ 774.935259] [] ? __rtnl_unlock+0x2a/0x50
  [ 774.935262] [] ? netdev_run_todo+0x60/0x330
  [ 774.935266] [] ? alloc_set_pte+0x4ec/0x610
  [ 774.935268] [] ? dev_get_by_name_rcu+0x61/0x80
  [ 774.935272] [] dev_ioctl+0x180/0x5a0
  [ 774.935277] [] sock_do_ioctl+0x42/0x50
  [ 774.935280] [] sock_ioctl+0x1d2/0x290
  [ 774.935283] [] do_vfs_ioctl+0xa3/0x610
  [ 774.935287] [] ? __do_page_fault+0x203/0x4d0
  [ 774.935289] [] SyS_ioctl+0x79/0x90
  [ 774.935307] [] entry_SYSCALL_64_fastpath+0x1e/0xa8
  [ 774.935312] mlx5_core :81:00.0: :81:00.0:mlx5_cqwq_create:121:(pid 
6042): mlx5_buf_alloc_node() failed, -12
  [ 774.935537] mlx5_core :81:00.0 ens6f0: mlx5e_open_locked: 
mlx5e_open_channels failed, -12

  
  This is the upstream patches that fix this issue 
  ec8b9981ad3f net/mlx5e: Create UMR MKey per RQ
  3608ae77c098 net/mlx5e: Move function mlx5e_create_umr_mkey
  1c1b522808a1 net/mlx5e: Implement Fragmented Work Queue (WQ)


  Thanks, 
  Talat

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to : 

[Kernel-packages] [Bug 1649207] Re: mlx5_core failed to increase rx ring to 4096 - SIOCSIFFLAGS: Cannot allocate memory

2016-12-12 Thread Joseph Salisbury
** Changed in: linux (Ubuntu)
   Status: Incomplete => Triaged

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

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

** Changed in: linux (Ubuntu Yakkety)
   Status: New => Triaged

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

Title:
  mlx5_core failed to increase rx ring to 4096 - SIOCSIFFLAGS: Cannot
  allocate memory

Status in linux package in Ubuntu:
  Triaged
Status in linux source package in Yakkety:
  Triaged

Bug description:
  Failed to increase rx ring to 4096 - SIOCSIFFLAGS: Cannot allocate
  memory

  Scenario

  ubuntu@cto-netsim3:~$ sudo ethtool -g ens6f0
  [sudo] password for ubuntu:
  Ring parameters for ens6f0:
  Pre-set maximums:
  RX: 4096
  RX Mini: 0
  RX Jumbo: 0
  TX: 8192
  Current hardware settings:
  RX: 1024
  RX Mini: 0
  RX Jumbo: 0
  TX: 1024

  ubuntu@cto-netsim3:~$ sudo ethtool -G ens6f0 rx 4096
  Cannot set device ring parameters: Cannot allocate memory

  After brinding the interface down with:

  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 down

  I can not bring it back up !!!

  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$

  dmsg:
  [ 774.935067] mlx5_core :81:00.0: swiotlb buffer is full (sz: 8388608 
bytes)
  [ 774.935070] swiotlb: coherent allocation failed for device :81:00.0 
size=8388608
  [ 774.935074] CPU: 38 PID: 6042 Comm: ethtool Not tainted 4.8.0-22-generic #24
  [ 774.935075] Hardware name: Quanta Computer Inc D51B-1U (dual 1G LoM)/S2B-MB 
(dual 1G LoM), BIOS S2B_3A19 05/15/2015
  [ 774.935078] 0286 65a68699 8d946b1db9a0 
8502f5d2
  [ 774.935083]  007f 8d946b1db9e8 
8505a280
  [ 774.935087] 8d946b1dba80 8d94000b 024082c0 
8db471b0e0a0
  [ 774.935091] Call Trace:
  [ 774.935104] [] dump_stack+0x63/0x81
  [ 774.935108] [] swiotlb_alloc_coherent+0x140/0x160
  [ 774.935115] [] x86_swiotlb_alloc_coherent+0x43/0x50
  [ 774.935150] [] mlx5_dma_zalloc_coherent_node+0xa4/0x100 
[mlx5_core]
  [ 774.935164] [] mlx5_buf_alloc_node+0x4d/0xc0 [mlx5_core]
  [ 774.935181] [] mlx5_cqwq_create+0x7e/0x160 [mlx5_core]
  [ 774.935199] [] mlx5e_open_cq+0x9e/0x1f0 [mlx5_core]
  [ 774.935214] [] mlx5e_open_channels+0x715/0xf30 [mlx5_core]
  [ 774.935229] [] mlx5e_open_locked+0xda/0x1e0 [mlx5_core]
  [ 774.935245] [] mlx5e_set_ringparam+0x21e/0x350 [mlx5_core]
  [ 774.935252] [] dev_ethtool+0x59f/0x1fc0
  [ 774.935255] [] ? new_slab+0x300/0x6e0
  [ 774.935259] [] ? __rtnl_unlock+0x2a/0x50
  [ 774.935262] [] ? netdev_run_todo+0x60/0x330
  [ 774.935266] [] ? alloc_set_pte+0x4ec/0x610
  [ 774.935268] [] ? dev_get_by_name_rcu+0x61/0x80
  [ 774.935272] [] dev_ioctl+0x180/0x5a0
  [ 774.935277] [] sock_do_ioctl+0x42/0x50
  [ 774.935280] [] sock_ioctl+0x1d2/0x290
  [ 774.935283] [] do_vfs_ioctl+0xa3/0x610
  [ 774.935287] [] ? __do_page_fault+0x203/0x4d0
  [ 774.935289] [] SyS_ioctl+0x79/0x90
  [ 774.935307] [] entry_SYSCALL_64_fastpath+0x1e/0xa8
  [ 774.935312] mlx5_core :81:00.0: :81:00.0:mlx5_cqwq_create:121:(pid 
6042): mlx5_buf_alloc_node() failed, -12
  [ 774.935537] mlx5_core :81:00.0 ens6f0: mlx5e_open_locked: 
mlx5e_open_channels failed, -12

  
  This is the upstream patches that fix this issue 
  ec8b9981ad3f net/mlx5e: Create UMR MKey per RQ
  3608ae77c098 net/mlx5e: Move function mlx5e_create_umr_mkey
  1c1b522808a1 net/mlx5e: Implement Fragmented Work Queue (WQ)


  Thanks, 
  Talat

To manage notifications about this bug go to:

[Kernel-packages] [Bug 1649207] Re: mlx5_core failed to increase rx ring to 4096 - SIOCSIFFLAGS: Cannot allocate memory

2016-12-12 Thread Joseph Salisbury
** Changed in: linux (Ubuntu)
   Importance: Undecided => Medium

** Tags added: kernel-da-key

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

Title:
  mlx5_core failed to increase rx ring to 4096 - SIOCSIFFLAGS: Cannot
  allocate memory

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Failed to increase rx ring to 4096 - SIOCSIFFLAGS: Cannot allocate
  memory

  Scenario

  ubuntu@cto-netsim3:~$ sudo ethtool -g ens6f0
  [sudo] password for ubuntu:
  Ring parameters for ens6f0:
  Pre-set maximums:
  RX: 4096
  RX Mini: 0
  RX Jumbo: 0
  TX: 8192
  Current hardware settings:
  RX: 1024
  RX Mini: 0
  RX Jumbo: 0
  TX: 1024

  ubuntu@cto-netsim3:~$ sudo ethtool -G ens6f0 rx 4096
  Cannot set device ring parameters: Cannot allocate memory

  After brinding the interface down with:

  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 down

  I can not bring it back up !!!

  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$

  dmsg:
  [ 774.935067] mlx5_core :81:00.0: swiotlb buffer is full (sz: 8388608 
bytes)
  [ 774.935070] swiotlb: coherent allocation failed for device :81:00.0 
size=8388608
  [ 774.935074] CPU: 38 PID: 6042 Comm: ethtool Not tainted 4.8.0-22-generic #24
  [ 774.935075] Hardware name: Quanta Computer Inc D51B-1U (dual 1G LoM)/S2B-MB 
(dual 1G LoM), BIOS S2B_3A19 05/15/2015
  [ 774.935078] 0286 65a68699 8d946b1db9a0 
8502f5d2
  [ 774.935083]  007f 8d946b1db9e8 
8505a280
  [ 774.935087] 8d946b1dba80 8d94000b 024082c0 
8db471b0e0a0
  [ 774.935091] Call Trace:
  [ 774.935104] [] dump_stack+0x63/0x81
  [ 774.935108] [] swiotlb_alloc_coherent+0x140/0x160
  [ 774.935115] [] x86_swiotlb_alloc_coherent+0x43/0x50
  [ 774.935150] [] mlx5_dma_zalloc_coherent_node+0xa4/0x100 
[mlx5_core]
  [ 774.935164] [] mlx5_buf_alloc_node+0x4d/0xc0 [mlx5_core]
  [ 774.935181] [] mlx5_cqwq_create+0x7e/0x160 [mlx5_core]
  [ 774.935199] [] mlx5e_open_cq+0x9e/0x1f0 [mlx5_core]
  [ 774.935214] [] mlx5e_open_channels+0x715/0xf30 [mlx5_core]
  [ 774.935229] [] mlx5e_open_locked+0xda/0x1e0 [mlx5_core]
  [ 774.935245] [] mlx5e_set_ringparam+0x21e/0x350 [mlx5_core]
  [ 774.935252] [] dev_ethtool+0x59f/0x1fc0
  [ 774.935255] [] ? new_slab+0x300/0x6e0
  [ 774.935259] [] ? __rtnl_unlock+0x2a/0x50
  [ 774.935262] [] ? netdev_run_todo+0x60/0x330
  [ 774.935266] [] ? alloc_set_pte+0x4ec/0x610
  [ 774.935268] [] ? dev_get_by_name_rcu+0x61/0x80
  [ 774.935272] [] dev_ioctl+0x180/0x5a0
  [ 774.935277] [] sock_do_ioctl+0x42/0x50
  [ 774.935280] [] sock_ioctl+0x1d2/0x290
  [ 774.935283] [] do_vfs_ioctl+0xa3/0x610
  [ 774.935287] [] ? __do_page_fault+0x203/0x4d0
  [ 774.935289] [] SyS_ioctl+0x79/0x90
  [ 774.935307] [] entry_SYSCALL_64_fastpath+0x1e/0xa8
  [ 774.935312] mlx5_core :81:00.0: :81:00.0:mlx5_cqwq_create:121:(pid 
6042): mlx5_buf_alloc_node() failed, -12
  [ 774.935537] mlx5_core :81:00.0 ens6f0: mlx5e_open_locked: 
mlx5e_open_channels failed, -12

  
  This is the upstream patches that fix this issue 
  ec8b9981ad3f net/mlx5e: Create UMR MKey per RQ
  3608ae77c098 net/mlx5e: Move function mlx5e_create_umr_mkey
  1c1b522808a1 net/mlx5e: Implement Fragmented Work Queue (WQ)


  Thanks, 
  Talat

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1649207/+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 1649207] Re: mlx5_core failed to increase rx ring to 4096 - SIOCSIFFLAGS: Cannot allocate memory

2016-12-12 Thread Talat Batheesh
** Tags added: yakkety

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

Title:
  mlx5_core failed to increase rx ring to 4096 - SIOCSIFFLAGS: Cannot
  allocate memory

Status in linux package in Ubuntu:
  Incomplete

Bug description:
  Failed to increase rx ring to 4096 - SIOCSIFFLAGS: Cannot allocate
  memory

  Scenario

  ubuntu@cto-netsim3:~$ sudo ethtool -g ens6f0
  [sudo] password for ubuntu:
  Ring parameters for ens6f0:
  Pre-set maximums:
  RX: 4096
  RX Mini: 0
  RX Jumbo: 0
  TX: 8192
  Current hardware settings:
  RX: 1024
  RX Mini: 0
  RX Jumbo: 0
  TX: 1024

  ubuntu@cto-netsim3:~$ sudo ethtool -G ens6f0 rx 4096
  Cannot set device ring parameters: Cannot allocate memory

  After brinding the interface down with:

  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 down

  I can not bring it back up !!!

  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$
  ubuntu@cto-netsim3:~$ sudo ifconfig ens6f0 up
  SIOCSIFFLAGS: Cannot allocate memory
  ubuntu@cto-netsim3:~$

  dmsg:
  [ 774.935067] mlx5_core :81:00.0: swiotlb buffer is full (sz: 8388608 
bytes)
  [ 774.935070] swiotlb: coherent allocation failed for device :81:00.0 
size=8388608
  [ 774.935074] CPU: 38 PID: 6042 Comm: ethtool Not tainted 4.8.0-22-generic #24
  [ 774.935075] Hardware name: Quanta Computer Inc D51B-1U (dual 1G LoM)/S2B-MB 
(dual 1G LoM), BIOS S2B_3A19 05/15/2015
  [ 774.935078] 0286 65a68699 8d946b1db9a0 
8502f5d2
  [ 774.935083]  007f 8d946b1db9e8 
8505a280
  [ 774.935087] 8d946b1dba80 8d94000b 024082c0 
8db471b0e0a0
  [ 774.935091] Call Trace:
  [ 774.935104] [] dump_stack+0x63/0x81
  [ 774.935108] [] swiotlb_alloc_coherent+0x140/0x160
  [ 774.935115] [] x86_swiotlb_alloc_coherent+0x43/0x50
  [ 774.935150] [] mlx5_dma_zalloc_coherent_node+0xa4/0x100 
[mlx5_core]
  [ 774.935164] [] mlx5_buf_alloc_node+0x4d/0xc0 [mlx5_core]
  [ 774.935181] [] mlx5_cqwq_create+0x7e/0x160 [mlx5_core]
  [ 774.935199] [] mlx5e_open_cq+0x9e/0x1f0 [mlx5_core]
  [ 774.935214] [] mlx5e_open_channels+0x715/0xf30 [mlx5_core]
  [ 774.935229] [] mlx5e_open_locked+0xda/0x1e0 [mlx5_core]
  [ 774.935245] [] mlx5e_set_ringparam+0x21e/0x350 [mlx5_core]
  [ 774.935252] [] dev_ethtool+0x59f/0x1fc0
  [ 774.935255] [] ? new_slab+0x300/0x6e0
  [ 774.935259] [] ? __rtnl_unlock+0x2a/0x50
  [ 774.935262] [] ? netdev_run_todo+0x60/0x330
  [ 774.935266] [] ? alloc_set_pte+0x4ec/0x610
  [ 774.935268] [] ? dev_get_by_name_rcu+0x61/0x80
  [ 774.935272] [] dev_ioctl+0x180/0x5a0
  [ 774.935277] [] sock_do_ioctl+0x42/0x50
  [ 774.935280] [] sock_ioctl+0x1d2/0x290
  [ 774.935283] [] do_vfs_ioctl+0xa3/0x610
  [ 774.935287] [] ? __do_page_fault+0x203/0x4d0
  [ 774.935289] [] SyS_ioctl+0x79/0x90
  [ 774.935307] [] entry_SYSCALL_64_fastpath+0x1e/0xa8
  [ 774.935312] mlx5_core :81:00.0: :81:00.0:mlx5_cqwq_create:121:(pid 
6042): mlx5_buf_alloc_node() failed, -12
  [ 774.935537] mlx5_core :81:00.0 ens6f0: mlx5e_open_locked: 
mlx5e_open_channels failed, -12

  
  This is the upstream patches that fix this issue 
  ec8b9981ad3f net/mlx5e: Create UMR MKey per RQ
  3608ae77c098 net/mlx5e: Move function mlx5e_create_umr_mkey
  1c1b522808a1 net/mlx5e: Implement Fragmented Work Queue (WQ)


  Thanks, 
  Talat

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