DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Using Mellanox ConnectX-3 for DPDK
@ 2018-02-05 23:01 Rohan Gandhi
  2018-02-05 23:07 ` Olga Shern
  2018-02-05 23:08 ` Thomas Monjalon
  0 siblings, 2 replies; 3+ messages in thread
From: Rohan Gandhi @ 2018-02-05 23:01 UTC (permalink / raw)
  To: users

Hello All,

1) I am trying to use Mellanox ConnectX-3 to use DPDK on my server
(Ubuntu 16.04 kernel 4.13.0-32-generic).

2) Using dpdk/usertools/dpdk-setup.sh, I can see that the Mellanox
interface is dpdk compatible.

Network devices using DPDK-compatible driver
============================================
0000:01:00.0 'MT27520 Family [ConnectX-3 Pro] 1007' drv=vfio-pci unused=igb_uio

3) When I try to use Moongen to use this interface, it returned an
error that it cannot detect the device.

[INFO]  Found 0 usable devices:
[FATAL] Lua error in task master
...ace/dpdk/moongen/MoonGen/build/../libmoon/lua/device.lua:100: there
are only 0 ports, tried to configure port id 1


The same setup works with my other Intel NIC. I am not sure what I am
doing wrong. Can you please help?

Thanks!
Rohan

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

* Re: [dpdk-users] Using Mellanox ConnectX-3 for DPDK
  2018-02-05 23:01 [dpdk-users] Using Mellanox ConnectX-3 for DPDK Rohan Gandhi
@ 2018-02-05 23:07 ` Olga Shern
  2018-02-05 23:08 ` Thomas Monjalon
  1 sibling, 0 replies; 3+ messages in thread
From: Olga Shern @ 2018-02-05 23:07 UTC (permalink / raw)
  To: Rohan Gandhi, users

Hi Rohan, 

Please check mlx4 how to instructions: http://dpdk.org/doc/guides/nics/mlx4.html 
You don't need to use dpdk_setup.sh script

Best Regards,
Olga

-----Original Message-----
From: users [mailto:users-bounces@dpdk.org] On Behalf Of Rohan Gandhi
Sent: Tuesday, February 6, 2018 1:01 AM
To: users@dpdk.org
Subject: [dpdk-users] Using Mellanox ConnectX-3 for DPDK

Hello All,

1) I am trying to use Mellanox ConnectX-3 to use DPDK on my server (Ubuntu 16.04 kernel 4.13.0-32-generic).

2) Using dpdk/usertools/dpdk-setup.sh, I can see that the Mellanox interface is dpdk compatible.

Network devices using DPDK-compatible driver ============================================
0000:01:00.0 'MT27520 Family [ConnectX-3 Pro] 1007' drv=vfio-pci unused=igb_uio

3) When I try to use Moongen to use this interface, it returned an error that it cannot detect the device.

[INFO]  Found 0 usable devices:
[FATAL] Lua error in task master
...ace/dpdk/moongen/MoonGen/build/../libmoon/lua/device.lua:100: there are only 0 ports, tried to configure port id 1


The same setup works with my other Intel NIC. I am not sure what I am doing wrong. Can you please help?

Thanks!
Rohan

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

* Re: [dpdk-users] Using Mellanox ConnectX-3 for DPDK
  2018-02-05 23:01 [dpdk-users] Using Mellanox ConnectX-3 for DPDK Rohan Gandhi
  2018-02-05 23:07 ` Olga Shern
@ 2018-02-05 23:08 ` Thomas Monjalon
  1 sibling, 0 replies; 3+ messages in thread
From: Thomas Monjalon @ 2018-02-05 23:08 UTC (permalink / raw)
  To: Rohan Gandhi; +Cc: users, ophirmu

Hi,

06/02/2018 00:01, Rohan Gandhi:
> Hello All,
> 
> 1) I am trying to use Mellanox ConnectX-3 to use DPDK on my server
> (Ubuntu 16.04 kernel 4.13.0-32-generic).
> 
> 2) Using dpdk/usertools/dpdk-setup.sh, I can see that the Mellanox
> interface is dpdk compatible.
> 
> Network devices using DPDK-compatible driver
> ============================================
> 0000:01:00.0 'MT27520 Family [ConnectX-3 Pro] 1007' drv=vfio-pci unused=igb_uio

Mellanox drivers do not use neither UIO nor VFIO.


> 3) When I try to use Moongen to use this interface, it returned an
> error that it cannot detect the device.
> 
> [INFO]  Found 0 usable devices:
> [FATAL] Lua error in task master
> ...ace/dpdk/moongen/MoonGen/build/../libmoon/lua/device.lua:100: there
> are only 0 ports, tried to configure port id 1
> 
> 
> The same setup works with my other Intel NIC. I am not sure what I am
> doing wrong. Can you please help?

Please read the documentation:
	http://dpdk.org/doc/guides/nics/mlx4.html#usage-example

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

end of thread, other threads:[~2018-02-05 23:08 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-02-05 23:01 [dpdk-users] Using Mellanox ConnectX-3 for DPDK Rohan Gandhi
2018-02-05 23:07 ` Olga Shern
2018-02-05 23:08 ` Thomas Monjalon

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