From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 48FB0A0C41; Tue, 14 Sep 2021 02:26:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CDB0C4068F; Tue, 14 Sep 2021 02:26:27 +0200 (CEST) Received: from mail-io1-f53.google.com (mail-io1-f53.google.com [209.85.166.53]) by mails.dpdk.org (Postfix) with ESMTP id 69B8C40151 for ; Tue, 14 Sep 2021 02:26:27 +0200 (CEST) Received: by mail-io1-f53.google.com with SMTP id n24so14590270ion.10 for ; Mon, 13 Sep 2021 17:26:27 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=broadcom.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=d9GWNOQyYoryZciE6wOcpyVGTr44oOSQZLPlcoK+nQ8=; b=LXy2T+QNW9Nz0Ry9pwvDgM+wZOWMoChP5o6Jj57Qv3ltG2FpKHnW1vlXOA657C7b+4 42lMOt9S9HIX6omp7wJ7P3d2Q3svz2x83vLp9ZB+HOm2Fkoxm+T55+uPdaScvylNYgUB PMF3mouaxbDFYIZ6+Q6lvEY9MBeNbmsSfkhtQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=d9GWNOQyYoryZciE6wOcpyVGTr44oOSQZLPlcoK+nQ8=; b=p6rdzGxBrsArupDkZD2bTbGP9pRqdIwgS+od0bZySFB1MurdlcenKn4cKPAR02V6nK n6nxOaekbM82HQaaEdcQdm9E9Zz8Zd1gSoXADW1Kv02a3lILBm2vC+N+N4gPigN2zOYi cXoD4Iy7gBsk4ypj64wn/hzUSOHBS67Wi8MMGePk7UgBYFyOxW5VKJd62lQOsnRrUdKd YFqS0akudhBlnuG1Mnd3JnMJzcZfmOXYZo3ZSsUaJRlCOC07aBCSBb0SlwpjLfbuzDy2 ApWRABLfj88R8MKVKrC+ar4AahbozUsTBZ7K6wcrzS+fJaSI9pKxkp6iI3oGEWxN+g+/ E+rA== X-Gm-Message-State: AOAM530Cy6+1Hf4tE16LxuMDivh8OOZZsR5R2V6T48q7TZOMc2PzTTko PhdfxrgZ1ZRgHDR/hUsJFv2GlPYWQWul+xuh+mTnOg== X-Google-Smtp-Source: ABdhPJxg35o6pbbPTDjJKbhe5dIdzAesxNfukXC48fB0Xj57EdOEm6Fd0DgPg7MpIlMKCQKOp0ChUddainqX7NOWG04= X-Received: by 2002:a02:6d10:: with SMTP id m16mr12281273jac.60.1631579186618; Mon, 13 Sep 2021 17:26:26 -0700 (PDT) MIME-Version: 1.0 References: <20210913183344.1513132-1-blp@ovn.org> <2339648.sHbIeL0nMs@thomas> In-Reply-To: <2339648.sHbIeL0nMs@thomas> From: Ajit Khaparde Date: Mon, 13 Sep 2021 17:26:10 -0700 Message-ID: To: Thomas Monjalon Cc: Ben Pfaff , dpdk-dev , Xiaoyun Li , Ferruh Yigit , Andrew Rybchenko , Jerin Jacob Kollanukkaran , Ori Kam Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000dba72405cbe9a18a" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH v2] app/testpmd: Document what the application does. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" --000000000000dba72405cbe9a18a Content-Type: text/plain; charset="UTF-8" On Mon, Sep 13, 2021 at 11:59 AM Thomas Monjalon wrote: > > 13/09/2021 20:33, Ben Pfaff: > > I could not find anything in the documentation that says what > > testpmd does. This should save other people time trying to > > figure that out in the future. > > > > Signed-off-by: Ben Pfaff > [...] > > --- a/doc/guides/testpmd_app_ug/intro.rst > > +++ b/doc/guides/testpmd_app_ug/intro.rst > > @@ -6,9 +6,13 @@ Introduction > > > > This document is a user guide for the ``testpmd`` example application that is shipped as part of the Data Plane Development Kit. > > > > -The ``testpmd`` application can be used to test the DPDK in a packet forwarding mode > > -and also to access NIC hardware features such as Flow Director. > > -It also serves as a example of how to build a more fully-featured application using the DPDK SDK. > > +``testpmd`` is a tool to test ethdev NIC features, including NIC > > +hardware features such as Flow Director. It receives packets on each > > Not sure about keep mentioning Flow Director which is an Intel name > for an internal feature used through rte_flow rules. > What others think? Do we have better examples of hardware offload? We could use RSS and RFS. I think Receive Side Scaling and Receive Flow Steering would cover the intended offloads. > > > +configured port and forwards them. By default, packets received on > > +port 0 are forwarded to port 1, and vice versa, and similarly for > > +ports 2 and 3, ports 4 and 5, and so on. If an odd number of ports is > > +configured, packets received on the last port are sent back out on the > > +same port. > > > > The guide shows how to build and run the testpmd application and > > how to configure the application from the command line and the run-time environment. > > > --000000000000dba72405cbe9a18a--