19/12/2017 08:14, Hui Ling: > 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 [...] > Configuring Port 0 (socket 0) > PMD: mlx4_rxq.c:811: mlx4_rx_queue_setup(): 0xde0740: MR creation > failure: Operation not permitted
[...] > 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. So you see 2 different errors on Ubuntu 16.04 and 17.10. What are the Linux kernel versions? > Can someone from MS or Mellanox help me figure out why? and how to > make mlx4 PMD work on Azure VM? Mellanox will support you.