test suite reviews and discussions
 help / color / Atom feed
* [dts] RSS Key Update Feature
@ 2020-06-29 21:07 David Liu
  2020-06-29 23:48 ` Thomas Monjalon
  0 siblings, 1 reply; 3+ messages in thread
From: David Liu @ 2020-06-29 21:07 UTC (permalink / raw)
  To: dpdk-dev, dts
  Cc: Lincoln Lavoie, David Liu, David Marchand, Thomas Monjalon,
	Ferruh Yigit, Andrew Rybchenko, Ori Kam, Ciara Power,
	Ivan Ilchenko, Hemant Agrawal, Stephen Hemminger,
	Raslan Darawsheh

[-- Attachment #1: Type: text/plain, Size: 727 bytes --]

Hello all,

I will be implementing a test in DTS for RSS Key Update.
http://doc.dpdk.org/guides/nics/features.html#rss-key-update

To my understanding, this feature will test the ability to configure the
hash key of the ports. If that is incorrect, please let me know.

Configure the port RSS hash key in testpmd and check if the new key will be
kept. Test configure the hash key that is longer than the max length and
shorter than the max length.

Then start sending in packets with different source and destination IP
addresses. Ensure the ports are still able to calculate the hash value from
the incoming packets.

Please let me know if there is anything else need to be tested,

Thanks,
David Liu
UNH Interoperability Lab

[-- Attachment #2: Type: text/html, Size: 1118 bytes --]

<div dir="ltr">Hello all,<div><br></div><div>I will be implementing a test in DTS for RSS Key Update.<br><a href="http://doc.dpdk.org/guides/nics/features.html#rss-key-update" target="_blank">http://doc.dpdk.org/guides/nics/features.html#rss-key-update</a><br></div><div><br></div><div>To my understanding, this feature will test the ability to configure the hash key of the ports. If that is incorrect, please let me know. </div><div><br></div><div>Configure the port RSS hash key in testpmd and check if the new key will be kept. Test configure the hash key that is longer than the max length and shorter than the max length.</div><div><br></div><div>Then start <font color="#000000">sending in packets with different source and destination IP addresses. Ensure the ports are still able to calculate the hash value from the incoming packets. </font></div><div><font color="#000000"><br></font>Please let me know if there is anything else need to be tested,<font color="#000000"><br></font></div><div><br></div><div><font color="#000000">Thanks,<br>David Liu<br>UNH Interoperability Lab</font><br></div></div>

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dts] RSS Key Update Feature
  2020-06-29 21:07 [dts] RSS Key Update Feature David Liu
@ 2020-06-29 23:48 ` Thomas Monjalon
  2020-06-30 13:01   ` David Liu
  0 siblings, 1 reply; 3+ messages in thread
From: Thomas Monjalon @ 2020-06-29 23:48 UTC (permalink / raw)
  To: David Liu
  Cc: dpdk-dev, dts, Lincoln Lavoie, David Marchand, Ferruh Yigit,
	Andrew Rybchenko, Ori Kam, Ciara Power, Ivan Ilchenko,
	Hemant Agrawal, Stephen Hemminger, Raslan Darawsheh

29/06/2020 23:07, David Liu:
> Hello all,
> 
> I will be implementing a test in DTS for RSS Key Update.
> http://doc.dpdk.org/guides/nics/features.html#rss-key-update
> 
> To my understanding, this feature will test the ability to configure the
> hash key of the ports. If that is incorrect, please let me know.
> 
> Configure the port RSS hash key in testpmd and check if the new key will be
> kept. Test configure the hash key that is longer than the max length and
> shorter than the max length.
> 
> Then start sending in packets with different source and destination IP
> addresses. Ensure the ports are still able to calculate the hash value from
> the incoming packets.

Updating the key should change the destination queue of the packets.
By setting up multi-queue Rx and choosing IP addresses accordingly,
you can see packets arriving on the expected queue.

> Please let me know if there is anything else need to be tested,

A related test could be to read the computed hash in the mbuf metadata.



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [dts] RSS Key Update Feature
  2020-06-29 23:48 ` Thomas Monjalon
@ 2020-06-30 13:01   ` David Liu
  0 siblings, 0 replies; 3+ messages in thread
From: David Liu @ 2020-06-30 13:01 UTC (permalink / raw)
  To: Thomas Monjalon
  Cc: dpdk-dev, dts, Lincoln Lavoie, David Marchand, Ferruh Yigit,
	Andrew Rybchenko, Ori Kam, Ciara Power, Ivan Ilchenko,
	Hemant Agrawal, Stephen Hemminger, Raslan Darawsheh

[-- Attachment #1: Type: text/plain, Size: 1170 bytes --]

Thank you for the clarification.

On Mon, Jun 29, 2020 at 7:48 PM Thomas Monjalon <thomas@monjalon.net> wrote:

> 29/06/2020 23:07, David Liu:
> > Hello all,
> >
> > I will be implementing a test in DTS for RSS Key Update.
> > http://doc.dpdk.org/guides/nics/features.html#rss-key-update
> >
> > To my understanding, this feature will test the ability to configure the
> > hash key of the ports. If that is incorrect, please let me know.
> >
> > Configure the port RSS hash key in testpmd and check if the new key will
> be
> > kept. Test configure the hash key that is longer than the max length and
> > shorter than the max length.
> >
> > Then start sending in packets with different source and destination IP
> > addresses. Ensure the ports are still able to calculate the hash value
> from
> > the incoming packets.
>
> Updating the key should change the destination queue of the packets.
> By setting up multi-queue Rx and choosing IP addresses accordingly,
> you can see packets arriving on the expected queue.
>
> > Please let me know if there is anything else need to be tested,
>
> A related test could be to read the computed hash in the mbuf metadata.
>
>
>

[-- Attachment #2: Type: text/html, Size: 1707 bytes --]

<div dir="ltr"><div dir="ltr">Thank you for the clarification.</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Jun 29, 2020 at 7:48 PM Thomas Monjalon &lt;<a href="mailto:thomas@monjalon.net">thomas@monjalon.net</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">29/06/2020 23:07, David Liu:<br>
&gt; Hello all,<br>
&gt; <br>
&gt; I will be implementing a test in DTS for RSS Key Update.<br>
&gt; <a href="http://doc.dpdk.org/guides/nics/features.html#rss-key-update" rel="noreferrer" target="_blank">http://doc.dpdk.org/guides/nics/features.html#rss-key-update</a><br>
&gt; <br>
&gt; To my understanding, this feature will test the ability to configure the<br>
&gt; hash key of the ports. If that is incorrect, please let me know.<br>
&gt; <br>
&gt; Configure the port RSS hash key in testpmd and check if the new key will be<br>
&gt; kept. Test configure the hash key that is longer than the max length and<br>
&gt; shorter than the max length.<br>
&gt; <br>
&gt; Then start sending in packets with different source and destination IP<br>
&gt; addresses. Ensure the ports are still able to calculate the hash value from<br>
&gt; the incoming packets.<br>
<br>
Updating the key should change the destination queue of the packets.<br>
By setting up multi-queue Rx and choosing IP addresses accordingly,<br>
you can see packets arriving on the expected queue.<br>
<br>
&gt; Please let me know if there is anything else need to be tested,<br>
<br>
A related test could be to read the computed hash in the mbuf metadata.<br>
<br>
<br>
</blockquote></div></div>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, back to index

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-06-29 21:07 [dts] RSS Key Update Feature David Liu
2020-06-29 23:48 ` Thomas Monjalon
2020-06-30 13:01   ` David Liu

test suite reviews and discussions

Archives are clonable:
	git clone --mirror http://inbox.dpdk.org/dts/0 dts/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 dts dts/ http://inbox.dpdk.org/dts \
		dts@dpdk.org
	public-inbox-index dts


Newsgroup available over NNTP:
	nntp://inbox.dpdk.org/inbox.dpdk.dts


AGPL code for this site: git clone https://public-inbox.org/ public-inbox