DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] net_mlx5: priv allocation failure
@ 2018-04-23 10:03 Tao Peng
  2018-04-23 11:24 ` Adrien Mazarguil
  0 siblings, 1 reply; 5+ messages in thread
From: Tao Peng @ 2018-04-23 10:03 UTC (permalink / raw)
  To: users

Hi ,

When I run the dpdk l2fwd , I encountered some errors, please help, thanks!
:)

$./build/l2fwd -c 0x1 -n 4 -- -p 0x1

EAL: Detected 64 lcore(s)

EAL: No free hugepages reported in hugepages-1048576kB

EAL: Probing VFIO support...

EAL: WARNING: Master core has no memory on local socket!

EAL: PCI device 0000:01:00.0 on NUMA socket 0

EAL:   probe driver: 15b3:1015 net_mlx5

PMD: net_mlx5: PCI information matches, using device "mlx5_0" (SR-IOV:
false, MPS: true)

PMD: net_mlx5: 1 port(s) detected

PMD: net_mlx5: priv allocation failure

EAL: Requested device 0000:01:00.0 cannot be used

EAL: PCI device 0000:01:00.1 on NUMA socket 0

EAL:   probe driver: 15b3:1015 net_mlx5

PMD: net_mlx5: PCI information matches, using device "mlx5_1" (SR-IOV:
false, MPS: true)

PMD: net_mlx5: 1 port(s) detected

PMD: net_mlx5: priv allocation failure

EAL: Requested device 0000:01:00.1 cannot be used

EAL: PCI device 0000:02:00.0 on NUMA socket 0

EAL:   probe driver: 8086:1521 net_e1000_igb

EAL: PCI device 0000:02:00.1 on NUMA socket 0

EAL:   probe driver: 8086:1521 net_e1000_igb

EAL: PCI device 0000:81:00.0 on NUMA socket -1

EAL:   probe driver: 15b3:1015 net_mlx5

PMD: net_mlx5: PCI information matches, using device "mlx5_2" (SR-IOV:
false, MPS: true)

PMD: net_mlx5: 1 port(s) detected

PMD: net_mlx5: priv allocation failure

EAL: Requested device 0000:81:00.0 cannot be used

EAL: PCI device 0000:81:00.1 on NUMA socket -1

EAL:   probe driver: 15b3:1015 net_mlx5

PMD: net_mlx5: PCI information matches, using device "mlx5_3" (SR-IOV:
false, MPS: true)

PMD: net_mlx5: 1 port(s) detected

PMD: net_mlx5: priv allocation failure

EAL: Requested device 0000:81:00.1 cannot be used

EAL: PCI device 0000:82:00.0 on NUMA socket -1

EAL:   probe driver: 8086:10fb net_ixgbe

EAL: PCI device 0000:82:00.1 on NUMA socket -1

EAL:   probe driver: 8086:10fb net_ixgbe

MAC updating enabled

MEMPOOL: Cannot allocate tailq entry!

EAL: Error - exiting with code: 1

  Cause: Cannot init mbuf pool


*Hugepage info:*

$cat /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages
8192

$cat /sys/kernel/mm/hugepages/hugepages-2048kB/free_hugepages
5120


But , If I run in the below command, it will run successful.

$*sudo* ./build/l2fwd -c 0x1 -n 4 -- -p 0x1

But, I dont want to run l2fwd in sudo mode.

Thanks!

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2018-05-18 13:50 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-23 10:03 [dpdk-users] net_mlx5: priv allocation failure Tao Peng
2018-04-23 11:24 ` Adrien Mazarguil
2018-04-23 14:45   ` Tao Peng
2018-04-24  2:24     ` Tao Peng
2018-05-18 13:50       ` Adrien Mazarguil

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).