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=-12.6 required=3.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 autolearn=ham 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 DAA35C433EF for ; Wed, 8 Sep 2021 00:49:02 +0000 (UTC) Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by mail.kernel.org (Postfix) with ESMTP id 2713F60F92 for ; Wed, 8 Sep 2021 00:49:02 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org 2713F60F92 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=huawei.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=dpdk.org Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FA5040DF6; Wed, 8 Sep 2021 02:49:01 +0200 (CEST) Received: from szxga08-in.huawei.com (szxga08-in.huawei.com [45.249.212.255]) by mails.dpdk.org (Postfix) with ESMTP id 70D294003C for ; Wed, 8 Sep 2021 02:49:00 +0200 (CEST) Received: from dggeme756-chm.china.huawei.com (unknown [172.30.72.54]) by szxga08-in.huawei.com (SkyGuard) with ESMTP id 4H43Qb2d03z1DGl2; Wed, 8 Sep 2021 08:48:07 +0800 (CST) Received: from [10.67.103.128] (10.67.103.128) by dggeme756-chm.china.huawei.com (10.3.19.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.8; Wed, 8 Sep 2021 08:48:58 +0800 To: Ferruh Yigit , Xiaoyun Li CC: , , Andrew Rybchenko , Ajit Khaparde , References: <1615430867-29992-1-git-send-email-humin29@huawei.com> <1629857198-43292-1-git-send-email-humin29@huawei.com> <894cebb1-d359-96aa-0e09-fa21a521962c@intel.com> From: "Min Hu (Connor)" Message-ID: <76ec3722-1130-74ac-1b5f-60cf81712079@huawei.com> Date: Wed, 8 Sep 2021 08:48:42 +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: <894cebb1-d359-96aa-0e09-fa21a521962c@intel.com> Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 8bit X-Originating-IP: [10.67.103.128] X-ClientProxiedBy: dggems704-chm.china.huawei.com (10.3.19.181) To dggeme756-chm.china.huawei.com (10.3.19.102) X-CFilter-Loop: Reflected Subject: Re: [dpdk-dev] [PATCH v17] 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/9/7 21:23, Ferruh Yigit 写道: > On 8/25/2021 3:06 AM, Min Hu (Connor) wrote: >> This patch adds multi-process support for testpmd. >> For example the following commands run two testpmd >> processes: >> >> * the primary process: >> >> ./dpdk-testpmd --proc-type=auto -l 0-1 -- -i \ >> --rxq=4 --txq=4 --num-procs=2 --proc-id=0 >> >> * the secondary process: >> >> ./dpdk-testpmd --proc-type=auto -l 2-3 -- -i \ >> --rxq=4 --txq=4 --num-procs=2 --proc-id=1 >> >> Signed-off-by: Min Hu (Connor) >> Signed-off-by: Lijun Ou >> Signed-off-by: Andrew Rybchenko >> Acked-by: Xiaoyun Li >> Acked-by: Ajit Khaparde >> Reviewed-by: Ferruh Yigit >> Acked-by: Aman Deep Singh > > Applied to dpdk-next-net/main, thanks. > > > Thanks Connor for the work, > I won't be surprised if we need a few more tweak/fix for the testpmd secondary > process support but right now there is no blocker issue, so proceeding with the > patch, please continue your support for further required changes. Yes, got it, thanks Ferruh. > . >