DPDK usage discussions
 help / color / mirror / Atom feed
* [dpdk-users] Dpdk-pdump fails with error "no ethernet port" when running with Mellanox MCX454A-FCAT nic
@ 2020-06-17  9:11 Licj
  0 siblings, 0 replies; 5+ messages in thread
From: Licj @ 2020-06-17  9:11 UTC (permalink / raw)
  To: USERS

Hi all, 

I have run dpdk testpmd successfully with Mellanox MCX454A-FCAT nic(mlx5 driver). I can capture the dpdk packets on the recv side using tcpdump. But the througput does not reach line rate(24gbps throughput with 40gbps line rate).


 Then I want to capture packets on the send side using dpdk-pdump. But the dpdk-pdump failed with error "No Ethernet ports - bye".
The initial info with dpdk-pdump shows that it only probes ixgbe driver and 2 Intel nics But not Mellanox nic. 


Anyone knows why and how to solve it? Thank you.

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

* Re: [dpdk-users] Dpdk-pdump fails with error "no ethernet port" when running with Mellanox MCX454A-FCAT nic
  2020-06-17 15:00 ` Stephen Hemminger
@ 2020-06-18  2:33   ` Licj
  0 siblings, 0 replies; 5+ messages in thread
From: Licj @ 2020-06-18  2:33 UTC (permalink / raw)
  To: Stephen Hemminger; +Cc: USERS

Thank you.


I have enabled Mellanox mlx5 driver and recompiled dpdk. The testpmd is running ok.


The problem is dpdk-pdump can't run with testpmd.


------------------ Original ------------------
From: Stephen Hemminger <stephen@networkplumber.org&gt;
Date: Wed,Jun 17,2020 11:00 PM
To: Licj <272465698@qq.com&gt;
Cc: USERS <USERS@DPDK.ORG&gt;
Subject: Re: [dpdk-users] Dpdk-pdump fails with error "no ethernet port" when running with Mellanox MCX454A-FCAT nic



On Wed, 17 Jun 2020 17:22:49 +0800
"Licj" <272465698@qq.com&gt; wrote:

&gt; Hi all, 
&gt; 
&gt; I have run dpdk testpmd successfully with Mellanox MCX454A-FCAT nic(mlx5 driver). I can capture the dpdk packets on the recv side using tcpdump. But the througput does not reach line rate(24gbps throughput with 40gbps line rate).
&gt; 
&gt; 
&gt; &amp;nbsp;Then I want to capture packets on the send side using dpdk-pdump. But the dpdk-pdump failed with error "No Ethernet ports - bye".
&gt; The initial info with dpdk-pdump shows that it only probes ixgbe driver and 2 Intel nics But not Mellanox nic. 
&gt; 
&gt; 
&gt; Anyone knows why and how to solve it? Thank you.

Mellanox DPDK drivers are not enabled by default in the build.
You need to have rdma-core installed and enable it in the DPDK build config file.

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

* Re: [dpdk-users] Dpdk-pdump fails with error "no ethernet port" when running with Mellanox MCX454A-FCAT nic
  2020-06-17  9:22 Licj
  2020-06-17 14:16 ` Nishant Verma
@ 2020-06-17 15:00 ` Stephen Hemminger
  2020-06-18  2:33   ` Licj
  1 sibling, 1 reply; 5+ messages in thread
From: Stephen Hemminger @ 2020-06-17 15:00 UTC (permalink / raw)
  To: Licj; +Cc: USERS

On Wed, 17 Jun 2020 17:22:49 +0800
"Licj" <272465698@qq.com> wrote:

> Hi all, 
> 
> I have run dpdk testpmd successfully with Mellanox MCX454A-FCAT nic(mlx5 driver). I can capture the dpdk packets on the recv side using tcpdump. But the througput does not reach line rate(24gbps throughput with 40gbps line rate).
> 
> 
> &nbsp;Then I want to capture packets on the send side using dpdk-pdump. But the dpdk-pdump failed with error "No Ethernet ports - bye".
> The initial info with dpdk-pdump shows that it only probes ixgbe driver and 2 Intel nics But not Mellanox nic. 
> 
> 
> Anyone knows why and how to solve it? Thank you.

Mellanox DPDK drivers are not enabled by default in the build.
You need to have rdma-core installed and enable it in the DPDK build config file.

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

* Re: [dpdk-users] Dpdk-pdump fails with error "no ethernet port" when running with Mellanox MCX454A-FCAT nic
  2020-06-17  9:22 Licj
@ 2020-06-17 14:16 ` Nishant Verma
  2020-06-17 15:00 ` Stephen Hemminger
  1 sibling, 0 replies; 5+ messages in thread
From: Nishant Verma @ 2020-06-17 14:16 UTC (permalink / raw)
  To: Licj; +Cc: USERS

On Wed, Jun 17, 2020 at 5:22 AM Licj <272465698@qq.com> wrote:

> Hi all,
>
> I have run dpdk testpmd successfully with Mellanox MCX454A-FCAT nic(mlx5
> driver). I can capture the dpdk packets on the recv side using tcpdump. But
> the througput does not reach line rate(24gbps throughput with 40gbps line
> rate).
>
>> Have you offloaded the checksum?

>
>
> &nbsp;Then I want to capture packets on the send side using dpdk-pdump.
> But the dpdk-pdump failed with error "No Ethernet ports - bye".
> The initial info with dpdk-pdump shows that it only probes ixgbe driver
> and 2 Intel nics But not Mellanox nic.
>
>
> Anyone knows why and how to solve it? Thank you.



-- 
Rgds,
Nishant

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

* [dpdk-users] Dpdk-pdump fails with error "no ethernet port" when running with Mellanox MCX454A-FCAT nic
@ 2020-06-17  9:22 Licj
  2020-06-17 14:16 ` Nishant Verma
  2020-06-17 15:00 ` Stephen Hemminger
  0 siblings, 2 replies; 5+ messages in thread
From: Licj @ 2020-06-17  9:22 UTC (permalink / raw)
  To: USERS

Hi all, 

I have run dpdk testpmd successfully with Mellanox MCX454A-FCAT nic(mlx5 driver). I can capture the dpdk packets on the recv side using tcpdump. But the througput does not reach line rate(24gbps throughput with 40gbps line rate).


&nbsp;Then I want to capture packets on the send side using dpdk-pdump. But the dpdk-pdump failed with error "No Ethernet ports - bye".
The initial info with dpdk-pdump shows that it only probes ixgbe driver and 2 Intel nics But not Mellanox nic. 


Anyone knows why and how to solve it? Thank you.

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

end of thread, other threads:[~2020-06-18  2:33 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-17  9:11 [dpdk-users] Dpdk-pdump fails with error "no ethernet port" when running with Mellanox MCX454A-FCAT nic Licj
2020-06-17  9:22 Licj
2020-06-17 14:16 ` Nishant Verma
2020-06-17 15:00 ` Stephen Hemminger
2020-06-18  2:33   ` Licj

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