DPDK usage discussions
 help / color / mirror / Atom feed
From: "Zhang, Xiao" <xiao.zhang@intel.com>
To: "Sampath, Amrutha" <amrutha.sampath@intel.com>,
	"users@dpdk.org" <users@dpdk.org>
Subject: Re: [dpdk-users] no traffic sent/received while testing XL710 with Traffic generator on VM
Date: Mon, 16 Sep 2019 02:42:18 +0000	[thread overview]
Message-ID: <AF0377F445CB2540BB46FF359C1C1BBE011B6381@SHSMSX105.ccr.corp.intel.com> (raw)
In-Reply-To: <9343C8D8740E094F8B06586B4D5872DA730499F1@fmsmsx121.amr.corp.intel.com>

Hi Amrutha,

Did you configure the vf to promiscuous mode?
You need to configure it to promiscuous mode to get packets with destination not the same as mac of vf.
The command is: ip link set dev vf 0 trust on

BR,
Xiao

> -----Original Message-----
> From: users [mailto:users-bounces@dpdk.org] On Behalf Of Sampath, Amrutha
> Sent: Wednesday, September 11, 2019 10:10 AM
> To: users@dpdk.org
> Subject: [dpdk-users] no traffic sent/received while testing XL710 with Traffic
> generator on VM
> 
> Hi All,
> 
> I have VF's created for the XL710.
> I'm using i40e driver version: 2.9.21 and iavf driver: 3.7.53
> 
> I then run this command , whitelisting XL710 ports.
> 
> /home/userx/dpdk/x86_64-native-linuxapp-gcc/app/testpmd -c 0x00007 -n 6 -w
> 0000:00:08.0 -w 0000:00:09.0 --socket-mem=1024 -- --socket-num=0 --nb-
> cores=2 --coremask=0x0006 --rxq=1 --txq=1 -i --mbcache=512 --burst=64 --
> rxd=2048 --txd=2048 --forward-mode=mac --portmask=0x3
> 
> 
> 
> I see port as up in traffic generator (both ixia and spirent) and start traffic, but I
> only see tx on traffic generator end no statistics(rx or tx) on XL710 VF side.
> 
> 
> 
> Is there anything I'm missing?
> 
> 
> 
> 
> 
> Thanks
> 
> 
> 
> 


  reply	other threads:[~2019-09-16  2:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-11  2:09 Sampath, Amrutha
2019-09-16  2:42 ` Zhang, Xiao [this message]
2019-09-16  2:45   ` Sampath, Amrutha
2019-09-16  2:53     ` Zhang, Xiao

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=AF0377F445CB2540BB46FF359C1C1BBE011B6381@SHSMSX105.ccr.corp.intel.com \
    --to=xiao.zhang@intel.com \
    --cc=amrutha.sampath@intel.com \
    --cc=users@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).