DPDK patches and discussions
 help / color / mirror / Atom feed
* DPDK pktgen with I226 link speed only 1G
@ 2023-02-09  6:39 Amy.Shih
  0 siblings, 0 replies; only message in thread
From: Amy.Shih @ 2023-02-09  6:39 UTC (permalink / raw)
  To: qiming.yang, dev; +Cc: Rick.Lai


[-- Attachment #1.1: Type: text/plain, Size: 2748 bytes --]

Hi Qiming & dpdk dev team:

This is Amy from Advantech, we have a question about I226 DPDK loopback pktgen, could you please give us some advice?


We bind the I226 devices with vfio-pci driver and execute the DPDK pktgen. However, the link speed of both I226 are only 1G, we expected the link seepd is 2.5G.
Do you have any suggestions? Thanks!

Testing procedure & result:

root@FWA-1013-efi:~# modprobe uio
root@FWA-1013-efi:~# modprobe vfio-pci
root@FWA-1013-efi:~# echo 2048 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages
root@FWA-1013-efi:~# mkdir -p /mnt/huge
root@FWA-1013-efi:~# mount -t hugetlbfs nodev /mnt/huge
root@FWA-1013-efi:~# dpdk-devbind.py -b vfio-pci 02:00.0
root@FWA-1013-efi:~# dpdk-devbind.py -b vfio-pci 03:00.0
root@FWA-1013-efi:~# pktgen --main-lcore 1 -c 0000001f -n 3 -a 02:00.0 -a 03:00.0 --socket-mem=512 --file-prefix=dpdk_pktgen -- -P -T --crc-strip -m '[0].0,[0].1'en -- -P -T --crc-strip -m '[0].0,[0].1'
Copyright(c) <2010-2021>, Intel Corporation. All rights reserved. Powered by DPDK
EAL: Detected CPU lcores: 8
EAL: Detected NUMA nodes: 1
EAL: Detected shared linkage of DPDK
EAL: Multi-process socket /var/run/dpdk/dpdk_pktgen/mp_socket
EAL: Selected IOVA mode 'VA'
EAL: VFIO support initialized
EAL: Using IOMMU type 1 (Type 1)
[  327.995182] vfio-pci 0000:02:00.0: vfio_ecap_init: hiding ecap 0x1f@0x1f0
[  328.003520] vfio-pci 0000:02:00.0: vfio_ecap_init: hiding ecap 0x1e@0x1e0
EAL: Probe PCI driver: net_igc (8086:125b) device: 0000:02:00.0 (socket 0)
[  328.275177] vfio-pci 0000:03:00.0: vfio_ecap_init: hiding ecap 0x1f@0x1f0
[  328.283404] vfio-pci 0000:03:00.0: vfio_ecap_init: hiding ecap 0x1e@0x1e0
EAL: Probe PCI driver: net_igc (8086:125b) device: 0000:03:00.0 (socket 0)
TELEMETRY: No legacy callbacks, legacy socket not created
>>> Strip CRC in hardware is the default

*** Copyright(c) <2010-2021>, Intel Corporation. All rights reserved.
*** Pktgen  created by: Keith Wiles -- >>> Powered by DPDK <<<

Port: Name         IfIndex Alias        NUMA  PCI
    0: net_igc         0                   0   8086:125b/02:00.0
    1: net_igc         0                   0   8086:125b/03:00.0

Initialize Port 0 -- TxQ 1, RxQ 1
Src MAC c4:00:ad:ed:8c:8c
<Promiscuous mode Enabled>
Initialize Port 1 -- TxQ 1, RxQ 1
Src MAC c4:00:ad:ed:8c:8d
<Promiscuous mode Enabled> <Promiscuous mode Enabled>


WARNING: Nothing to do on lcore 2: exiting
WARNING: Nothing to do on lcore 3: exiting
WARNING: Nothing to do on lcore 4: exiting[cid:image002.png@01D93C94.27BC0480]

Best Regards,
Amy Shih
Advantech ICVG x86 Software
02-2792-7818 Ext. 1249
[Server_iManager]<https://campaign.advantech.online/en/Cloud-IoT/software/>


[-- Attachment #1.2: Type: text/html, Size: 14043 bytes --]

[-- Attachment #2: image001.jpg --]
[-- Type: image/jpeg, Size: 120350 bytes --]

[-- Attachment #3: image002.png --]
[-- Type: image/png, Size: 307055 bytes --]

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

only message in thread, other threads:[~2023-02-13 14:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-02-09  6:39 DPDK pktgen with I226 link speed only 1G Amy.Shih

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