Coder Social home page Coder Social logo

Comments (4)

cneely-amd avatar cneely-amd commented on July 28, 2024

Hi @vaniaprkl ,

I know that a few people have used dpdk-testpmd okay, but I'm not aware of anyone using dpdk-pdump. The port of the AMD-Xilinx DPDK QDMA drivers to OpenNIC was contributed by someone in the community. Getting that to work might require some additional changes.

--Chris

from open-nic-dpdk.

cneely-amd avatar cneely-amd commented on July 28, 2024

Hi @vaniaprkl ,

I chatted with someone who did use a combination of dpdk-testpmd + dpdk-pdump recently to test. They used testpmd in --interactive mode. They said dpdk-testpmd showed two ports forwarding packets back and forth. They tried start tx_first 10 and they could see packets passed via the FPGA by running show port stats all and also checking the FPGA packet counters.
They also tried dpdk-pdump -l 9-13 -n 9 -- --pdump 'port=0,queue=*,rx-dev=/tmp/port0.pcap' --pdump 'port=1,queue=*,rx-dev=/tmp/port1.pcap' to add capture ports to both sides of the chain. They said waiting a few seconds and hitting ctrl-c showed millions of packets captured (verified via capinfos /tmp/port0.pcp). This is a different test, but the above description should hopefully help give an example of a successful test.

Best regards,
--Chris

from open-nic-dpdk.

cneely-amd avatar cneely-amd commented on July 28, 2024

One other note is that testpmd might be expecting packets with a matching destination MAC+IP, but we don't know that for certain.

from open-nic-dpdk.

attdone avatar attdone commented on July 28, 2024

Hi Team,
I am facing similar issue, can I know how you have tested dpdk-pdump further?
While testing DPDK TestPMD with Loopback setup, the tx packets are counted under show port stats all, but the rx packets are 0. I was using below command to test testpmd.

sudo ./build/app/dpdk-testpmd -l 1-3 -n 4 -a 0000:08:00.0 -- --burst=256 -i --nb-cores=1 --forward-mode=io --rxd=2048 --txd=2048 --mbcache=512 --mbuf-size=4096 .

Please let me know what changes to be done so that the RX packets are also gets incremented.?

from open-nic-dpdk.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.