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 8CECCA0561; Fri, 5 Mar 2021 05:06:08 +0100 (CET) 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--