From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.5 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 68F20C433E0 for ; Fri, 5 Mar 2021 04:06:09 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id E23B564F56 for ; Fri, 5 Mar 2021 04:06:08 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org E23B564F56 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=broadcom.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dev-bounces@dpdk.org Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 11AF240A4B; Fri, 5 Mar 2021 05:06:08 +0100 (CET) Received: from mail-qv1-f44.google.com (mail-qv1-f44.google.com [209.85.219.44]) by mails.dpdk.org (Postfix) with ESMTP id 6BC354069F for ; Fri, 5 Mar 2021 05:06:06 +0100 (CET) Received: by mail-qv1-f44.google.com with SMTP id k7so374727qvo.6 for ; Thu, 04 Mar 2021 20:06:06 -0800 (PST) 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=R6lKK0cKsQPrXX6CB0pVZujWAiYKX5hbZ6dfTgGxse4=; b=El+JLuPNuinNkx+vQF3WC6dfzlZreZ7Ndd1MbnDXGw4xMnRp0FhIcGmz5Ah3Ds7gw0 aZ8n2lKXdaclBIs6EC4+ztOLEa+iq4h8jrXCPHahinJLcu+9luXPj7nipwOnY9SrTw/q THDa2mBhGyEvKSSNmK+WjUBc/1HLALl93aXoQ= 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=R6lKK0cKsQPrXX6CB0pVZujWAiYKX5hbZ6dfTgGxse4=; b=TbFs3GCpdIwSDA5+NsRsFgGz7stuVSnrKk6ERLcx7sjDAN5sIyYGIlceAZ/LwxqpK5 GaTnrnpmzSjDuNfuoOIJUM2BmvFJgoGXVDleJMDqOW6Is72/2tc3tLf6qtFs8nSjhDeI AR3A5tMhZa3QSfwSZxueO324z9g4c5bomr7Tt/o7DHyoldkAEN+WeMLMYnPiat6IAYgt KAlFTr/F/ipUGwYzhXSqzqW6WWiGfOByYIh6naN32FoD0RMqg0JmGtglu7mV2LzTN72h NRet4L+UvPtCui0H14GVsfWt3xlRwGXGnyO7nvWq6IZ2U77c0vBw6esZpWA0q9UbkC2n 8v0Q== X-Gm-Message-State: AOAM531Tg85FzW33xrgyEGBuwGZ7KFbbz/0HiMMMBiwCxHMohDwt8ZWe 6TaZlK3CH89Zv/INZ5D6VNftgMX80/GTIB1KH7ZnQg== X-Google-Smtp-Source: ABdhPJwSgs3y5syPqLvjuEnbuAXmDF2UTzoVAzJlGQ1fr/oQhBmcMzCilp65WglosW0cEGwmBoWdGV5vzPz4UySGtL4= X-Received: by 2002:a0c:fd63:: with SMTP id k3mr7358121qvs.30.1614917165586; Thu, 04 Mar 2021 20:06:05 -0800 (PST) MIME-Version: 1.0 References: <1611151575-10095-1-git-send-email-oulijun@huawei.com> <1614906276-34293-1-git-send-email-oulijun@huawei.com> In-Reply-To: <1614906276-34293-1-git-send-email-oulijun@huawei.com> From: Ajit Khaparde Date: Thu, 4 Mar 2021 20:05:49 -0800 Message-ID: To: Lijun Ou Cc: Ferruh Yigit , dpdk-dev , linuxarm@openeuler.org Content-Type: multipart/signed; protocol="application/pkcs7-signature"; micalg=sha-256; boundary="000000000000046e8a05bcc2341b" X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH] app/testpmd: support multi-process 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" --000000000000046e8a05bcc2341b Content-Type: text/plain; charset="UTF-8" On Thu, Mar 4, 2021 at 5:03 PM Lijun Ou wrote: > This patch adds multi-process support for testpmd. > The test cmd example as follows: > the primary cmd: > ./testpmd -w xxx --file-prefix=xx -l 0-1 -n 2 -- -i\ > --rxq=16 --txq=16 --num-procs=2 --proc-id=0 > the secondary cmd: > ./testpmd -w xxx --file-prefix=xx -l 2-3 -n 2 -- -i\ > --rxq=16 --txq=16 --num-procs=2 --proc-id=1 > Can you update this in the testpmd usage guide. There are so many things that testpmd can do. What will happen to the stats if I quit one of the processes and start again? In case of multiple Rx queues, how will RSS happen? It will be good to have the behavior of various features documented - some of the questions have been already answered. They can be documented as well. -- > 2.7.4 > > --000000000000046e8a05bcc2341b--