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 622ECA0C46; Tue, 7 Sep 2021 15:23:37 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D20AF410EF; Tue, 7 Sep 2021 15:23:36 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id 75B7C410ED for ; Tue, 7 Sep 2021 15:23:34 +0200 (CEST) X-IronPort-AV: E=McAfee;i="6200,9189,10099"; a="283905797" X-IronPort-AV: E=Sophos;i="5.85,274,1624345200"; d="scan'208";a="283905797" Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 07 Sep 2021 06:23:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.85,274,1624345200"; d="scan'208";a="537970070" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by FMSMGA003.fm.intel.com with ESMTP; 07 Sep 2021 06:23:27 -0700 Received: from fmsmsx607.amr.corp.intel.com (10.18.126.87) by fmsmsx605.amr.corp.intel.com (10.18.126.85) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 7 Sep 2021 06:23:24 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx607.amr.corp.intel.com (10.18.126.87) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Tue, 7 Sep 2021 06:23:24 -0700 Received: from FMSEDG603.ED.cps.intel.com (10.1.192.133) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Tue, 7 Sep 2021 06:23:24 -0700 Received: from NAM04-DM6-obe.outbound.protection.outlook.com (104.47.73.49) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2242.10; Tue, 7 Sep 2021 06:23:24 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=h0VwGvtiffIDTd4RPvT14yO9sTkLwiyx7TYwprD+PzXIVtM6aJRJz2OrF/jq+XWnlu3NeviBzmGuK0pGsWU+YGI2HSk85WEkJyCjA7/mH4nuxh/WiVjXuVNnyHkPZOWTARMi6faIUj2Owkms1+oSQdXB6KPHPnTgNy0SSXibUwt1qlPVA0kfQ/GzhMkhv6TMRDO5jowf3pvp/cCUY65BTD0mp0Ud1u6+DHKKAs/OayMqfe/QGeuott62II8kiWUFJ5pQFRNd6SBiSuqmpsBr3cXgSw1O7mTONLt+VB+3XwFHVF2x05GzOxM12aBDVbJoiz0YPOW/gBiZxALALgBWnQ== 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; bh=735H01oNEBwOBM9qWDYGpzCgtN/k7jtsFfb81l7B41o=; b=ND2AI5e9GTAxUp3JUl/zRDcrzVFsHkAeAR+eclhg7lfFQfk103om7KWX7sTTAmhAxxr14AenD7n3nRA1ziI5AySLEoXtFw3s0fyaSkctCeYIT0MHSmNQDGokzvf1h7dQ8qXCg/BXv9j+WzAOICHTfn8doVHxudXqLCgmcx+6lN02Fx8JnT6zl/ofhFC0I+I/PTe2xp+i41/aTDbY+WBkXIkishb0Dt2KebXfeUqqzAr1mfXqR8xqXwvOm9OQ40AN6tll9W5EyJT831078eW6PGKNU8beUYgvyyNNsiFmunaYV0zKEWqqudY4P4wqT4GoHLivxtIdWyVDnZMojy6KDA== 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=735H01oNEBwOBM9qWDYGpzCgtN/k7jtsFfb81l7B41o=; b=qdkgH4tGfJ6O4815jj9q6veVLhLdtG2UTNFUKE6eG2d8Aust4e6CMdiHOOgXUzCJGB5DHpgAWxpnokhQni+m8qU4bSmLKjt2oaKtpm8L+eJYCRxwOn3tyOJNkVZLBSI/ys6i8cO29ikj28HyczGpGCqoTIlZoTUI7jqQVqjLX+w= Authentication-Results: dpdk.org; dkim=none (message not signed) header.d=none;dpdk.org; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH0PR11MB5160.namprd11.prod.outlook.com (2603:10b6:510:3e::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.20; Tue, 7 Sep 2021 13:23:23 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::747b:3a08:d1ec:31fc%5]) with mapi id 15.20.4478.025; Tue, 7 Sep 2021 13:23:23 +0000 To: "Min Hu (Connor)" , 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> From: Ferruh Yigit X-User: ferruhy Message-ID: <894cebb1-d359-96aa-0e09-fa21a521962c@intel.com> Date: Tue, 7 Sep 2021 14:23:17 +0100 In-Reply-To: <1629857198-43292-1-git-send-email-humin29@huawei.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DB6PR0501CA0006.eurprd05.prod.outlook.com (2603:10a6:4:8f::16) To PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) MIME-Version: 1.0 Received: from [192.168.0.206] (37.228.236.146) by DB6PR0501CA0006.eurprd05.prod.outlook.com (2603:10a6:4:8f::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4478.19 via Frontend Transport; Tue, 7 Sep 2021 13:23:21 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 3f7f3ac7-9c12-453b-0a72-08d97202aab2 X-MS-TrafficTypeDiagnostic: PH0PR11MB5160: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:5797; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: ThO0rdCSVx0dHEIF71RWLbtCpxDrcUZyygcVnbI7obSW9tAqQo+Ad1mhZaxTkgxppy81rd02IlOLg1+jvdQE/SS9T7FPkg8MGjwDoBXqgr4kgvUuS4J+oDspK3pKIsH4Ho7s6j3usgdrzROSuOWjSCOSJag8KYrxbUOTmAeXmbWmy2f1+FrhaolRw1iSa5gLY7L26eigUH9Oruqwc4r0Um7EUFNr7VqhNM1XhLEP9DId6PfSDYQ1h90ZTaYthSPq1NBOYLmFZl6GRYWOvxmxDRhaOrf9zCI+kEtYmbqDkBWT/s+3/Thlg5Uxl3xqagetyRW+W1Viah/O9FT8tu60j/BWuPI/KQG5zBJRvWG2cecChiwj5BjNhM2yC6Z2VtxtBM4R9gXbZMas7Kh9d+IoiG7uAFzv/quwzic7GIodU6Lp4HKtEH5FdBlCAtPDp6NO1wyA3OxKbRS3wAvv/ftHO8YpaAX7WHtG/bw36lwCEsb/JNO4W2f7NFwdRFOtpeq8WHTcx2hqU+PWI+b0Y+Pk/hZAxgIU61+exb+Lt3sr4MzETe4q3JxKIkQ6ksa5F3SHJQhbQqD4Mtmgg85X2G+ym+rca00heAJiuY/lyF3FNeL06y/Kt5RvwYvh5UVMFQ2tiGXyWR1bWXKuuqNzhgqM1KV6sPhX7IL4gFyF8bFBTdU4nuZ8X8jEi0iVH5Zgt7G5rJjMmLXzLOIUqdHpkuTArg== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:PH0PR11MB5000.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(39860400002)(366004)(376002)(396003)(346002)(136003)(5660300002)(186003)(2616005)(26005)(2906002)(66556008)(38100700002)(66946007)(956004)(36756003)(6486002)(83380400001)(6666004)(8936002)(4326008)(8676002)(44832011)(53546011)(478600001)(6636002)(86362001)(316002)(16576012)(54906003)(31686004)(66476007)(110136005)(31696002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?NUlmRkp6NkxwRFZBTGgzbGR6WGoxd3pZN0luRFN4ZXNOYkZBTjlRUlZCNTR5?= =?utf-8?B?T0hPZy9QWHVGS0M0NXZKOVlaLzhuYUlpTFlybmt0NXZSQ0lyNUtlSGFVSDd2?= =?utf-8?B?SVROcGk5RHh0MEgrS016bTJnd1Q5bmE5ZUs2Y2tKaENVVkJRRXBSN2dvakpr?= =?utf-8?B?U1UvUk9iTlVHSG1EZEsxSGxjVTBsbTdxdHd2eUh6akVxZDJzaDVLQVVCMzNp?= =?utf-8?B?QnQyajU2OHJNSm9JQXNERUlLdGNzRWtXMXd1Tjl4b1NseWw2Z1h6SHRtUlQ0?= =?utf-8?B?aVh3b2QrQlgwOUZxdDFUYkV0N0VsUmFEbXNHTlEweFVXVmZJWkdYdW1wSUlF?= =?utf-8?B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3YUFr?= =?utf-8?B?TnVRME1Wd3VLZVdtQUZ3OHN0NVQ2YlRuai8vdEhVS2VqbGhJb3IwcCttN0FM?= =?utf-8?B?dWlJMU1Md1dxUDErTWZVVEM5VCt3NENhd29FWTZRZCt1eG5PRHFBMTBpSXpV?= =?utf-8?B?andEV0JjQk1WWHZTaUxtOEpSaVFrdjkrdGlPZDBvZVRkZXBraDVYU2hjTk9R?= =?utf-8?B?cEplbFlIcHVPaWEwQjVramp4SUtOVFl1dklROERraVdNRmdMTk0zeDQ1b25D?= =?utf-8?B?ZnVhTG5aektFblVKT2E4bmx2VVpnaE95RlNES01aeExjSjhtb2dsVklJVVBa?= =?utf-8?B?UGRnQkhqaW1kdU9IRDNTT1FWSDZ0SzROQTQ1SXNiOHZZdnNKdkdXb2ZYdmI5?= =?utf-8?B?WStEUFRESWhYZEZVa0FVTGdlQUJZcnNCbCtLV0tuSURDSlMzYVQxcU1XR2p4?= =?utf-8?B?VU5XdVVhZThWTXJCckxVRjB1OFpQRjQ3aWpRUUJYY3pZdGJKZlljTkFiaWww?= =?utf-8?Q?3dQz2kYucPU34otc8n0dtMq/BX13vlPC7v7W/CQ?= X-MS-Exchange-CrossTenant-Network-Message-Id: 3f7f3ac7-9c12-453b-0a72-08d97202aab2 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 07 Sep 2021 13:23:23.0086 (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: jF+BolPQtINnxeKcf16l/wT6zGiSB/yTsvdtlakYNACPLTVDLubiBvMhf2fA806NbZ/T7/F1+sUGacEunAt66w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5160 X-OriginatorOrg: intel.com 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" 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.