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 25A7C45B53; Thu, 17 Oct 2024 04:32:04 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9A1B64021F; Thu, 17 Oct 2024 04:32:03 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.14]) by mails.dpdk.org (Postfix) with ESMTP id F219A40144 for ; Thu, 17 Oct 2024 04:32:00 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1729132321; x=1760668321; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=qaXYvCBL1yMVVnb5jeA+84ZNWeR9Xxzivjy+Y2JbEoc=; b=f37pwxCZ8Z7IKvKhnU9UWPh/UqN+75TXRv5ATZSM8JRbch2CgC8Hwd8v MXyGXhTLaNhOc+3moooG9Ti0GltZQ1E1AAL1PU9ArP/FMNapu/UitAoJT EhL6r72lWMvH/YFOxJHU4+MEp8DlEda+4+Toef6D8J44yoURZAITRcNAL 2hOJFIKe2uBgd9kWKx5MnIQRQSDNWdMgJXzvhSpA8x5m/i4Fa+240HjeI QwW1/Soxj680+EZWh3iwmlKRumweJJHZiU+DprHQ5weS/QpOi8w9GnUAL 3B1uCK/+panxw6m3yyE3EteXSvvHgYKQTVqLZkL8416FFLSGcsb7O1oU9 Q==; X-CSE-ConnectionGUID: oZa0Yj7UQ6SAoAvz2ZvZyA== X-CSE-MsgGUID: F6CIXMd8Rpyn0HyEYHb0vg== X-IronPort-AV: E=McAfee;i="6700,10204,11226"; a="32404668" X-IronPort-AV: E=Sophos;i="6.11,209,1725346800"; d="scan'208";a="32404668" Received: from orviesa006.jf.intel.com ([10.64.159.146]) by orvoesa106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 16 Oct 2024 19:32:00 -0700 X-CSE-ConnectionGUID: pkZNoqLJSS+mweD/25JXfg== X-CSE-MsgGUID: Qp+QpmITTx6TzUyXAYi4MA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,209,1725346800"; d="scan'208";a="78564559" Received: from orsmsx602.amr.corp.intel.com ([10.22.229.15]) by orviesa006.jf.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 16 Oct 2024 19:31:59 -0700 Received: from orsmsx602.amr.corp.intel.com (10.22.229.15) by ORSMSX602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Wed, 16 Oct 2024 19:31:56 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx602.amr.corp.intel.com (10.22.229.15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39 via Frontend Transport; Wed, 16 Oct 2024 19:31:56 -0700 Received: from NAM10-DM6-obe.outbound.protection.outlook.com (104.47.58.47) by edgegateway.intel.com (134.134.137.102) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.39; Wed, 16 Oct 2024 19:31:55 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WlxxaXlMFovj0jjuWOEgFvEydN0c3Xr232AWMGx+p3AhK5J2lJCBztVOi6rXjI9Ank91x9U8vX0xcR9gU+YxzrHp8aRTYWi8NjWI+E8ydDmjc8dlUQjpWWR+5Hh5LKFdBnj0qPTlUBzVoDFfn93XMxhJAAgCt7Q3s/t/EWRjORsicBAhRvPuX3CulAQtVGlfAilFJ3Jk/BMNfqbcdGC6mmmlYfQKqu3KhBFSo2o5s7QVfEOsVoqp3bjuDGtCQ53pvYbpJ+KQvuNv4k/jIaxuKby7GOtPk7JzpjGUWrJGFGZi8jQ0UYylcm05g4VqRCWB+F39CtsESCyFo2fuhYn62g== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; 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=ld8rJtMlqwTRzNDNOdahBFHUIq5IQIWl/hwbUw+hm9A=; b=aXQuI4yn8T/ayuEWogzpO596SozYcPxo38MtK+PyGU3Wv7Fw5t8ltDbx95cD8PD7m79/8T8IF5/JG2Mx0S8bjNRM/P7ayDo4qzwhl+eABl8yfDhPIhlGo7fckvbsVS8AbgKnRGL7OEOGNI587yhBSD46AWneffaVtGX+tgNRtDo9U3k56YdpHjViqtTfsx1yslbW7nL9eeexUIfmqBug/Eo2eAB77oSoFdlZRXoseJwyjK5/vqpYP1trproM8lU+wuXEXMAAzNjzaG62m1IDzFCJNfYgrf6TXBU912bc0BoANuKRdGUY7FIeGhyXKvdv/sLeFWcgy3F9ONePgLwXjQ== 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 Received: from BN0PR11MB5743.namprd11.prod.outlook.com (2603:10b6:408:165::5) by DS0PR11MB6520.namprd11.prod.outlook.com (2603:10b6:8:d0::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.30; Thu, 17 Oct 2024 02:31:53 +0000 Received: from BN0PR11MB5743.namprd11.prod.outlook.com ([fe80::70dd:86ce:61a8:cc3]) by BN0PR11MB5743.namprd11.prod.outlook.com ([fe80::70dd:86ce:61a8:cc3%4]) with mapi id 15.20.8048.020; Thu, 17 Oct 2024 02:31:53 +0000 From: "Jiale, SongX" To: "dev@dpdk.org" CC: "Ye, MingjinX" Subject: RE: [PATCH v4] test: fix option devices Thread-Topic: [PATCH v4] test: fix option devices Thread-Index: AQHbH6cPdq54uPHVkE2EIcBoHDUKDLKKOYIw Date: Thu, 17 Oct 2024 02:31:53 +0000 Message-ID: References: <20241014100026.1517769-1-mingjinx.ye@intel.com> <20241016081719.1619975-1-mingjinx.ye@intel.com> In-Reply-To: <20241016081719.1619975-1-mingjinx.ye@intel.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: BN0PR11MB5743:EE_|DS0PR11MB6520:EE_ x-ms-office365-filtering-correlation-id: 8ad9c98e-73a2-4def-897e-08dcee53dcdb x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|1800799024|366016|376014|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?VmzSGjJr431iCWM+AvNCYPH1QAaU5bmKC++q151aUOxeiIf3AvbMNI+m61dF?= =?us-ascii?Q?ik5TY/uYXSnx7kUN5aCu9MuW2stBg3YHI8+0V9zv9U+f7WOwIKCjlXtklhBa?= =?us-ascii?Q?DLTwlB7KMmz7Sg4+zqxOPn5VO3Ob/G3r16GW6XTV5Xyo3JJ31h48ywdCm6fK?= =?us-ascii?Q?uuVQ3xshcTPwJpVt3VAcRGykiqCEr2oAFwDAZMZcxLYTbpwh9fYrsz6+VMJW?= =?us-ascii?Q?jjocDxqPsrPRchg+4HhRxMbaICP8MA+aeY8ksnFWegMtjhJRENMtPfPWbE4b?= =?us-ascii?Q?xCVUnLG+yJk68sJrMRoow+qSHytVPHEwwXG6ktNkaV6usex7WiqDdpsRMzzA?= =?us-ascii?Q?z0RIKSvEWa8ryqTMKmK7kVEMk5W5d1hhrrytfI4+Z7Klw11yMWq9AaSksZW2?= =?us-ascii?Q?dJTIExlw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=?us-ascii?Q?HdpWCrfOcXlx7Uf3AFUxmFKHOMicAe8+J4UtcKRLBsyX51ets5Aa8bPiifnU?= =?us-ascii?Q?Ci+9XTw=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:BN0PR11MB5743.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(366016)(376014)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?8Q8r4DuJdFy0AGr/GzpPS5Zau0rWmKcvcmvDU79NS31PgZcv4lgR80fwoQZ4?= =?us-ascii?Q?LTzHY8ysRsJ2AsJTWS0XZBXpnl+wNTcXVpH0h2k5GnW4jk1X4mMmFeIy5VCJ?= =?us-ascii?Q?tgqmkaAroEKNAtYP3YB9r0yMwTZnOurGNv8ynvuBAAjcOkJI+nq/2GypQYIu?= =?us-ascii?Q?CTXUYkyCnV+Qmi4C3IVRGRk9+NFHNB+7E/dWluK1w2WOzit4qjQ8kNKdzp+R?= =?us-ascii?Q?TMFGVmxov09trtR8aZ1wvNhQsKElFN66Pu4XdeJcDLZLhe66IZMa36FlDWqh?= =?us-ascii?Q?djMOgURk/pmQNnVbp804L2ES2YsfsC+P8PIHxXACihTDUA/EvLVNfrRPDl0i?= =?us-ascii?Q?ObyRFHra3ofC6ybmuePSbjjfH0BY13xLVKGJNNNJMOH6GTgRz5Td0QAujkDq?= =?us-ascii?Q?Ii++MktXvVcJC6MJWaD/5R4RYEGaXVhWRNuWkCRbK35HI7AvAjeHWzCC+nxx?= =?us-ascii?Q?9bTcRLxKqxYpE/PEWZaCX8tWHpVc20wEUwL5uxduMygAU+FWi5y4sUm6tMtt?= =?us-ascii?Q?hT/Aq68jbkwpPnPQNi/zBM//W10UMTE/Eik0LC6P7uDhBOdfQs97VnuSuCbZ?= =?us-ascii?Q?d16c+8qoJBwh06EeZZ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?us-ascii?Q?Al06vKC5KQRnUGAxWEnLQLbam+zRkZNVomy8Qxf57lMwT+PIOxeqKOQEZvXQ?= =?us-ascii?Q?RnAS6E1cgT8PJKAZOMQ8w9se/4wBSe89RZDBK4+o?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BN0PR11MB5743.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 8ad9c98e-73a2-4def-897e-08dcee53dcdb X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2024 02:31:53.4688 (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: hjQUmDEIe5dlNHLg5sgBVnn/X1A89VdAD3xGQKsrPATQ9cSgsA3h/MthsDW03Fw2jswqkyY6FSQ5SrP6aHHnlw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR11MB6520 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 > -----Original Message----- > From: Mingjin Ye > Sent: Wednesday, October 16, 2024 4:17 PM > To: dev@dpdk.org > Cc: Ye, MingjinX ; stable@dpdk.org > Subject: [PATCH v4] test: fix option devices >=20 > Without using allow (-a) or block (-b), EAL loads all devices by default. > Unexpected devices may be loaded when running test cases in sub-processes= . >=20 > This patch fixes the issue by copying the parameters of the primary proce= ss if > the allow (-a) or block (-b) option is not used when starting the child p= rocess. >=20 > Also, EAL does not allow the options allow (-a) and block (-b) to be used= at the > same time. >=20 > Fixes: b3ce7891ad38 ("test: fix probing in secondary process") > Cc: stable@dpdk.org >=20 > Signed-off-by: Mingjin Ye > --- Tested-by: Jiale Song