DPDK patches and discussions
 help / color / mirror / Atom feed
From: Vikrant Verma <vikrantverma99@gmail.com>
To: dev@dpdk.org
Subject: [dpdk-dev] Getting same Source MAC Address on both port in pktgen
Date: Tue, 10 Feb 2015 14:31:28 +0530	[thread overview]
Message-ID: <CAEvFgityX0yt-gU_dEAs_UDrW4JCZmSZQcXprwpD4afeMOMk1w@mail.gmail.com> (raw)
In-Reply-To: <CAEvFgivQrL=K2MOcqOOSSifpVdzQ5bKVt3d2pfvW+SO5bK63xg@mail.gmail.com>

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

           reply	other threads:[~2015-02-10  9:01 UTC|newest]

Thread overview: expand[flat|nested]  mbox.gz  Atom feed
 [parent not found: <CAEvFgivQrL=K2MOcqOOSSifpVdzQ5bKVt3d2pfvW+SO5bK63xg@mail.gmail.com>]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAEvFgityX0yt-gU_dEAs_UDrW4JCZmSZQcXprwpD4afeMOMk1w@mail.gmail.com \
    --to=vikrantverma99@gmail.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).