DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] Getting same Source MAC Address on both port in pktgen
       [not found] ` <CAEvFgivQrL=K2MOcqOOSSifpVdzQ5bKVt3d2pfvW+SO5bK63xg@mail.gmail.com>
@ 2015-02-10  9:01   ` Vikrant Verma
  0 siblings, 0 replies; only message in thread
From: Vikrant Verma @ 2015-02-10  9:01 UTC (permalink / raw)
  To: dev

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

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

only message in thread, other threads:[~2015-02-10  9:01 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <b1737b2d50b942379c218ac50af8f133@BLREXCHMBX001.TechMahindra.com>
     [not found] ` <CAEvFgivQrL=K2MOcqOOSSifpVdzQ5bKVt3d2pfvW+SO5bK63xg@mail.gmail.com>
2015-02-10  9:01   ` [dpdk-dev] Getting same Source MAC Address on both port in pktgen Vikrant Verma

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