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 88285A0032; Mon, 15 Nov 2021 16:18:38 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4A8CA410E9; Mon, 15 Nov 2021 16:18:38 +0100 (CET) Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by mails.dpdk.org (Postfix) with ESMTP id 5F5DC40141 for ; Mon, 15 Nov 2021 16:18:36 +0100 (CET) X-IronPort-AV: E=McAfee;i="6200,9189,10168"; a="232180207" X-IronPort-AV: E=Sophos;i="5.87,236,1631602800"; d="scan'208";a="232180207" Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga104.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 15 Nov 2021 07:18:35 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.87,236,1631602800"; d="scan'208";a="734852797" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga006.fm.intel.com with ESMTP; 15 Nov 2021 07:18:35 -0800 Received: from orsmsx610.amr.corp.intel.com (10.22.229.23) by ORSMSX606.amr.corp.intel.com (10.22.229.19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12; Mon, 15 Nov 2021 07:18:34 -0800 Received: from orsedg603.ED.cps.intel.com (10.7.248.4) by orsmsx610.amr.corp.intel.com (10.22.229.23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2242.12 via Frontend Transport; Mon, 15 Nov 2021 07:18:34 -0800 Received: from NAM11-CO1-obe.outbound.protection.outlook.com (104.47.56.172) 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.12; Mon, 15 Nov 2021 07:18:34 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LS0wYlZRr2noQ42VVVzdewv6eEMDyN2vm11X4JGAc8NCAy3EGP2oZRvyMYyorFV7rgG4DkSi8BhcPo/Bz98IoZj/Hub+q4hYuX7i0Ps/FanX0dwIG0pDWSMNLZ5xpFDAOP1RNiUHCjXMsHoIDhzwd0GGHJuE/RPRQE7X964oOesqJQ9hZrKIcB4tMMczacWqfOMth8jg+bpBfv6WhKERyd8UFlXX7i7Eku9IDGnvrYIyZZgcJYFaCGc7xgwhMbxbtN2IIvlTlac3adRRz+vKstAfeNrDx5LmPVjnvky9/o8Tc88eq/bFLE97RKDHmmimVxZ+IWQ67mIH6ZC6dDKqkw== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vJRkSPlpIxHg1DzKeyxfVD9OXlVFbSD6CnZfQhCLl/w=; b=csz19I7jyNzCy8/s4eUkYDoO/UWnnn0+DRY5AUk7ZbYIqBNiRMW1a43gA4JIGBUtZQMctGIicotjvaCwVt50o0JOAo25XZP5qsaNekf+iPPAIAKh4Vk/z9iuPnCt7oxkfTSyT6VhWXwhVd7i5zXX4IbvY+UeEBUisBT5Y5Gr1LLUU+dkoDK8ulyn6g6aWcoR3nhRmQQt6/IS5AdwrgtdisGXe9mGhFED4f4Eu/JihA0HYTq2By3CBTzlvDHZYp5ATYGaCj9SMMhfpkgMfx85bNOM7DbNLs5pJv2bnPE+9KK14Fabtc8qtMee/4oSXb0iEkuQtXkPqmzDLgDW+Tnjmw== 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=vJRkSPlpIxHg1DzKeyxfVD9OXlVFbSD6CnZfQhCLl/w=; b=f4JwJt2MNaJ91DT+YkjS+d0+jfU5ptzMkcMcntesR88+vqKiZcWn7SNMZN9hCzpblLs5f0lI9uHhoFT46/JXV8aMqWzoRhB1d/ZHd29aYMJ6/qKsj7RM8vTmsH+/IOh7PrOGC3/rSZpQmJR+jMdm+r0IzfDGHe3yzKu1/1pYuNI= Authentication-Results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=intel.com; Received: from PH0PR11MB5000.namprd11.prod.outlook.com (2603:10b6:510:41::19) by PH7PR11MB5817.namprd11.prod.outlook.com (2603:10b6:510:13a::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4669.15; Mon, 15 Nov 2021 15:18:34 +0000 Received: from PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bc5f:31a7:10ad:443c]) by PH0PR11MB5000.namprd11.prod.outlook.com ([fe80::bc5f:31a7:10ad:443c%5]) with mapi id 15.20.4690.027; Mon, 15 Nov 2021 15:18:34 +0000 Message-ID: <3401ebf6-0fd4-313f-0a38-86edf565e47d@intel.com> Date: Mon, 15 Nov 2021 15:18:28 +0000 Subject: Re: [PATCH v1] app/testpmd: avoid the process ID out of range Content-Language: en-US To: "Min Hu (Connor)" , Haiyue Wang , CC: Xiaoyun Li , Lijun Ou , "Andrew Rybchenko" , Ajit Khaparde , Aman Deep Singh References: <20211115060509.216653-1-haiyue.wang@intel.com> <0a42ffde-d5ca-490a-77ff-041203910bd5@huawei.com> From: Ferruh Yigit X-User: ferruhy In-Reply-To: <0a42ffde-d5ca-490a-77ff-041203910bd5@huawei.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-ClientProxiedBy: DB8PR03CA0006.eurprd03.prod.outlook.com (2603:10a6:10:be::19) 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 DB8PR03CA0006.eurprd03.prod.outlook.com (2603:10a6:10:be::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.15 via Frontend Transport; Mon, 15 Nov 2021 15:18:32 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 91742ef0-06e1-4b71-7b49-08d9a84b3047 X-MS-TrafficTypeDiagnostic: PH7PR11MB5817: X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:983; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: SaT44SLICnBpKL64/Ti1nY9obOfGaf/koQ62xaTFl8sHucsdugFhUFEcSF+7nRpkdtxcs7S0xNmRlYdqUMdUMlI1oFtZ+zwgZM/TgeYvi7lZ/upx2z0UMOaUgEARxapWljUFopPKwmheIdAeTtESwpIytCAQ1+VDI0tdzrockX/KCrqY2JNAVDRmn07gAAucTOeSkfBbnq844eohUVUa+fLVxRgze1qoUTbnVDIq66U2Inj1FyZbiQoKO9WNyhpd50lMUOTh7i0hroBJYKclY3YNWY7ucHv2YTWTwaiR/aqmlnVngfg9XWh6cl1OuEiObjdknmUgBReSb94VHl31+j2+xvBx+rcn2wuAwas0MkS3rBZuDs75Kaz4QQqfedCZtaYzJiD8tL6nPbAAD/94Gaca1uS2yV1wMHwbydpkSmhNqFbs4KDE9Rb3yARDzLuFN9KkzsnWZ3AZvO6auNczKBDZzZBttF85R7IGSNgnIi1M7dBpkuzwQAEhHE3Boh3A1FbG9bTWswSPm9PY1WN1Mup1j2BaEsDzltCKo0XFftYNAVaF34vHBPNhpXDiKiEb9axCmIYrZiaCElc0sPnoZS8Qffa0o7LWS2wvorP59m4AJI13ZjrGfHJ76wZJ9gnbj+Du8avgZg7m7gzPqp6Re+wReYuQ8h3rhtCzl5cxGhf3f+V/N3C9MIh5/1tpBYg+nvx3fGbIiFOWQ0X9hCiBkQ== 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:(366004)(66476007)(8936002)(66946007)(31686004)(16576012)(38100700002)(4326008)(2906002)(36756003)(66556008)(110136005)(82960400001)(54906003)(8676002)(44832011)(4744005)(26005)(31696002)(316002)(6486002)(2616005)(53546011)(186003)(508600001)(956004)(86362001)(6666004)(83380400001)(107886003)(5660300002)(45980500001); DIR:OUT; SFP:1102; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?utf-8?B?ay9QVjJzNU8wNDRpbloveWJENm5HZFhSNkV2K080SmV1TXZyS29vM01BRy9I?= =?utf-8?B?WnpaeWYrSGFMaTlsajlyRzNjWFhDZDFSb2tEU1JlUUxHUnZ4SDVnWVk0UWdx?= =?utf-8?B?dTlUVC9KRTZaQ00yNTljRk5qMHpXRGlRQlRXNTZGR0RKUkFQTTArTFFSUnAx?= =?utf-8?B?VndIUzlXMmFPdVFuWmNseDlJd3ZHeXdRTVdXTW01RU1NTGFUZVE3TitvcUx0?= =?utf-8?B?Q2VSbVVNTzAvcWRNMlhHa05qV1RmaXRTWjE5M0VGNTJwM1FaT3BscmZPcFNy?= =?utf-8?B?TUUvNk1SRE5OZEo5dlpmUnovV2svN2p4N2hXWHhrQzFpeldtTVZNWWsyUHpw?= =?utf-8?B?U1JGdUllMUwvV3J4a29GUUxSVjEyQmQ3UUVOdmlSYk9tRVVYWFh2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ydTVJHKpSCcKhbE=3D?= X-MS-Exchange-CrossTenant-Network-Message-Id: 91742ef0-06e1-4b71-7b49-08d9a84b3047 X-MS-Exchange-CrossTenant-AuthSource: PH0PR11MB5000.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 15 Nov 2021 15:18:33.8706 (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: ri1L38NNMa1RX6WcQi2saIeskx0W6NukBgtCdm3Q0/OicdjVet2RXjBq5esAPTWfKWaRiDMU/8mLILtUxMqOwA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH7PR11MB5817 X-OriginatorOrg: intel.com 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 On 11/15/2021 8:56 AM, Min Hu (Connor) wrote: > > 在 2021/11/15 14:05, Haiyue Wang 写道: >> The 'proc-id' should be less than 'num-procs', if not, exit the testpmd >> and show the error message. >> >> Fixes: a550baf24af9 ("app/testpmd: support multi-process") >> >> Signed-off-by: Haiyue Wang > > Acked-by: Min Hu (Connor) > Reviewed-by: Ferruh Yigit Applied to dpdk-next-net/main, thanks.