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] Query on RSS Rule
Date: Thu, 19 May 2016 03:35:16 +0000	[thread overview]
Message-ID: <6A0DE07E22DDAD4C9103DF62FEBC090903469681@shsmsx102.ccr.corp.intel.com> (raw)
In-Reply-To: <CAHhCjUHBEaTnpO7BWmY6F6+V7MZVBYm8P6LL=01wU4z1LrA=ig@mail.gmail.com>

Hi Nishant,

From: Nishant Verma [mailto:vnish11@gmail.com]
Sent: Thursday, May 19, 2016 11:21 AM
To: Lu, Wenzhuo
Cc: dev@dpdk.org
Subject: Re: [dpdk-dev] Query on RSS Rule

Hi Wenzhuo,
Tried UDP as well as TCP.
Also use dump function to check if packet it correct or not. I found packet perfectly fine.
but anyhow problem still remain the same.
Wenzhuo: Glad to know the problem is not related to the protocol. I don’t find anything wrong in your code, except I’m not sure if the mask for dst_ip is right. Suppose it’s right ☺ Seems having to check if the register is right. I mean the registers in the function ixgbe_add_5tuple_filter. Not sure if it’s easy to check them in your APP. If not, maybe you can try testpmd first.

On Wed, May 18, 2016 at 11:09 PM, Lu, Wenzhuo <wenzhuo.lu@intel.com<mailto:wenzhuo.lu@intel.com>> wrote:
Hi Nishant,

From: Nishant Verma [mailto:vnish11@gmail.com<mailto:vnish11@gmail.com>]
Sent: Thursday, May 19, 2016 10:29 AM
To: Lu, Wenzhuo
Cc: dev@dpdk.org<mailto:dev@dpdk.org>
Subject: Re: [dpdk-dev] Query on RSS Rule


Hi Wenzhuo,
Thanks for the reply. Yes, i am using ixgbe.

On software front, this is what i am doing.....

I am using DPDK 16.04 and pktgen 3.0.00

On my DPDK machine, i have configured RSS rule just for Destination IP (172.10.10.2).

[rss]<https://cloud.githubusercontent.com/assets/7613402/15160737/2aa17d4e-16c9-11e6-9161-4178056176ca.png>

From Pktgen when i changed destination IP as 172.10.10.2, proto *as *ICMP, and after that i tried command ping4 0
Wenzhuo: Interesting, you’re using ICMP. Would you like to try UDP/TCP?

Packet reaches to correct queue in DPDK application.

But if i changed the source IP at packet gen (any IP other then 192.168.0.1), I am not getting packet at desired core on DPDK machine.

Here is my pktgen IP looks like.

[pktgen]<https://cloud.githubusercontent.com/assets/7613402/15160993/4f8920b6-16ca-11e6-9811-dbe8ac3f34f7.png>

If i revert my my source IP change, it again reached to correct core.

My port configuration is
"
[rss_conf]<https://cloud.githubusercontent.com/assets/7613402/15160996/557bdb80-16ca-11e6-9df4-52a7e504d4f7.png>

"

On Wed, May 18, 2016 at 9:11 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 19, 2016 7:06 AM
> To: dev@dpdk.org<mailto:dev@dpdk.org>
> Subject: [dpdk-dev] Query on RSS Rule
>
> ​Hi All,
>
> It's very basic question, but somehow i am blocked due to this issue.
> Please help me out.
>
> I have configured NTUPLE filter in my application with just Destination IP every
> thing else(SRC IP, S_PORT, D_PORT & proto) is disabled.
Suppose you're using 5-tuple, right? Suppose you're using a igb or ixgbe NIC as 5-tuple is only supported by igb/ixgbe, right?
Would you like to let us know what you've done? I mean how you disable the other things.
I think you might set the mask to do that. And please aware if the mask is FF, means the field is used. On the contrary, the mask should be 0.

> But whenever i send packet from any machine, it means Different Source IP,
> hash value at DPDK app side changed and hence result in, Arrival of packet at
> different queue.
>
> Any hint would be appreciated.
>
> Thanks
>
> --
> Rgds,
> ​NV



--
Rgds,
Nishant

============
Nishant Verma
Email: vnish11@gmail.com<mailto:vnish11@gmail.com>
Phone: +1-703-364-8545<tel:%2B1-703-364-8545>




--
Rgds,
Nishant

============
Nishant Verma
Email: vnish11@gmail.com<mailto:vnish11@gmail.com>
Phone: +1-703-364-8545


      reply	other threads:[~2016-05-19  3:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-05-18 23:06 Nishant Verma
2016-05-19  1:11 ` Lu, Wenzhuo
2016-05-19  2:29   ` Nishant Verma
2016-05-19  3:09     ` Lu, Wenzhuo
2016-05-19  3:21       ` Nishant Verma
2016-05-19  3:35         ` 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=6A0DE07E22DDAD4C9103DF62FEBC090903469681@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).