From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id E29B8A0350; Tue, 30 Jun 2020 15:01:42 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C2C271BF5E; Tue, 30 Jun 2020 15:01:42 +0200 (CEST) Received: from mail-lf1-f48.google.com (mail-lf1-f48.google.com [209.85.167.48]) by dpdk.org (Postfix) with ESMTP id 5C5821BEB2 for ; Tue, 30 Jun 2020 15:01:40 +0200 (CEST) Received: by mail-lf1-f48.google.com with SMTP id c11so11299388lfh.8 for ; Tue, 30 Jun 2020 06:01:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=iol.unh.edu; s=unh-iol; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=Q9ZN33updhL/SNYy66VLfPzn/J80w0bjLV5VTEBbBz4=; b=A4M/OS/fGWKi2RxmKP7VM4oOlYmIc1JBJ2LcOK8AkeB0JjLgrpTMgueVWH/yPweZI9 oJWlWxSSX73sdtEmFkDbSCYgpCbJaheXj2lpgFnliS3Q5BqQx/b4qHUVpUjlh9yl5onj DSJN9tBG0Wk7q4ZPHNqdIOuR1dbTHM78ffmAA= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=Q9ZN33updhL/SNYy66VLfPzn/J80w0bjLV5VTEBbBz4=; b=nsS/YESy1NOVmfcQroEsMcmk/g1LNN9fTBFDnpmlhewszf600FOLv8VVv2bop4BdWk zeaycvGomqXCBO2MkkQVDCuXszWLEhuj6gDl8ZluFtMVIgkd8mub5KdWG1vs/gdsHdPY Yifquds3k2SiJahnQbVnUZJsP8IHxdb/j2m3148qDs/or8IdT687eq64+gyZsTjxYvgv jW5jeCNE2NARiu56Cfv5aREyjpyVpdbpMtPNv6cJNgWTbYPwUPL1wfkc3ZmJvB6yoDIs Btw24DfwCr/syaLcDS95byHUQuCNm15phLya/qw+ZZR+UgimJXAtUHeshLud2JLpFxm5 wKtA== X-Gm-Message-State: AOAM531cDnvPyxwSKRqa1zN7xIBhnOCyYJQn4pXUD+rZZRpury+jmSLH ioA4qb+sPu3TUsAPjsoHWXvm5nLgdY1/mOhkzgDHkQ== X-Google-Smtp-Source: ABdhPJww4A4xTL7lV91CffRmzAWLn2SxaiYqp0npGugQr6HD3TFdQENn1zfA3gUY57XpOjhc/BDtyLaHJUbADoRUs2E= X-Received: by 2002:ac2:5e6c:: with SMTP id a12mr12084300lfr.35.1593522098666; Tue, 30 Jun 2020 06:01:38 -0700 (PDT) MIME-Version: 1.0 References: <2250034.MpDbe8kn2E@thomas> In-Reply-To: <2250034.MpDbe8kn2E@thomas> From: David Liu Date: Tue, 30 Jun 2020 09:01:02 -0400 Message-ID: To: Thomas Monjalon Cc: dpdk-dev , dts@dpdk.org, Lincoln Lavoie , David Marchand , Ferruh Yigit , Andrew Rybchenko , Ori Kam , Ciara Power , Ivan Ilchenko , Hemant Agrawal , Stephen Hemminger , Raslan Darawsheh Content-Type: multipart/alternative; boundary="000000000000a213ab05a94cc620" Subject: Re: [dts] RSS Key Update Feature X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dts-bounces@dpdk.org Sender: "dts" --000000000000a213ab05a94cc620 Content-Type: text/plain; charset="UTF-8" Thank you for the clarification. On Mon, Jun 29, 2020 at 7:48 PM Thomas Monjalon 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. > > > --000000000000a213ab05a94cc620 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Thank you for the clarification.
On Mon, J= un 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/fea= tures.html#rss-key-update
>
> To my understanding, this feature will test the ability to configure t= he
> 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 wi= ll be
> kept. Test configure the hash key that is longer than the max length a= nd
> 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.


--000000000000a213ab05a94cc620--