[dpdk-dev] Query on RSS Rule

Lu, Wenzhuo wenzhuo.lu at intel.com
Thu May 19 05:09:30 CEST 2016


Hi Nishant,

From: Nishant Verma [mailto:vnish11 at gmail.com]
Sent: Thursday, May 19, 2016 10:29 AM
To: Lu, Wenzhuo
Cc: dev at 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 at intel.com<mailto:wenzhuo.lu at intel.com>> wrote:
Hi Nishant,

> -----Original Message-----
> From: dev [mailto:dev-bounces at dpdk.org<mailto:dev-bounces at dpdk.org>] On Behalf Of Nishant Verma
> Sent: Thursday, May 19, 2016 7:06 AM
> To: dev at dpdk.org<mailto:dev at 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 at gmail.com<mailto:vnish11 at gmail.com>
Phone: +1-703-364-8545



More information about the dev mailing list