* packet received in a wrong rx-queue?
@ 2011-05-18 9:00 Jon Zhou
2011-05-18 9:13 ` David Miller
2011-05-19 1:26 ` Jon Zhou
0 siblings, 2 replies; 8+ messages in thread
From: Jon Zhou @ 2011-05-18 9:00 UTC (permalink / raw)
To: e1000-devel, netdev
There are 2 packets in the traffic
#1 create PDP context request, IPV4--UDP--GTP, src_ip=A and dst_ip=B,src_port=C,dst_port=D
#2 create PDP context response, IPV4--UDP--GTP,src_ip=B, dst_ip=A, src_port=D,dst_port=C
I suppose both of them will be received in same rx-queue but actually it doesn't
Anything need to check?
ethtool -i eth5
driver: ixgbe
version: 3.3.9-NAPI
firmware-version: 0.9-3
bus-info: 0000:08:00.1
regards
jon
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: packet received in a wrong rx-queue?
2011-05-18 9:00 packet received in a wrong rx-queue? Jon Zhou
@ 2011-05-18 9:13 ` David Miller
2011-05-19 1:26 ` Jon Zhou
1 sibling, 0 replies; 8+ messages in thread
From: David Miller @ 2011-05-18 9:13 UTC (permalink / raw)
To: Jon.Zhou; +Cc: e1000-devel, netdev
From: Jon Zhou <Jon.Zhou@jdsu.com>
Date: Wed, 18 May 2011 02:00:50 -0700
> There are 2 packets in the traffic
>
> #1 create PDP context request, IPV4--UDP--GTP, src_ip=A and dst_ip=B,src_port=C,dst_port=D
>
> #2 create PDP context response, IPV4--UDP--GTP,src_ip=B, dst_ip=A, src_port=D,dst_port=C
>
> I suppose both of them will be received in same rx-queue but actually it doesn't
Well, for hardware flow steering, it's not expected to.
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: packet received in a wrong rx-queue?
2011-05-18 9:00 packet received in a wrong rx-queue? Jon Zhou
2011-05-18 9:13 ` David Miller
@ 2011-05-19 1:26 ` Jon Zhou
2011-05-19 1:32 ` David Miller
1 sibling, 1 reply; 8+ messages in thread
From: Jon Zhou @ 2011-05-19 1:26 UTC (permalink / raw)
To: e1000-devel, netdev
[-- Attachment #1: Type: text/plain, Size: 1488 bytes --]
Anyone can help to check the traffic file?
Thanks
jon
> -----Original Message-----
> From: Jon Zhou [mailto:Jon.Zhou@jdsu.com]
> Sent: Wednesday, May 18, 2011 5:01 PM
> To: e1000-devel@lists.sourceforge.net; netdev@vger.kernel.org
> Subject: [E1000-devel] packet received in a wrong rx-queue?
>
> There are 2 packets in the traffic
>
> #1 create PDP context request, IPV4--UDP--GTP, src_ip=A and
> dst_ip=B,src_port=C,dst_port=D
>
> #2 create PDP context response, IPV4--UDP--GTP,src_ip=B, dst_ip=A,
> src_port=D,dst_port=C
>
> I suppose both of them will be received in same rx-queue but actually
> it doesn't
> Anything need to check?
>
> ethtool -i eth5
> driver: ixgbe
> version: 3.3.9-NAPI
> firmware-version: 0.9-3
> bus-info: 0000:08:00.1
>
> regards
> jon
>
>
>
>
>
> -----------------------------------------------------------------------
> -------
> What Every C/C++ and Fortran developer Should Know!
> Read this article and learn how Intel has extended the reach of its
> next-generation tools to help Windows* and Linux* C/C++ and Fortran
> developers boost performance applications - including clusters.
> http://p.sf.net/sfu/intel-dev2devmay
> _______________________________________________
> E1000-devel mailing list
> E1000-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/e1000-devel
> To learn more about Intel® Ethernet, visit
> http://communities.intel.com/community/wired
[-- Attachment #2: UpdatePdpContextTransaction12-WithCreatePdpDeletePdp.pcap --]
[-- Type: application/octet-stream, Size: 1187 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: packet received in a wrong rx-queue?
2011-05-19 1:26 ` Jon Zhou
@ 2011-05-19 1:32 ` David Miller
2011-05-19 3:22 ` Jon Zhou
0 siblings, 1 reply; 8+ messages in thread
From: David Miller @ 2011-05-19 1:32 UTC (permalink / raw)
To: Jon.Zhou; +Cc: e1000-devel, netdev
From: Jon Zhou <Jon.Zhou@jdsu.com>
Date: Wed, 18 May 2011 18:26:07 -0700
> Anyone can help to check the traffic file?
I told you yesterday that this behavior is expected.
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: packet received in a wrong rx-queue?
2011-05-19 1:32 ` David Miller
@ 2011-05-19 3:22 ` Jon Zhou
2011-05-19 3:36 ` David Miller
0 siblings, 1 reply; 8+ messages in thread
From: Jon Zhou @ 2011-05-19 3:22 UTC (permalink / raw)
To: David Miller; +Cc: e1000-devel, netdev
> -----Original Message-----
> From: David Miller [mailto:davem@davemloft.net]
> Sent: Thursday, May 19, 2011 9:32 AM
> To: Jon Zhou
> Cc: e1000-devel@lists.sourceforge.net; netdev@vger.kernel.org
> Subject: Re: packet received in a wrong rx-queue?
>
> From: Jon Zhou <Jon.Zhou@jdsu.com>
> Date: Wed, 18 May 2011 18:26:07 -0700
>
> > Anyone can help to check the traffic file?
>
> I told you yesterday that this behavior is expected.
form the 82599 datasheet, the hash algorithm is consist of src/dst ip, src/dst port,protocol
why it got different hash value with same ip/port pair?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: packet received in a wrong rx-queue?
2011-05-19 3:22 ` Jon Zhou
@ 2011-05-19 3:36 ` David Miller
2011-05-20 1:48 ` Jon Zhou
0 siblings, 1 reply; 8+ messages in thread
From: David Miller @ 2011-05-19 3:36 UTC (permalink / raw)
To: Jon.Zhou; +Cc: e1000-devel, netdev
From: Jon Zhou <Jon.Zhou@jdsu.com>
Date: Wed, 18 May 2011 20:22:07 -0700
> form the 82599 datasheet, the hash algorithm is consist of src/dst
> ip, src/dst port,protocol why it got different hash value with same
> ip/port pair?
The same reason why feeding different sets of discrete 32-bit and
16-bit values to a cryptographic hash results in a different final
hash value.
Our software RPS/RFS implementation used to have this quality too.
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
^ permalink raw reply [flat|nested] 8+ messages in thread
* RE: packet received in a wrong rx-queue?
2011-05-19 3:36 ` David Miller
@ 2011-05-20 1:48 ` Jon Zhou
2011-05-20 3:12 ` David Miller
0 siblings, 1 reply; 8+ messages in thread
From: Jon Zhou @ 2011-05-20 1:48 UTC (permalink / raw)
To: David Miller; +Cc: e1000-devel, netdev
> -----Original Message-----
> From: David Miller [mailto:davem@davemloft.net]
> Sent: Thursday, May 19, 2011 11:36 AM
> To: Jon Zhou
> Cc: e1000-devel@lists.sourceforge.net; netdev@vger.kernel.org
> Subject: Re: packet received in a wrong rx-queue?
>
> From: Jon Zhou <Jon.Zhou@jdsu.com>
> Date: Wed, 18 May 2011 20:22:07 -0700
>
> > form the 82599 datasheet, the hash algorithm is consist of src/dst
> > ip, src/dst port,protocol why it got different hash value with same
> > ip/port pair?
>
> The same reason why feeding different sets of discrete 32-bit and
> 16-bit values to a cryptographic hash results in a different final
> hash value.
>
> Our software RPS/RFS implementation used to have this quality too.
Even that it gets different hash value, both packets should be delivered to same rx-queue,
Because they are belong to same flow?
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: packet received in a wrong rx-queue?
2011-05-20 1:48 ` Jon Zhou
@ 2011-05-20 3:12 ` David Miller
0 siblings, 0 replies; 8+ messages in thread
From: David Miller @ 2011-05-20 3:12 UTC (permalink / raw)
To: Jon.Zhou; +Cc: e1000-devel, netdev
From: Jon Zhou <Jon.Zhou@jdsu.com>
Date: Thu, 19 May 2011 18:48:02 -0700
> Even that it gets different hash value, both packets should be delivered to same rx-queue,
>
> Because they are belong to same flow?
That's not how it works. They go to different queues, because the bits
are different for the flow keys in each direction.
I think we've brought this discussion to a conclusion, and that this
behavior is intentional.
Thank you.
------------------------------------------------------------------------------
What Every C/C++ and Fortran developer Should Know!
Read this article and learn how Intel has extended the reach of its
next-generation tools to help Windows* and Linux* C/C++ and Fortran
developers boost performance applications - including clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
E1000-devel mailing list
E1000-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/e1000-devel
To learn more about Intel® Ethernet, visit http://communities.intel.com/community/wired
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2011-05-20 3:12 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-05-18 9:00 packet received in a wrong rx-queue? Jon Zhou
2011-05-18 9:13 ` David Miller
2011-05-19 1:26 ` Jon Zhou
2011-05-19 1:32 ` David Miller
2011-05-19 3:22 ` Jon Zhou
2011-05-19 3:36 ` David Miller
2011-05-20 1:48 ` Jon Zhou
2011-05-20 3:12 ` David Miller
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.