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 EBBDFA0567; Wed, 10 Mar 2021 12:11:31 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D3DBD4068C; Wed, 10 Mar 2021 12:11:31 +0100 (CET) Received: from szxga06-in.huawei.com (szxga06-in.huawei.com [45.249.212.32]) by mails.dpdk.org (Postfix) with ESMTP id E4B6E40687 for ; Wed, 10 Mar 2021 12:11:30 +0100 (CET) Received: from DGGEMS406-HUB.china.huawei.com (unknown [172.30.72.59]) by szxga06-in.huawei.com (SkyGuard) with ESMTP id 4DwTr80yFjzkWkd for ; Wed, 10 Mar 2021 19:10:00 +0800 (CST) Received: from [10.67.103.128] (10.67.103.128) by DGGEMS406-HUB.china.huawei.com (10.3.19.206) with Microsoft SMTP Server id 14.3.498.0; Wed, 10 Mar 2021 19:11:22 +0800 To: References: <1611151575-10095-1-git-send-email-oulijun@huawei.com> <1614906276-34293-1-git-send-email-oulijun@huawei.com> From: "Min Hu (Connor)" Message-ID: <3df8b7a1-d18a-83af-358c-25fce3c1f49e@huawei.com> Date: Wed, 10 Mar 2021 19:11:23 +0800 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.103.128] X-CFilter-Loop: Reflected 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" 在 2021/3/5 12:05, Ajit Khaparde 写道: > 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. OK, I will do it in V2. > 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? stats will not change when one quit and start, As they share the same buffer to store the stats. > In case of multiple Rx queues, how will RSS happen? Primary process and secondary process has seperate queues to use, RSS will work in their own queues whether primary and secondary process. > 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. OK, I will do it in V2, thanks. > >