How to run testpmd with TSO enabled?
spoorthi hebbar
hebbar.spoorthi at gmail.com
Wed Aug 17 12:18:26 CEST 2022
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 at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mails.dpdk.org/archives/users/attachments/20220817/c5655ef3/attachment-0001.htm>
More information about the users
mailing list