Ethernet Products
Determine ramifications of Intel® Ethernet products and technologies
4873 Discussions

Send PCAP from multiple network card using dpdk pktgen

Yaniv_Shoham
Novice
1,206 Views

I like to spread one pcap frames(round robin or every x frames) from multiple network cards.

Is it possible with dpdk-pktgen?

I try:
./app/pktgen -l 0-4 -n 6 --file-prefix=pg --proc-type auto --log-level 7 -m 32768 --legacy-mem -- -P -m "1.0,2.1" -T -s [0,1]:/data/traces/GTP-U_04-Octh13m47s04m454701-rx1.pcap

But pktgen show pcap only for port 0:

Yaniv_Shoham_0-1679230752902.png



I all so try :
# ./app/pktgen -l 0-2 -n 6 --file-prefix=pg --proc-type auto --log-level 7 --socket-mem 32768,128 --legacy-mem -- -P -m "2.[0-1]" -T -s [0-1]:/data/traces/MME-23-Seph13m55s26m265439-rx_1.pcap

And still, the pcap does not send over port 0&1.

0 Kudos
6 Replies
B_Y
Employee
1,059 Views

Hello Yaniv,

Thank you for posting in Intel Ethernet Communities.

In order for us to provide the most accurate assistance on this scenario, we just wanted to confirm a few details about your system:


What is the model of the motherboard?


What is the OS, kernel version and system? Have you apply with the latest update of driver/firmware?

To check Linux Kernel version, try the following commands: uname -r


What is the model of NIC/s that you are testing with?


Is this a new computer? Was it working fine before? Did you make any recent hardware/software changes?


Best regards,

BY_Intel

Intel Customer Support


0 Kudos
Yaniv_Shoham
Novice
1,034 Views

Hi,
I forgot to mention that tanks for this page (https://pktgen-dpdk.readthedocs.io/en/latest/usage_pktgen.html) I success to send over 2 port at the same time using two pktgen instances.
The question is how to spread( load balance ) one pcap over 2 ports using one pktgen instance.

 

Environment:

  • motherboard: no idea how to get this info. its ProLiant DL360 Gen10 with Intel(R) Xeon(R) Gold 6138.  it pcie gen 3.
  • OS: Centos 7.9
  • Have you apply with the latest update of driver/firmware? from last year.
  • # uname -r
    3.10.0-1160.76.1.el7.x86_64
  • Intel(R) Eth E810-CQDA2 with 2 ports of 100Gbps (the speed limitation of motherboard::pcie 3.0 is not an issue. we need 30Gbps from every port).
  • Is this a new computer? from 2017. Was it working fine before? Yes, and still work fine. Did you make any recent hardware/software changes? No.
0 Kudos
B_Y
Employee
1,013 Views

Hello Yaniv,

Please refer to the public article below on page 24, Content ID: 764257

Title: Intel® Ethernet Controller E810 Data Plane Development Kit (DPDK) 22.11 Configuration Guide

Link: https://cdrdv2.intel.com/v1/dl/getContent/764257?explicitVersion=true


Should you need any further information, please do not hesitate to replay this thread.


Best regards,

BY_Intel

Intel Customer Support


0 Kudos
B_Y
Employee
976 Views

Hello Yaniv,

Good day and I hope everything is great!

This is just a follow up regarding your inquiry with us.

If you have additional questions or clarifications, feel free to let us know.

 

Should there be no response from you, We'll be waiting for your response. Thanks


Best regards,

BY_Intel

Intel Customer Support


0 Kudos
B_Y
Employee
957 Views

Hello Yaniv,

Since this question involves DPDK, please check with Intel Premier Support for further assistance. See the following for access to Intel Premier Support.

Click the "Access and Log In" to contact the DPDK support https://www.intel.com/content/www/us/en/design/support/ips/training/welcome.html

 

How to Apply for an Intel® Resource and Documentation Center (RDC) and/or Intel® Developer Zone (Intel® DevZone) Account

https://www.intel.com/content/www/us/en/support/articles/000058073/programs/resource-and-documentation-center.html

 

Please be informed that we will now close this request. Just feel free to post a new question if you may have any other inquiry in the future as this thread will no longer be monitored.

 

May you have a great day!

 

Best regards,

BY_Intel

Intel® Customer Support


0 Kudos
Yaniv_Shoham
Novice
905 Views

Hi B_Y,
Sorry for response delay.

I not see how Link: https://cdrdv2.intel.com/v1/dl/getContent/764257?explicitVersion=true related. Please help?

https://doc.dpdk.org/guides/prog_guide/link_bonding_poll_mode_drv_lib.html is look like what I need.
I will test it and update.

0 Kudos
Reply