From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <dts-bounces@dpdk.org> 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 <dts@dpdk.org>; Tue, 30 Jun 2020 15:01:40 +0200 (CEST) Received: by mail-lf1-f48.google.com with SMTP id c11so11299388lfh.8 for <dts@dpdk.org>; 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: <CAAuqQpREy5uuL_SKKvGGgR73A-0RTN+RD7xjg5YEy-yniuwMTg@mail.gmail.com> <2250034.MpDbe8kn2E@thomas> In-Reply-To: <2250034.MpDbe8kn2E@thomas> From: David Liu <dliu@iol.unh.edu> Date: Tue, 30 Jun 2020 09:01:02 -0400 Message-ID: <CAAuqQpT4jnWo+P3JA2iePK_fmU=S_0-OtSUnOVAwJXdiHHFKBw@mail.gmail.com> To: Thomas Monjalon <thomas@monjalon.net> Cc: dpdk-dev <dev@dpdk.org>, dts@dpdk.org, Lincoln Lavoie <lylavoie@iol.unh.edu>, David Marchand <david.marchand@redhat.com>, Ferruh Yigit <ferruh.yigit@intel.com>, Andrew Rybchenko <arybchenko@solarflare.com>, Ori Kam <orika@mellanox.com>, Ciara Power <ciara.power@intel.com>, Ivan Ilchenko <ivan.ilchenko@oktetlabs.ru>, Hemant Agrawal <hemant.agrawal@nxp.com>, Stephen Hemminger <stephen@networkplumber.org>, Raslan Darawsheh <rasland@mellanox.com> 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 <dts.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dts>, <mailto:dts-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dts/> List-Post: <mailto:dts@dpdk.org> List-Help: <mailto:dts-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dts>, <mailto:dts-request@dpdk.org?subject=subscribe> Errors-To: dts-bounces@dpdk.org Sender: "dts" <dts-bounces@dpdk.org> --000000000000a213ab05a94cc620 Content-Type: text/plain; charset="UTF-8" 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. > > > --000000000000a213ab05a94cc620 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr"><div dir=3D"ltr">Thank you for the clarification.</div><br= ><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_attr">On Mon, J= un 29, 2020 at 7:48 PM Thomas Monjalon <<a href=3D"mailto:thomas@monjalo= n.net">thomas@monjalon.net</a>> wrote:<br></div><blockquote class=3D"gma= il_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,2= 04,204);padding-left:1ex">29/06/2020 23:07, David Liu:<br> > Hello all,<br> > <br> > I will be implementing a test in DTS for RSS Key Update.<br> > <a href=3D"http://doc.dpdk.org/guides/nics/features.html#rss-key-updat= e" rel=3D"noreferrer" target=3D"_blank">http://doc.dpdk.org/guides/nics/fea= tures.html#rss-key-update</a><br> > <br> > To my understanding, this feature will test the ability to configure t= he<br> > hash key of the ports. If that is incorrect, please let me know.<br> > <br> > Configure the port RSS hash key in testpmd and check if the new key wi= ll be<br> > kept. Test configure the hash key that is longer than the max length a= nd<br> > shorter than the max length.<br> > <br> > Then start sending in packets with different source and destination IP= <br> > addresses. Ensure the ports are still able to calculate the hash value= from<br> > 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> > 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> --000000000000a213ab05a94cc620--