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 C2A59A0548; Mon, 16 Aug 2021 20:12:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7EE4D40143; Mon, 16 Aug 2021 20:12:36 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 46EB44003C for ; Mon, 16 Aug 2021 20:12:34 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10078"; a="279654249" X-IronPort-AV: E=Sophos;i="5.84,326,1620716400"; d="scan'208,217";a="279654249" Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Aug 2021 11:12:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.84,326,1620716400"; d="scan'208,217";a="448728715" Received: from orsmsx603.amr.corp.intel.com ([10.22.229.16]) by fmsmga007.fm.intel.com with ESMTP; 16 Aug 2021 11:12:28 -0700 Received: from orsmsx609.amr.corp.intel.com (10.22.229.22) by ORSMSX603.amr.corp.intel.com (10.22.229.16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 16 Aug 2021 11:12:27 -0700 Received: from orsmsx611.amr.corp.intel.com (10.22.229.24) by ORSMSX609.amr.corp.intel.com (10.22.229.22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10; Mon, 16 Aug 2021 11:12:27 -0700 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx611.amr.corp.intel.com (10.22.229.24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.10 via Frontend Transport; Mon, 16 Aug 2021 11:12:27 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.47) by edgegateway.intel.com (134.134.137.100) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Mon, 16 Aug 2021 11:12:27 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Mr73cBDFOILU4/goR6pjjBNb6MCcp0CeKqWLxz00xPeN5cWIYT8ziO2YaJqVDEZMwkxSUf2abkc15ivAgRIUZZvUifN7/ygG/nijiUyLKvaQJZxrm+Lzn01u3jMHLm7HURKp+MqxokyzXgFrGsryMTF1yDGtKGfDxaa97gS3F89Gkl9TATkQvDurW1ktgSUjmnzHMIS004LtJWhm3x1KSu0JFREJ34d0FMQ8aU+ujNP7FNuW2QQltJs8zBYXO5PQWXAHB0nlBhA0WvcXPkWfmt+fqdJUjJaPrvG3pIOrDann0MF8WKVCHQnAx0MdTD843TlMKAfNfM8f5c8V7CDT1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OrRWi2HtrQVhbaiCrbEZNb6hJ+Ows+THiGJUp7bASaE=; b=f5FelInGN3KqIOP236fvv8fpe79+BLoiPv1+xrgz+fp8M8dnOR+jMrg9tmcfloGeO5377lKe5Wu5WIwYxTfMjyLvNmh3GA6njXp2Rp2Xx1Ww5nc3bywguYkTslrslRUpEidTdP/TIXWUPdQinbuI9XFPR5IN8Dh+mL0Aom0+MRIS3CW2JCG905QqTqLulNQ0SeM3B2qZiCz45IOQf9oq9JoH1xvbQvmCeDDZWkQJsbhMVlQtTwLt5T+QRThn+9nF15prNmHpUqoJxMEUOue6Z1VEtJG2deQVdISksWbvkk2/QlWVJeX6kacucEKEDOWccOzcmJV/CHdBjGzrS/H4vQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel.onmicrosoft.com; s=selector2-intel-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=OrRWi2HtrQVhbaiCrbEZNb6hJ+Ows+THiGJUp7bASaE=; b=a/392/YM6igRuf47Rx/zf3t6VUS1NMS6lPbqL0N7d4VviXbApbb6a9VRdRqr1vJ5B6Ssvw2Uvbq5F1JDB+4lvOnSQQlItxLF8xxWjGdB5W1/PAR/iqd99ZkR0vLW3sc0bZtI11FUI2a43r9K0hQrX68Jwf9R7NIQzyr4WUg71Yc= Authentication-Results: nvidia.com; dkim=none (message not signed) header.d=none;nvidia.com; dmarc=none action=none header.from=intel.com; Received: from BN6PR11MB1474.namprd11.prod.outlook.com (2603:10b6:405:c::17) by BN6PR11MB4050.namprd11.prod.outlook.com (2603:10b6:405:7e::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.17; Mon, 16 Aug 2021 18:12:26 +0000 Received: from BN6PR11MB1474.namprd11.prod.outlook.com ([fe80::7cde:47ff:b54e:9e11]) by BN6PR11MB1474.namprd11.prod.outlook.com ([fe80::7cde:47ff:b54e:9e11%12]) with mapi id 15.20.4415.023; Mon, 16 Aug 2021 18:12:26 +0000 To: Thomas Monjalon , "Min Hu (Connor)" CC: , , , , Xiaoyun Li , Ajit Khaparde , References: <1615430867-29992-1-git-send-email-humin29@huawei.com> <92cc355e-11b4-ee4a-6bf1-b24ae3e97aa6@huawei.com> <8c19d53d-b41d-0248-ea67-1cdbf8109829@huawei.com> <67831084.ROoOdahRhB@thomas> From: "Singh, Aman Deep" Message-ID: <5bfeabc0-f0b0-87af-8664-437ae9bed345@intel.com> Date: Mon, 16 Aug 2021 23:42:14 +0530 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Firefox/78.0 Thunderbird/78.12.0 In-Reply-To: <67831084.ROoOdahRhB@thomas> Content-Language: en-GB X-ClientProxiedBy: PN0PR01CA0048.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:49::16) To BN6PR11MB1474.namprd11.prod.outlook.com (2603:10b6:405:c::17) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [192.168.1.18] (223.178.213.232) by PN0PR01CA0048.INDPRD01.PROD.OUTLOOK.COM (2603:1096:c01:49::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4415.15 via Frontend Transport; Mon, 16 Aug 2021 18:12:22 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: bab36477-34db-46ba-1bba-08d960e1668b X-MS-TrafficTypeDiagnostic: BN6PR11MB4050: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:8273; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: C9qMrZQ8DAKFVzaElwrHe2WhjQiCyRPKTcSX76qfZYE4pLV/W8u/As/NuWrdRKPc280RNwHvibhzc1k8GmQ/4Kd6e3jSQVF8Nzg94DXrbD0/W7vm/iANspzryLyWBUCdqwR6QjBX3kBDoJ9n+8FWXQxdYvVTiOgyeYPPm3KgVv/8V2h4zBYY2jxgEpCwO329GuKjKMKRNqeSQ/8xeTd8KrPemy5bBn/SY5ZfiTUbh9uBtT3UyaLQttjwCzJxDeW4UZCnqFSTmvfgDDQXU50KQeykDhqgk7BTgXA+HdMZQIVBAwzymS+BaJ79NuSd6PBDxtJtAmy04gtBH+8Z3QxDLhwlzXQ+H6qBy1cbpByNMhQL87YHjSZe1sjlCVu3OMhdHmfW5R4yTGCYoC7KSrXRLmcVpTubSlgrrE80qKJn/OqAsf3lNqgOSbHdbyCOFKvmyuDwdWDkr//kj3PzcHD6wa9UqmBbwpLHkvRZsI74XdoLR77mS0ClAagMNqKABbYE7LC7l+wYMnMZIyO5DS6Xz+Zv7fzWqxjTxf2lcqv+MJJBKZRdVvRoSLcMLV26tlYPrMYdoIcB8GiQ1qTAWMY+VRzZZkfLodafQyMRl+k9nl3vs10gpGqlBSVJqbxx0jy+VsWhrA3SQD4hRqC823/k1yXFB6K2/bLUM8Sgu1DylTacUSP+rdOidaRw7rsgTWRZvC12uSgSkqjDwuexdk0DxgQybtERXe5mxgErzlhuqdk= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN6PR11MB1474.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(366004)(39860400002)(396003)(136003)(376002)(53546011)(110136005)(316002)(956004)(2616005)(54906003)(26005)(186003)(33964004)(6666004)(6486002)(16576012)(86362001)(4326008)(8676002)(36756003)(66946007)(66476007)(31696002)(2906002)(38100700002)(8936002)(478600001)(66556008)(31686004)(5660300002)(43740500002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?eXh4Mkw2R0FzdXJwQ3RxOWZxQWJNUWt0Yms2VTNFK1lVci82azA3MythNDFU?= =?utf-8?B?MXdoei9ZaHRzVzNyY3hwOFpBbVU1a2dLelFnaVpIRTNIaS81cFE0ejIvYSs0?= =?utf-8?B?UW44Ui9RMm5TdGlMYkp0WTNzZ3YzaDltRGsvVExML0ZPNmIwLzgxNy9IV3pi?= =?utf-8?B?YTgrYXRsTmYvR3pXQ2pZUDVvSC9oaDJwTUgyRDRjTEdWanhFbVNzNkpEWWRM?= =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bkY5bGwwbEV0?= =?utf-8?B?MXppUVhCdS8yMzJaYkozMDFvTEFmazdFa3dBanlibHBSY0Rkd2twbGQ3ekRB?= =?utf-8?B?ckNsWWlFYnB4RnlIazVJeDNlazBkeDVzVkh1MXNBTmdnQmpqcnRXbXQwYW9m?= =?utf-8?B?L0tNWjk0V0pvZjBYQWU1MGIrbExkakJ1ejdWVzVpNUJjQzMrS3lsenYrUDkv?= =?utf-8?B?cDd5WUhnWlZtTERyMGp2VWdTZkJkQlNua1h2eWJKWEhWR3EyYVhISTIrYzVv?= =?utf-8?B?N2ZiSHBRYSt4RjdVL2NZYUh2cFFHQUgxN0Y0bjR4d2NuUkYxakRiYWNDbGRJ?= =?utf-8?B?a2tjWTQrZi9IOG9tSVFEOHJkL0JISEorUU9NMmVHUjVmV1FuTVdNY1VnYWln?= =?utf-8?B?eUVSUlhBWmVDTFU1MmZkZTN0SnZoQ3J4ZFpNaHloNzg5SnFheDVqajd0U3dp?= =?utf-8?B?b0Nya0NHM3F0cWhSaTd3U0FacjRSNzlnbG9IREFNcUtTbFo5bVMreDNFUkZU?= =?utf-8?B?M3pMaXA5UEk0OTI5QVdldUVXc3hJMGNtVHZmcGswektqNUN1U1JhbE01OHFC?= =?utf-8?B?aUtYVlBPMGtYMlBmTEI0Yy9td3Y5RStaU3dNdlNKekdwTmlhU0VYQlVQU1J1?= =?utf-8?Q?9p3suHRss75EzFsJDeGFScmrhx6I1wZ3VRFdGb7?= X-MS-Exchange-CrossTenant-Network-Message-Id: bab36477-34db-46ba-1bba-08d960e1668b X-MS-Exchange-CrossTenant-AuthSource: BN6PR11MB1474.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 16 Aug 2021 18:12:25.8724 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: eUYBaV8hBAf515NA/wZl5y5HawrCkpO+fhPRiH/ykMLWrHoc/uy4LIeWFmhTuEBR4mrU6Q+/tyfiuEmbPu/Td2+OdYaB52NJ98pPORL+nEM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN6PR11MB4050 X-OriginatorOrg: intel.com Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [PATCH v16] 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" On 8/2/2021 1:33 PM, Thomas Monjalon wrote: > 02/08/2021 03:51, Min Hu (Connor): >> 在 2021/7/26 15:28, Min Hu (Connor) 写道: >>> 在 2021/7/26 14:30, Thomas Monjalon 写道: >>>> 26/07/2021 02:26, Min Hu (Connor): >>>>> 在 2021/7/24 19:45, Thomas Monjalon 写道: >>>>>> 10/07/2021 05:50, Min Hu (Connor): >>>>>>> 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 >>>>>>> --- >>>>>>> V16: >>>>>>> * revert unrelated changes. >>>>>>> * add some restrictions in doc. >>>>>> I didn't see clear agreement to integrate this feature in DPDK 21.08. >>>>>> >>>>>> BTW, the testpmd maintainer was not Cc'ed. >>>>>> >>>>> Hi, Thomas, >>>>> This patch has two "acked" and one "reviewed-by". >>>>> And Xiaoyun Li is the maintainer, I has already Cc'ed to him/her, >>>>> please check it out, thanks. >>>> Andrew's comment from v15: >>>> " >>>> IMHO, as I state above, current state is insufficient to >>>> consider is a start point to be applied. >>>> " >>> Hi, Andrew, Thomos, >>> What is the least thing should be done for this patch to >>> meet the state sufficient to be applied? >> Hi, all, >> How about this patch, could it be applied? > I was not confident enough to apply it in 21.08. > When others will be back, we'll discuss it again for 21.11. > For 21.11 release. Acked-by: Aman Deep Singh