DPDK patches and discussions
 help / color / mirror / Atom feed
From: "Lu, Wenzhuo" <wenzhuo.lu@intel.com>
To: Nishant Verma <vnish11@gmail.com>
Cc: "dev@dpdk.org" <dev@dpdk.org>
Subject: Re: [dpdk-dev] flow director on X550
Date: Thu, 26 May 2016 06:34:54 +0000	[thread overview]
Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC09090346B90E@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <CAHhCjUGUqJe6iOeMDuoYAtcnQVJFQ=d=q_RBJD5x56Z2agMi7Q@mail.gmail.com>

Hi Nishant,

From: Nishant Verma [mailto:vnish11@gmail.com]
Sent: Thursday, May 26, 2016 11:40 AM
To: Lu, Wenzhuo
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] flow director on X550

Hi Wenzhuo,
Thanks for the reply.

​As par datasheet, if flow director filter matches then RSS won't impact as RSS is the last filter to be applied on received packet.

But just to confirm, i tried and still issue persist. Any other thing that you think i can try, please let me know.
[Wenzhuo] After checking the code, according to our implementation you cannot mask all the L4 ports if you want to direct the L4 packets. With all the ports masked, flow director only handles the raw IP packets. It means UDP/TCP/SCTP packets will not be handled.  There’s a workaround. You can change the dest port mask to 0x01 (or src port if you like). And add 2 filters, one for dest IP 66.66.66.66 + dest port 0, the other for dest IP 66.66.66.66 + dest port 1.
Thanks.

On Wed, May 25, 2016 at 8:52 PM, Lu, Wenzhuo <wenzhuo.lu@intel.com<mailto:wenzhuo.lu@intel.com>> wrote:
Hi Nishant,

> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org<mailto:dev-bounces@dpdk.org>] On Behalf Of Nishant Verma
> Sent: Thursday, May 26, 2016 4:08 AM
> To: dev@dpdk.org<mailto:dev@dpdk.org>
> Subject: [dpdk-dev] flow director on X550
>
> Hi All,
>
> My system configuration is
> ==>#. SuperMicro 1U
>    - BIOS: 1.0a
>    - Processor: Intel(R) Xeon(R) CPU D-1540 @ 2.00GHz
>    - Onboard NIC: Intel(R) X552/X557-AT (2x10G)
>      - Firmware-version: 0x800001cf
>      - Device ID (PF/VF): 8086:15ad /8086:15a8
>    - kernel driver version: 4.2.5 (ixgbe)
>
> I am working on DPDK 16.04 & pktgen 3.0.0 version.
>
>
> My intention is to test flow director based on just destination IP. It means, i will
> use test-pmd and configure flow director and fdir mask, from pktgen i will send
> packet and check if packets are going to right queue or not.
>
> Here is the procedure, that i follow.
>
> 1. I run testpmd
> * ./testpmd -c 0xffff -n 4 -- -i  --portmask=0x3 --nb-cores=5 --disable-link-check
> --rxq=5 --txq=5  --pkt-filter-mode=perfect*
We need add the parameter *--disable-rss* to avoid the impact of RSS.



--
Rgds,
Nishant




      reply	other threads:[~2016-05-26  6:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-25 20:08 Nishant Verma
2016-05-26  0:52 ` Lu, Wenzhuo
2016-05-26  3:39   ` Nishant Verma
2016-05-26  6:34     ` Lu, Wenzhuo [this message]

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=6A0DE07E22DDAD4C9103DF62FEBC09090346B90E@shsmsx102.ccr.corp.intel.com \
    --to=wenzhuo.lu@intel.com \
    --cc=dev@dpdk.org \
    --cc=vnish11@gmail.com \
    /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).