DPDK usage discussions
 help / color / mirror / Atom feed
From: spoorthi hebbar <hebbar.spoorthi@gmail.com>
To: users@dpdk.org
Subject: How to run testpmd with TSO enabled?
Date: Wed, 17 Aug 2022 15:48:26 +0530	[thread overview]
Message-ID: <CACp1CNZQnvWWw=jTkP1hn10Lp4iQPXVQXJUyYEC9C195CgxpFQ@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 2300 bytes --]

Hi DPDK community,

I am new DPDK and trying to run DPDK testpmd with TSO enabled on Tx port
and checksum on Rx port just like how it is mentioned here:
https://doc.dpdk.org/dts/test_plans/tso_test_plan.html but with
--enable-rx-cksum
argument, I get following error:

root@localhost:~# dpdk-testpmd -l 4-7 -n 4 -- -i --nb-cores=2
--eth-peer=0,xx:xx:xx:xx:xx:xx --eth-peer=1,xx:xx:xx:xx:xx:xx
--forward-mode=mac --rxq=2 --txq=2 --enable-rx-cksum --rxd=512
--txd=512 --burst=32 --rxfreet=64 --mbcache=128 --portmask=0x3
--txpt=36 --txht=0 --txwt=0 --txfreet=32 --txrst=32
EAL: Detected 8 lcore(s)
EAL: Detected 1 NUMA nodes
EAL: Multi-process socket /var/run/dpdk/rte/mp_socket
EAL: Selected IOVA mode 'PA'
EAL: No available hugepages reported in hugepages-2048kB
EAL: Probing VFIO support...
EAL: VFIO support initialized
EAL:   Invalid NUMA socket, default to 0
EAL: Probe PCI driver: net_virtio (1af4:1000) device: 0000:00:06.0 (socket 0)
EAL:   using IOMMU type 8 (No-IOMMU)
[63652.737684] vfio-pci 0000:00:06.0: vfio-noiommu device opened by
user (dpdk-testpmd:2518)
EAL: Ignore mapping IO port bar(0)
EAL:   Invalid NUMA socket, default to 0
EAL: Probe PCI driver: net_virtio (1af4:1000) device: 0000:00:06.1 (socket 0)
[63652.744250] vfio-pci 0000:00:06.1: vfio-noiommu device opened by
user (dpdk-testpmd:2518)
EAL: Ignore mapping IO port bar(0)
EAL:   Invalid NUMA socket, default to 0
EAL: Probe PCI driver: net_virtio (1af4:1041) device: 0000:01:00.0 (socket 0)
EAL: No legacy callbacks, legacy socket not created
Interactive-mode selected
Set mac packet forwarding mode
testpmd: create a new mbuf pool <mb_pool_0>: n=159744, size=2176, socket=0
testpmd: preferred mempool ops selected: ring_mp_mc
Configuring Port 0 (socket 0)
Ethdev port_id=0 requested Rx offloads 0xe doesn't match Rx offloads
capabilities 0xa1d in rte_eth_dev_configure()
Fail to configure port 0
EAL: Error - exiting with code: 1
  Cause: Start ports failed

Can someone help me with pointers to resolve this? Also the documentation
here https://doc.dpdk.org/dts/test_plans/tso_test_plan.html to obtain
performance figures with TSO enabled misses a lot of details.  A detailed
description about how to measure performance with TSO enabled with a packet
created using scapy would be much appreciated.

Thanks!
Spoorthi

[-- Attachment #2: Type: text/html, Size: 2975 bytes --]

                 reply	other threads:[~2022-08-24  8:29 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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='CACp1CNZQnvWWw=jTkP1hn10Lp4iQPXVQXJUyYEC9C195CgxpFQ@mail.gmail.com' \
    --to=hebbar.spoorthi@gmail.com \
    --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).