[dpdk-dev] Getting same Source MAC Address on both port in pktgen
Vikrant Verma
vikrantverma99 at gmail.com
Tue Feb 10 10:01:28 CET 2015
Hi All,
I am running pktgen application using the below command and in the pktgen
window I am getting “Src MAC Address” same as for port 0 and port1.
Command - ./pktgen -c 0xf -n 2 -- -p 0x3 -m {1:3}.0,{2:1}.1
I have configured destination mac address for port 0 and port 1 as per the
mac address on the other machine.
Issue – Source Mac address is coming as same for port 0 and 1 (as shown in
the below dump)
| Ports 0-1 of 2 ** Main Page ** Copyright (c) <2010-2014>, Wind River
Systems, Inc. All rights reserved. Pow Flags:Port :
--------------:0 --------------:1
Link State : <UP-1000-FD>
<UP-1000-FD> ---TotalRate---
Pkts/s Rx : 1
0 1
Tx : 0
0 0
MBits/s Rx/Tx : 0/0
0/0 0/0
Broadcast : 0 0
Multicast : 0 0
64 Bytes : 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
Errors Rx/Tx : 0/0 0/0
Total Rx Pkts : 26 0
Tx Pkts : 0 0
Rx MBs : 0 0
Tx MBs : 0 0
ARP/ICMP Pkts : 0/0 0/0
:
Tx Count/% Rate : Forever/100% Forever/100%
PktSize/Tx Burst: 64/32 64/32
Src/Dest Port : 1234/5678 1234/5678
Pkt Type:VLAN ID: IPv4/TCP:0001 IPv4/TCP:0001
Dst IP Address : 192.168.1.1 192.168.0.1
Src IP Address : 192.168.0.1/24 192.168.1.1/24
Dst MAC Address : 00:1b:21:65:db:2d 00:1b:21:65:db:2c
Src MAC Address : 00:07:e9:a5:b2:0d 00:07:e9:a5:b2:0d
-- Pktgen Ver:2.7.7(DPDK-1.7.1)
---------------------------------------------------------------------------
NIC Info – Intel 82546EB Gigabit Ethernet
Regards,
Vikrant
More information about the dev
mailing list