DPDK usage discussions
 help / color / mirror / Atom feed
* How to run testpmd with TSO enabled?
@ 2022-08-17 10:18 spoorthi hebbar
  0 siblings, 0 replies; only message in thread
From: spoorthi hebbar @ 2022-08-17 10:18 UTC (permalink / raw)
  To: users

[-- 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 --]

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-08-24  8:29 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-17 10:18 How to run testpmd with TSO enabled? spoorthi hebbar

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