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 802F4A0C41; Tue, 14 Sep 2021 02:29:08 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 04E464068F; Tue, 14 Sep 2021 02:29:08 +0200 (CEST) Received: from mail-io1-f50.google.com (mail-io1-f50.google.com [209.85.166.50]) by mails.dpdk.org (Postfix) with ESMTP id ECBDD40151 for ; Tue, 14 Sep 2021 02:29:06 +0200 (CEST) Received: by mail-io1-f50.google.com with SMTP id b200so14600807iof.13 for ; Mon, 13 Sep 2021 17:29:06 -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=yVW6STbO0Any2IwIo1Fk5/jvih7NC+sMwIRrdcm6LeA=; b=HYNBsXh9JzGOWLEpjfo9dnkgp2ob/FfedGPurtQWqJaNqohF+c45nPM47ueJDoDF0L kvz+qcouA0skwEnNZaXyeHhv6j8kMb/JXUzKlL4MK2EyGkGgoWH0HHLTCfxXKx5PMXiY WMvMDAk0UtofDFcQDLPZj5Q5dXlFFIuBQAya0= 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=yVW6STbO0Any2IwIo1Fk5/jvih7NC+sMwIRrdcm6LeA=; b=vwEzMKacJSuARwNpgroG9qAttsLyhZlKtdSnkIKELtR93tL8kjo8QST4d5nEGbEUdb 3e3pE/rZwIHvvcc0L5pZoujuE17ua6yNbTAKvSZz3BfLSi4y2dYp6Y/alciA9RtaP8AP VxJUi6nSlp8w5pYeq0te1wm7qeOFOjqlT0UVcdiJ9rTAyhmnGdNDjYbk3ufdX6rBA6RK lfRKHLtu4VnEjhM3oKt44AaFBR2+Niqj9JhqIFZKDOqpqKOQxsqSJkZalonrSVyEKIdk rjlMalwH3nI6EyWgU3E2AMS+GPvfpVgENfSdcyuUV7MdfcQ2DMNZp1bjLEB94pndLNBb bqHQ== X-Gm-Message-State: AOAM5321QDX9SkgtVfFGqRULN5lBlA0t74GaxsRD8v+vI/JeekUaBObm s7fVbyu2F2KKlk1fqOCR3Ta6AzbMSwExK0vpZtIuag== X-Google-Smtp-Source: ABdhPJylQeGMiR7rJPm/vVISahaNswwxl7JcPxTkVbwAa1qb70zx3oPdwT8VV1tE5NTaaGRUAEJIfhj0FXN821EHPzI= X-Received: by 2002:a5e:c807:: with SMTP id y7mr11155562iol.87.1631579346226; Mon, 13 Sep 2021 17:29:06 -0700 (PDT) MIME-Version: 1.0 References: <20210913183344.1513132-1-blp@ovn.org> <2339648.sHbIeL0nMs@thomas> In-Reply-To: From: Ajit Khaparde Date: Mon, 13 Sep 2021 17:28:50 -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="0000000000005effaa05cbe9abbf" 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" --0000000000005effaa05cbe9abbf Content-Type: text/plain; charset="UTF-8" On Mon, Sep 13, 2021 at 5:26 PM Ajit Khaparde wrote: > > 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. I forgot to mention RPS - Receive Packet Steering. > > > > > > +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. > > > > > > --0000000000005effaa05cbe9abbf--