From: "Jayakumar, Muthurajan" <muthurajan.jayakumar@intel.com>
To: Al Patel <alps.oss@gmail.com>, "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] testpmd: not seeing any traffic on 1g (pair) or 10g pair
Date: Mon, 25 Aug 2014 16:30:01 +0000 [thread overview]
Message-ID: <5D695A7F6F10504DBD9B9187395A21797D115264@ORSMSX112.amr.corp.intel.com> (raw)
In-Reply-To: <CAF9p443tL25emaDaVOMVQx7F7dxcxNdp1DikEChC+dtJ1JESzw@mail.gmail.com>
Can you please do the following steps as in Quick start guide http://dpdk.org/doc/quick-start
Thanks,
Extract sources.
tar xf dpdk.tar.gz
cd dpdk
Build libraries and kernel module (Linux headers are needed).
make config T=x86_64-native-linuxapp-gcc
make
The next steps must be done as root.
Load kernel modules.
modprobe uio
insmod build/kmod/igb_uio.ko
Bind Intel devices to igb_uio.
tools/dpdk_nic_bind.py --bind=igb_uio $(tools/dpdk_nic_bind.py --status | sed -rn 's,.* if=([^ ]*).*igb_uio *$,\1,p')
Reserve huge pages memory.
mkdir -p /mnt/huge
mount -t hugetlbfs nodev /mnt/huge
echo 64 > /sys/devices/system/node/node0/hugepages/hugepages-2048kB/nr_hugepages
Set the highest frequency.
for gov in /sys/devices/system/cpu/*/cpufreq/scaling_governor ; do echo performance >$gov ; done
Run poll-mode driver test (with a cable between ports).
build/app/testpmd -c7 -n3 -- -i --nb-cores=2 --nb-ports=2
testpmd> show port stats all
######################## NIC statistics for port 0 ########################
RX-packets: 0 RX-errors: 0 RX-bytes: 0
TX-packets: 0 TX-errors: 0 TX-bytes: 0
############################################################################
######################## NIC statistics for port 1 ########################
RX-packets: 0 RX-errors: 0 RX-bytes: 0
TX-packets: 0 TX-errors: 0 TX-bytes: 0
############################################################################
testpmd> start tx_first
testpmd> stop
---------------------- Forward statistics for port 0 ----------------------
RX-packets: 7139974 RX-dropped: 0 RX-total: 7139974
TX-packets: 6699967 TX-dropped: 0 TX-total: 6699967
----------------------------------------------------------------------------
---------------------- Forward statistics for port 1 ----------------------
RX-packets: 6699967 RX-dropped: 0 RX-total: 6699967
TX-packets: 7139974 TX-dropped: 0 TX-total: 7139974
----------------------------------------------------------------------------
-----Original Message-----
From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Al Patel
Sent: Monday, August 25, 2014 9:20 AM
To: dev@dpdk.org
Subject: [dpdk-dev] testpmd: not seeing any traffic on 1g (pair) or 10g pair
Hi,
I am doing a basic test with testpmd per the getting started page.
I connected two 1g in back to back mode and executed:
sudo ./build/app/testpmd -c 0xF -n 4 -- -i --portmask=0x2 --nb-cores=2
start (and start tx_first)
stop
I see 0 counters for rx/tx.
I removed the two 1g from uio driver and added two 10g 82599EB and reran the test - still 0 traffic.
Wondering where to debug.
thx
next prev parent reply other threads:[~2014-08-25 16:26 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-08-25 16:19 Al Patel
2014-08-25 16:30 ` Jayakumar, Muthurajan [this message]
2014-08-25 16:35 ` Al Patel
2014-08-25 17:42 ` Jayakumar, Muthurajan
2014-08-25 17:58 ` Zhou, Danny
2014-08-26 16:45 ` Zhang, Jerry
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=5D695A7F6F10504DBD9B9187395A21797D115264@ORSMSX112.amr.corp.intel.com \
--to=muthurajan.jayakumar@intel.com \
--cc=alps.oss@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).