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 29CD045B38 for ; Mon, 14 Oct 2024 12:22:53 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1D8E2402EF; Mon, 14 Oct 2024 12:22:53 +0200 (CEST) Received: from mgamail.intel.com (mgamail.intel.com [198.175.65.9]) by mails.dpdk.org (Postfix) with ESMTP id 0DFB940273; Mon, 14 Oct 2024 12:22:49 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1728901371; x=1760437371; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=FmJrpZO7nvwu81ct6iccD73m3lvZA5v2Z0gtsugp2jA=; b=L9dpEtG9r0JS6godC+S5X61KuAIjMWWxMpL0AvyoQmTaZYNyKXCzBKq7 yBcrUXIQDSad9wAhbq1vZNH0+xQ5AE22KFSyQxyI6kJfHyU/L+6xTvXzl 5lMOgh143M8jzjF3ZL8ulRkvKveqcEgXqAPTFSvHNa+NKyqICFyvgo8j9 shFi0QzvHoImItMwRcbpQfvlkG4WsDbZ8UAYMKWMgMuakpaPVHxBeZY8D qDfxeSeMLwpM81Vpl3/v/xMPXWxQyrBf6itb4eFYMDghrHCVuY97qsvF8 pgxg2EZVc7GIaHgBK/0Omd7m4cC5KYZzVf9apZjAzl0NlDgrAhrlNyiR0 g==; X-CSE-ConnectionGUID: vjAZPedfTC2TnN+G4tS/Cg== X-CSE-MsgGUID: JHCwPUl/Q7KeXR3QOvptJQ== X-IronPort-AV: E=McAfee;i="6700,10204,11222"; a="50770844" X-IronPort-AV: E=Sophos;i="6.11,199,1725346800"; d="scan'208";a="50770844" Received: from fmviesa004.fm.intel.com ([10.60.135.144]) by orvoesa101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 14 Oct 2024 03:22:49 -0700 X-CSE-ConnectionGUID: /bxi/b4iQZ6WCfjEPR8oGQ== X-CSE-MsgGUID: RI1mkd0wR8646CS+yjgf4w== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.11,202,1725346800"; d="scan'208";a="82160761" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmviesa004.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 14 Oct 2024 03:22:48 -0700 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 14 Oct 2024 03:22:47 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.39; Mon, 14 Oct 2024 03:22:47 -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.2507.39 via Frontend Transport; Mon, 14 Oct 2024 03:22:47 -0700 Received: from NAM11-BN8-obe.outbound.protection.outlook.com (104.47.58.171) 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.2507.39; Mon, 14 Oct 2024 03:22:46 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=O3OgFTnvh6JkcNWO8od+R0ViMV5X2CUH8Wnd+suQheX8akkhl11EGDxuG8sglCylRIUZZWbf6MtXWhn5j9hGe7Vt/xFkFITS0OPnK5Aocnw1loN7is5usDIa8mB87cVf0T+J1arPktFVjR39N8CCsOpkfb7XRdVAdeNB/zS+QMFyZwZ1D1lzKVbXL7JKmNoa/+kmmTccuNsxKIvgvTi2mSvnILJreTP89YXB2lvcJnD09af7kdoghbhh0DHZZOabzZ5YZ6YXGwsshS9C64k3p8ctBe7YkHIaEze0ohN2iEsdCWLPO7/3zS0XXyrVBMOHvL9SLQk3kAYTSEzomcFY5Q== 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=FmJrpZO7nvwu81ct6iccD73m3lvZA5v2Z0gtsugp2jA=; b=srYRzUh32sr7r4AOmymxFhEnk/kaqQMg2TInyZB7cAKW+4vOeeUtFxqG8luy5xplL54vdJH0FuL0kzBA5/ppNaSLtMirH1pBj8RvYqscHZGTK10tF7sPXaWGo5krGwdwbbB6QpWuPPG6JvNnCVEna+mkesIyCtiAai1xsvMVUMa57h7jog6aGuLVFmwvGPljJQMLKtuWWi0WctLJKgH7k7qVG+SEA3HSUQXguNGwblEzlDymuwDWhejgDduFSR5U/TYxkmpFYgyNlf35Szb7o0auN1VtPDWLjK4Tr/WH2CfNrgJBQloCS+/Jklqgm9Q0P6D0M/mRVwPnzn3s+uJaUg== 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 LV3PR11MB8601.namprd11.prod.outlook.com (2603:10b6:408:1b8::8) by IA1PR11MB6098.namprd11.prod.outlook.com (2603:10b6:208:3d6::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8048.26; Mon, 14 Oct 2024 10:22:44 +0000 Received: from LV3PR11MB8601.namprd11.prod.outlook.com ([fe80::7878:b054:82bf:b5b]) by LV3PR11MB8601.namprd11.prod.outlook.com ([fe80::7878:b054:82bf:b5b%5]) with mapi id 15.20.8048.020; Mon, 14 Oct 2024 10:22:44 +0000 From: "Ye, MingjinX" To: Stephen Hemminger CC: "dev@dpdk.org" , "stable@dpdk.org" Subject: RE: [PATCH v2] test: fix option block Thread-Topic: [PATCH v2] test: fix option block Thread-Index: AQHbHI1Fh2pV+n2rp0GNsCr96s5g2rKDsOeAgAJaunA= Date: Mon, 14 Oct 2024 10:22:44 +0000 Message-ID: References: <20240314094626.1068059-1-mingjinx.ye@intel.com> <20241012093519.1500942-1-mingjinx.ye@intel.com> <20241012152055.0ed85c3f@hermes.local> In-Reply-To: <20241012152055.0ed85c3f@hermes.local> 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: LV3PR11MB8601:EE_|IA1PR11MB6098:EE_ x-ms-office365-filtering-correlation-id: 290c4556-5e4c-46e8-be78-08dcec3a24ba x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; ARA:13230040|366016|376014|1800799024|38070700018; x-microsoft-antispam-message-info: =?us-ascii?Q?gLohcs7j9N6xJAAkNiBPaaSazYwA/MoBjzsEWQmjYoidwgW0i29BIBr14GQN?= =?us-ascii?Q?Osovo1/0WcQ1WGxriBuSuSC3cr95OdG/aqxhhCBJmnBkvQf3ecIhwF36xBv2?= =?us-ascii?Q?wqnaQXMUcV8eV9w77yBhoyU1XVImOs7+lQ2EolgfunIUfJlqgt380EgucwMm?= =?us-ascii?Q?gErysKw9oArvbjtp4jJV1i4RCcBrguBV17vY0WYp+oDGmdTNyvcVCh0AXaws?= =?us-ascii?Q?c9JM4iKaNZO9AAqRa1XGZPxqVPlAwGIXM8kczYVl08NYiehNv5on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pHBz6ea0bNNpwST6tZfhJnnVdUGdBnhP?= =?us-ascii?Q?CjP14xcnv7tCimj36Vul1xnePlyYABqRt+jkwBI1HaLOCCkR4cGFw0dFuqsR?= =?us-ascii?Q?JbIHmDqq2f0XLZpShWsiEjHe2pNkl/QIVeFwMe2BE2ujT2QX+n0RLpo/OhDF?= =?us-ascii?Q?CgmqRkE3j0SIv0evfSIHx0djYtvCdvLzlym4XIzZbwOeWQ=3D=3D?= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:LV3PR11MB8601.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(366016)(376014)(1800799024)(38070700018); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?/P+GIRAZCUgo79UN7y+Yi3/7/kWyBwoj2qk/KEJk6OXd61C6ZdVJCcIK7Vz9?= =?us-ascii?Q?r0vkbfihIFKoWd2n+jMuEG0ZuBgYZfQ7N4qVdy8llUj1HzPra6ytMBXbWzAu?= =?us-ascii?Q?xu/sDtnWNbj+UdvfzxMeiekNuGWrrZhTEd8ohQBVXevYCEQNmq/XhgutHTCm?= =?us-ascii?Q?OQ1YH11OG7GXP/aElfA4EZCyX9LqwqqjHCRq3bafFnv97txtNEGF6GtG5DG4?= =?us-ascii?Q?3gqsA4qA3277k3IKu5oMbOmMlbDkphSAR3pPXZwfSmZH7az23/QKFS8yEW8a?= =?us-ascii?Q?JyGHeHb25bznOXyHOnggRMrVuiZtoPPjihGz8fsN5Emq2MBVg+xhRNqJXrw7?= =?us-ascii?Q?64J92y5qM+Y/VaOUYlRi/eDcJj7r7vhVNIqXBXOUS/4JfipM4BZzyBFm67KH?= =?us-ascii?Q?8WMSwK1Ib6J+n7/hJHxRMmynRq89MH4CpprjDOyE52n3hdKBrxy0quhjVYQV?= =?us-ascii?Q?sbg1gq/kCSJkAHX14iqHs9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HeXtVau5LQxqqlRIBFem08s1ChpIuy5YGfLBlGeSseNxLokoSUi3Ac?= =?us-ascii?Q?R9FnZv5wiEtAwNhydjvW2aalkEMkZAXlFI+CDs4k8VG1vJV96bxj0kOp04Mt?= =?us-ascii?Q?urxmrv6GgBIh1MPTDVszfVfChA3KtRKBFcWW3+6RSyc0LWzDVztZ+hPY98vh?= =?us-ascii?Q?KKY/tbM9KlIvJz7m63AvhyOPvRJH/6nyXFtAM6kI?= 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: LV3PR11MB8601.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 290c4556-5e4c-46e8-be78-08dcec3a24ba X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Oct 2024 10:22:44.7696 (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: E809N7RwQ02zjUVuKknSMVCIs/6SIaPZ5O2L8xeXWhKLvjwBrUHVtw/pQfFHGDZmNhqAnVsQvDBBf9Q6TB24Ag== X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR11MB6098 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org > -----Original Message----- > From: Stephen Hemminger > Sent: Sunday, October 13, 2024 6:21 AM > To: Ye, MingjinX > Cc: dev@dpdk.org; stable@dpdk.org > Subject: Re: [PATCH v2] test: fix option block >=20 > On Sat, 12 Oct 2024 09:35:19 +0000 > Mingjin Ye wrote: >=20 > > The options allow (-a) and block (-b) cannot be used at the same time. > > Therefore, allow (-a) will not be added when block (-b) is present. > > > > Fixes: b3ce7891ad38 ("test: fix probing in secondary process") > > Cc: stable@dpdk.org > > > > Signed-off-by: Mingjin Ye > > --- >=20 > What is this patch trying to solve? Solve the issue of allow/block devices being added accidentally. The v3 patch will be sent. >=20 > Right now starting dpdk-test with both options together causes an error i= n > EAL init. EAL does not support adding both allow (-a) and block (-b) options. >=20 > root@hermes:/home/shemminger/DPDK/main# ./build/app/dpdk-test -a > ae:00.0 -b 00:1f.6 > EAL: Detected CPU lcores: 8 > EAL: Detected NUMA nodes: 1 > EAL: Options allow (-a) and block (-b) can't be used at the same time >=20 > Usage: ./build/app/dpdk-test [options] >=20 > Therefore it should never get into the process_dup function at all.