[root@localhost pktgen-3.7.1]# sudo ./app/x86_64-native-linuxapp-gcc/pktgen -l 0,2,4 -n 4 --proc-type primary --log-level 7 --file-prefix pg -w 0000:09:00.0 -w 0000:09:00.1 -- -T -P -m 2.0 -m 4.1 -f themes/black-yellow.theme Copyright (c) <2010-2019>, Intel Corporation. All rights reserved. Powered by DPDK EAL: Detected 12 lcore(s) EAL: Detected 2 NUMA nodes EAL: Multi-process socket /var/run/dpdk/pg/mp_socket EAL: Selected IOVA mode 'VA' EAL: Probing VFIO support... EAL: VFIO support initialized EAL: PCI device 0000:09:00.0 on NUMA socket 0 EAL: probe driver: 8086:d58 net_i40e EAL: using IOMMU type 1 (Type 1) EAL: PCI device 0000:09:00.1 on NUMA socket 0 EAL: probe driver: 8086:d58 net_i40e Lua 5.3.5 Copyright (C) 1994-2018 Lua.org, PUC-Rio *** Copyright (c) <2010-2019>, Intel Corporation. All rights reserved. *** Pktgen created by: Keith Wiles -- >>> Powered by DPDK <<< Port: Name IfIndex Alias NUMA PCI 0: net_i40e 0 0 8086:0d58/09:00.0 1: net_i40e 0 0 8086:0d58/09:00.1 Initialize Port 0 -- TxQ 1, RxQ 1, Src MAC 64:4c:36:11:c9:8c Initialize Port 1 -- TxQ 1, RxQ 1, Src MAC 64:4c:36:11:c9:8d Port 0: Link Down Port 1: Link Down RX/TX processing lcore: 2 rx: 1 tx: 1 RX/TX processing lcore: 4 rx: 1 tx: 1 - Ports 0-1 of 2
Copyright (c) <2010-2019>, Intel Corporation Flags:Port : P------Single :0 P------Single :1 Link State : <--Down--> <--Down--> ---Total Rate--- Pkts/s Max/Rx : 0/0 0/0 0/0 Max/Tx : 0/0 0/0 0/0 MBits/s Rx/Tx : 0/0 0/0 0/0 Broadcast : 0 0 Multicast : 0 0 Sizes 64 : 0 0 65-127 : 0 0 128-255 : 0 0 256-511 : 0 0 512-1023 : 0 0 1024-1518 : 0 0 Runts/Jumbos : 0/0 0/0 ARP/ICMP Pkts : 0/0 0/0 Errors Rx/Tx : 0/0 0/0 Total Rx Pkts : 0 0 Tx Pkts : 0 0 Rx MBs : 0 0 Tx MBs : 0 0 : Pattern Type : abcd... abcd... Tx Count/% Rate : Forever /100% Forever /100% Pkt Size/Tx Burst : 64 / 64 64 / 64 TTL/Port Src/Dest : 4/ 1234/ 5678 4/ 1234/ 5678 Pkt Type:VLAN ID : IPv4 / TCP:0001 IPv4 / TCP:0001 802.1p CoS/DSCP/IPP : 0/ 0/ 0 0/ 0/ 0 VxLAN Flg/Grp/vid : 0000/ 0/ 0 0000/ 0/ 0 IP Destination : 192.168.1.1 192.168.0.1 Source : 192.168.0.1/24 192.168.1.1/24 MAC Destination : 64:4c:36:11:c9:8d 64:4c:36:11:c9:8c Source : 64:4c:36:11:c9:8c 64:4c:36:11:c9:8d PCI Vendor/Addr : 8086:0d58/09:00.0 8086:0d58/09:00.1 -- Pktgen Ver: 3.7.1 (DPDK 19.11.0-rc0) Powered by DPDK (pid:38010) --------- Pktgen:/> theme stats.total.label red none bold Pktgen:/> theme stats.total.data blue none bold Pktgen:/> theme stats.colon blue none bold Pktgen:/> theme stats.rate.count blue none bold Pktgen:/> theme stats.bdf blue none off Pktgen:/> theme stats.mac green none off Pktgen:/> theme stats.ip cyan none off Pktgen:/> theme pktgen.prompt green none off Pktgen:/> cls - Ports 0-1 of 2
Copyright (c) <2010-2019>, Intel Corporation Flags:Port : P------Single :0 P------Single :1 Link State : <--Down--> <--Down--> ---Total Rate--- Pkts/s Max/Rx : 0/0 0/0 0/0 Max/Tx : 0/0 0/0 0/0 MBits/s Rx/Tx : 0/0 0/0 0/0 Broadcast : 0 0 Multicast : 0 0 Sizes 64 : 0 0 65-127 : 0 0 128-255 : 0 0 256-511 : 0 0 512-1023 : 0 0 1024-1518 : 0 0 Runts/Jumbos : 0/0 0/0 ARP/ICMP Pkts : 0/0 0/0 Errors Rx/Tx : 0/0 0/0 Total Rx Pkts : 0 0 Tx Pkts : 0 0 Rx MBs : 0 0 Tx MBs : 0 0 : Pattern Type : abcd... abcd... Tx Count/% Rate : 10000 /100% 10000 /100% Pkt Size/Tx Burst : 1024 / 64 1024 / 64 TTL/Port Src/Dest : 4/ 1234/ 5678 4/ 1234/ 5678 Pkt Type:VLAN ID : IPv4 / TCP:0001 IPv4 / TCP:0001 802.1p CoS/DSCP/IPP : 0/ 0/ 0 0/ 0/ 0 VxLAN Flg/Grp/vid : 0000/ 0/ 0 0000/ 0/ 0 IP Destination : 192.168.1.1 192.168.0.1 Source : 192.168.0.1/24 192.168.1.1/24 MAC Destination : 64:4c:36:11:c9:8d 64:4c:36:11:c9:8c Source : 64:4c:36:11:c9:8c 64:4c:36:11:c9:8d PCI Vendor/Addr : 8086:0d58/09:00.0 8086:0d58/09:00.1 -- Pktgen Ver: 3.7.1 (DPDK 19.11.0-rc0) Powered by DPDK (pid:38010) --------- start - Start transmitting packets stop - Stop transmitting packets stp - Stop all ports from transmitting str - Start all ports transmitting start prime - Transmit packets on each port listed. See set prime command above start arp - Send a ARP type packet type - request | gratuitous | req | grat Start/Stop command invalid: Invalid line: Pktgen:/>