DPDK usage discussions
 help / color / mirror / Atom feed
From: Alessio Igor Bogani <alessio.bogani@elettra.eu>
To: Stephen Hemminger <stephen@networkplumber.org>
Cc: users@dpdk.org, Anuj Mittal <anuj.mittal@intel.com>
Subject: Re: dpdk-testpmd on XDP
Date: Fri, 22 Mar 2024 19:13:48 +0100	[thread overview]
Message-ID: <CAPk1OjE8LScVx=MjkW0z3VRzYkeq4nNeM-hn_LosEgAv+BoJwQ@mail.gmail.com> (raw)
In-Reply-To: <CAPk1OjFpnW6Jb78m=0_cQiUgpzmUg3O7aDYhDx7RtMHux7FOyA@mail.gmail.com>

Hi Stephen,

Here the diff between logs:

# diff vfio.log xdp.log
7,11d6
< EAL: Using IOMMU type 1 (Type 1)
< EAL: Ignore mapping IO port bar(2)
< EAL: Probe PCI driver: net_e1000_igb (8086:1521) device:
0000:15:00.0 (socket 0)
< EAL: Ignore mapping IO port bar(2)
< EAL: Probe PCI driver: net_e1000_igb (8086:1521) device:
0000:15:00.3 (socket 0)
22,23c17,18
< Port 0 Link up at 1 Gbps FDX Autoneg
< Port 1 Link up at 1 Gbps FDX Autoneg
---
> Port 0 Link up at 10 Gbps FDX Autoneg
> Port 1 Link up at 10 Gbps FDX Autoneg
36c31
<       RX desc=512 - RX free threshold=32
---
>       RX desc=0 - RX free threshold=0
40,41c35,36
<       TX desc=512 - TX free threshold=0
<       TX threshold registers: pthresh=8 hthresh=1  wthresh=16
---
>       TX desc=0 - TX free threshold=0
>       TX threshold registers: pthresh=0 hthresh=0  wthresh=0
46c41
<       RX desc=512 - RX free threshold=32
---
>       RX desc=0 - RX free threshold=0
50,51c45,46
<       TX desc=512 - TX free threshold=0
<       TX threshold registers: pthresh=8 hthresh=1  wthresh=16
---
>       TX desc=0 - TX free threshold=0
>       TX threshold registers: pthresh=0 hthresh=0  wthresh=0

I don't know why dpdk-testpmd (using xdp) reports 10 Gbps but NICs are
1 Gbs only...

Ciao,
Alessio

  reply	other threads:[~2024-03-22 18:15 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-19 10:48 Alessio Igor Bogani
2024-03-19 16:07 ` Stephen Hemminger
2024-03-20  7:22   ` Alessio Igor Bogani
2024-03-20 16:24     ` Stephen Hemminger
2024-03-22 17:57       ` Alessio Igor Bogani
2024-03-22 18:13         ` Alessio Igor Bogani [this message]
2024-03-22 23:32         ` Stephen Hemminger

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAPk1OjE8LScVx=MjkW0z3VRzYkeq4nNeM-hn_LosEgAv+BoJwQ@mail.gmail.com' \
    --to=alessio.bogani@elettra.eu \
    --cc=anuj.mittal@intel.com \
    --cc=stephen@networkplumber.org \
    --cc=users@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).