DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] DPDK mlx4 PMD on Azure VM
@ 2017-12-19  7:14 Hui Ling
  2017-12-19 15:47 ` Thomas Monjalon
  2017-12-19 16:22 ` Thomas Monjalon
  0 siblings, 2 replies; 14+ messages in thread
From: Hui Ling @ 2017-12-19  7:14 UTC (permalink / raw)
  To: users

Hi Folks,

I am trying to get DPDK up and running on my Azure VM. Per
instructions from MS, I need to install DPDK with mlx4 PMD. I was able
to compile but it doesn't seem to run correctly.

I installed DPDK 17.11 on Ubuntu 16.04. And I downloaded MLNX OFED
4.2-1.2.0.0 and installed up-stream libs with
./mlnxofedinstall --guest --dpdk --upstream-libs

MLX4 PMD in DPDK doesn't seem to work with lib from ubuntu repository
and install OFED allows me to compile DPDK mlx4 PMD without any
compilation problem.

Then I tried to see if the mlx4 PMD works or not by running:

root@myVM:
./build/app/testpmd -l 1-2 -n 4 -w 0003:00:02.0 -w 0004:00:02.0 --
--rxq=2 --txq=2 -i

EAL: Detected 4 lcore(s)
EAL: 2 hugepages of size 1073741824 reserved, but no mounted hugetlbfs
found for that size
EAL: Probing VFIO support...
EAL: WARNING: cpu flags constant_tsc=yes nonstop_tsc=no -> using
unreliable clock cycles !
EAL: PCI device 0003:00:02.0 on NUMA socket 0
EAL:   probe driver: 15b3:1004 net_mlx4
PMD: mlx4.c:465: mlx4_pci_probe(): PCI information matches, using
device "mlx4_2" (VF: true)
PMD: mlx4.c:492: mlx4_pci_probe(): 1 port(s) detected
PMD: mlx4.c:586: mlx4_pci_probe(): port 1 MAC address is 00:0d:3a:f9:08:0b
EAL: PCI device 0004:00:02.0 on NUMA socket 0
EAL:   probe driver: 15b3:1004 net_mlx4
PMD: mlx4.c:465: mlx4_pci_probe(): PCI information matches, using
device "mlx4_3" (VF: true)
PMD: mlx4.c:492: mlx4_pci_probe(): 1 port(s) detected
PMD: mlx4.c:586: mlx4_pci_probe(): port 1 MAC address is 00:0d:3a:f9:23:63
Interactive-mode selected
USER1: create a new mbuf pool <mbuf_pool_socket_0>: n=155456,
size=2176, socket=0
Configuring Port 0 (socket 0)
PMD: mlx4_rxq.c:811: mlx4_rx_queue_setup(): 0xde0740: MR creation
failure: Operation not permitted
Fail to configure port 0 rx queues
EAL: Error - exiting with code: 1
  Cause: Start ports failed

This is where I am having problem: I already ran testpmd with root so
I should have all the permission I need. And yet the error status
indicates:
PMD: mlx4_rxq.c:811: mlx4_rx_queue_setup(): 0xde0740: MR creation
failure: Operation not permitted

Is this because I am running on Azure VM?

I also tried to run DPDK 17.11 on Ubuntu 17.10. It didn't work either.
the testpmd hangs during "configuring Port 0" forever.

Can someone from MS or Mellanox help me figure out why? and how to
make mlx4 PMD work on Azure VM?

Thank you!

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

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

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-19  7:14 [dpdk-users] DPDK mlx4 PMD on Azure VM Hui Ling
2017-12-19 15:47 ` Thomas Monjalon
2017-12-19 16:22 ` Thomas Monjalon
2017-12-19 16:29   ` Ophir Munk
2017-12-20  2:00     ` Hui Ling
2017-12-20 13:39       ` Andrew Bainbridge
2017-12-21  7:35         ` Hui Ling
2018-01-02  4:27           ` Stephen Hemminger
2018-01-05 20:45             ` Stephen Hemminger
2018-01-08  3:01               ` Hui Ling
2018-01-08 15:42                 ` Stephen Hemminger
2018-04-10  8:40                   ` Hui Ling
2018-04-13 12:47                     ` Andrew Bainbridge
2018-04-13 14:50                       ` Hui Ling

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).