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 096AFA0547; Thu, 29 Apr 2021 11:07:25 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E70C941194; Thu, 29 Apr 2021 11:07:24 +0200 (CEST) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 454984067E for ; Thu, 29 Apr 2021 11:07:23 +0200 (CEST) IronPort-SDR: CKe/l752n4FKzJnsozaNPZY+yt7XRL3ERAQSJRg31EmuNvfKIOG7Vs5o0TxP+uiAUhSKnKoDRc ztIOWtbSC01w== X-IronPort-AV: E=McAfee;i="6200,9189,9968"; a="176440972" X-IronPort-AV: E=Sophos;i="5.82,258,1613462400"; d="scan'208";a="176440972" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 29 Apr 2021 02:07:22 -0700 IronPort-SDR: Rx84dddi0hlyepo19pMX5CzmRPkCe6LwSr0JLjTrcF6kA1DR1I25hSB80R2sjRu62eacMhihk4 yipnvODxPqhA== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,258,1613462400"; d="scan'208";a="448359586" Received: from orsmsx606.amr.corp.intel.com ([10.22.229.19]) by fmsmga004.fm.intel.com with ESMTP; 29 Apr 2021 02:07:22 -0700 Received: from orsmsx605.amr.corp.intel.com (10.22.229.18) 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.2106.2; Thu, 29 Apr 2021 02:07:21 -0700 Received: from ORSEDG601.ED.cps.intel.com (10.7.248.6) by orsmsx605.amr.corp.intel.com (10.22.229.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Thu, 29 Apr 2021 02:07:21 -0700 Received: from NAM04-MW2-obe.outbound.protection.outlook.com (104.47.73.171) 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.2106.2; Thu, 29 Apr 2021 02:07:21 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AK03EQeVcokEhgn45Ie/IJlkfOn/xKMP0cerEdsDvXDRJFJwwDAkGQ1xaOfqY2V0hr3rFgNjYmXJevstBN9EySxSl2dsVjUuG4QjR7loqp1HvFZ7QTmnbKk5+Gm/q8v7Ze+sLI3hWN10frW29YDHbcv90QWIxZx0/kBSNUCpLw6RbbvgNsyQFjgsZZxAdtyOtxkK2aOo/5I4ZO57ZFNZ8hCpX/Nx0+ToDPKG2CmGUrVznvpGwYoYkpPGTpujOn1WPRgKQUqhFd0nSDbAYLW/DUmD13KXnmCtFmAo13hbw7fnXa2MjlVoqfsAWaHqz7imymblWc2JlFn2qXKEcnPX7w== 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=5WdNqcahtkS+Ze9rwWgCtVLGd2dKiUi8GuG/M2peWFA=; b=dFJLRB5JiOzxQkXTX8NFLqXPWnB0DF5G4RLhfIz82pViEVFYhiKivPInW3xbTvoP7q8e0/xEO9knFhN2DNWBlcJbbomb+vqcIQjlyYY7kAfEHq01GugrY4+JcIw6eTh5DrzUKLDJJGqnA9ackB8T4Z9AnFLbCPVQHowmSodUOe/SEdbqIaYs9dBUImvup+juebeJT9TCvKhFyaLtPbI+JUjUi6hkhQP5G9I7n/Hf0ldQoEXP95MZZl+DOSj2FEw5g4m7O2HXfO7CsQYWXQkbwGj4Rao0gcpT43DWFyHZt5+ohoZn1x94t/n+B7PXywZ7iIsOxxWRNlBKjB6cxqGt0w== 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=5WdNqcahtkS+Ze9rwWgCtVLGd2dKiUi8GuG/M2peWFA=; b=GqcrG9j5IjcTZ4BSS3azJAgcyqxPr8jr9Cp9cL39zrFsJ8CYh8Nr8qBZFxLsDKUo9ravEwKkBtDDUJGeweqYrwRy3B84KQCVI59zvqbky8TIM8DRvksujf+8dyp+xtMeno1hii+5I1OdDTYHDCfs2A6cg9rJtJQuAA+PRZONHT4= Received: from DM6PR11MB2890.namprd11.prod.outlook.com (2603:10b6:5:63::20) by DM5PR11MB2012.namprd11.prod.outlook.com (2603:10b6:3:10::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.26; Thu, 29 Apr 2021 09:07:18 +0000 Received: from DM6PR11MB2890.namprd11.prod.outlook.com ([fe80::c448:f9a0:c163:8a6c]) by DM6PR11MB2890.namprd11.prod.outlook.com ([fe80::c448:f9a0:c163:8a6c%7]) with mapi id 15.20.4065.027; Thu, 29 Apr 2021 09:07:18 +0000 From: "Iremonger, Bernard" To: "Min Hu (Connor)" , "dev@dpdk.org" CC: "Yigit, Ferruh" , "thomas@monjalon.net" Thread-Topic: [PATCH v3 1/3] examples/flow_classify: fix check of port and core Thread-Index: AQHXPJG5mJXlrLk93UqfTnS35icVT6rLNHoA Date: Thu, 29 Apr 2021 09:07:18 +0000 Message-ID: References: <1616830818-3127-1-git-send-email-humin29@huawei.com> <1619657448-57567-1-git-send-email-humin29@huawei.com> <1619657448-57567-2-git-send-email-humin29@huawei.com> In-Reply-To: <1619657448-57567-2-git-send-email-humin29@huawei.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.5.1.3 authentication-results: huawei.com; dkim=none (message not signed) header.d=none;huawei.com; dmarc=none action=none header.from=intel.com; x-originating-ip: [86.45.108.187] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 07f549a7-5e2d-4670-8ec8-08d90aee30b6 x-ms-traffictypediagnostic: DM5PR11MB2012: x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: KP4cWHaL6cyOxhQCFWLTpZV7LBwCZgLQ29D9n3XnFkjzJqvclC78HcMDsttD5omGOmzfRulKiI8toS+GmWR9slg3g6yOAg29RuHFPDXzRNj5KeQbJ2P9RciSUwWK2omUdMHEVUWSxMQhGi5AxBRdb4Nbmvx+O/WGS5szVO8gF0cGTciNjJHmL/plIaIBmohnw6Kl8d38flc09jepd8HXoZ2uvK2tV7FgPdxpyHSNberAs33yLdPfRiJMZfaQi0I6xNnwhkP23Q6KhHQj04FkufGapEmonCZzR/V/fi69KUb3HRgbIEA2rk4KD6ow2KkIv81P3+ItG93NKeKYpvKq6WMiV3bYq/L7j8VrS6RBgwQamaCkjLH8rvPg9aoSKSlvsgnFTXiQ76BBJQj0RgHryqt6S5tkzsz0yKQZvUDFZwdiQ+K+AKQ2Uj5UTdR3kFaC6j6/v94EfM8YtOw7+HtrAeK5cA5CPCePaekjI4tv/KZZLYYHIlggztdR5CzjiJQXYIDPehPwf+Wxh3vM4jGDdG4Yokn+w2aitbcZYo/GWJCdRC72SdbgAG9Pl2yjabemmagErqCXiOw6V2WOB0V9bkq07MWJqf2tU9hSOL5aYsg= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR11MB2890.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(346002)(366004)(396003)(376002)(39860400002)(136003)(55016002)(8676002)(71200400001)(8936002)(83380400001)(4326008)(86362001)(66556008)(9686003)(26005)(478600001)(52536014)(5660300002)(186003)(53546011)(6506007)(38100700002)(122000001)(2906002)(54906003)(66476007)(76116006)(64756008)(66946007)(7696005)(110136005)(33656002)(4744005)(316002)(66446008); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?jKUR9LGKROlzDcoNJpE4O8+5kPMLUZGnnME3Al+y2Jbcs3raOMhmX7yEjFvS?= =?us-ascii?Q?WEmjk4dRM6rtsjtdi0SCgHjzIS6iMHjKLIhqUcxUbPIPfMtGhMfr+BtnW6Jp?= =?us-ascii?Q?t4NT0KLogG5S+HCGjNKx9jMQlmW+Ahd4tE+qZyLhISCeMRC3aktXhOcqe43U?= =?us-ascii?Q?f75mK0KvmNTam/y7MLYpjSSRQljvykJfJxfw42q66vR1G7Xv+UZ4xQVa+V9G?= =?us-ascii?Q?Oxt5iyccidYSWJnht+FkNjgKVFziGazY7zjfV7I9LqDcVhM/BIIcOGAC9jE5?= =?us-ascii?Q?kWMFoecIK4WOq6EacigT3Dswr0Fj0CNW2Zx+yYA9g1tmiMg2/XsWG9oIux1f?= =?us-ascii?Q?PDIktUFalG7hdhYZyVNyunlKQ+aDhsZx0E5Tc50rqzc+lyBvKcZM8XCT+7Jm?= =?us-ascii?Q?ERn4pNFh+zqVU7vFoU/6H5b2oFxdxTM49fbAkruwOAPNJ2DqHTN2xRweC0e1?= =?us-ascii?Q?3pNtfehBddcmeDbl39YQI+qkx3lFgsdn3iITIWptHlvV9Ke0Lqdh9jkX5HDt?= =?us-ascii?Q?cyxVCm2Q0PbG35SzOOfEK4afp7NVkb3l+cVKKDco6krY2PFzGSkCa1J/hPkA?= =?us-ascii?Q?wtsLvVGa86Us3vXKSyjGvD+MlllBM8lIOhVB7f5sLhDPvuvmZQwFFBD3JaPc?= =?us-ascii?Q?zOQ9dD9GI3gzP4lUjzGC8XDH74anJSK1/SZlZmPgzZgeShkkynYIi6OvFApr?= =?us-ascii?Q?G4JfEcu9ZsVvmpnN7G+ueZtJPhILICp9CV80ew71KbqKBnfi8wLb54mWZbl/?= =?us-ascii?Q?HQ6buiSSboymzwrr/QBuShqim81iZ4G3hcZ92FWDeT7qylF9hkeInAHxqpG3?= =?us-ascii?Q?AZlCOcU0dLmY0juvC2XzTrpECSyMiXzMZw4gLvomCkmVP+MWRdrQtqaqU49X?= =?us-ascii?Q?OMEOIpq+KNff0l8O3fhYio8jUHyaWZITvHTMx2AyATXyUsxk5CETFaYn5LLc?= =?us-ascii?Q?maD+fQuBZw3ap/1u/1dz6fxy6cI387fP+0NsBHWfQEdICR8AAnj7mXOn6d+b?= =?us-ascii?Q?MIzC0wLSWgeKkUcJjWkCZbSFK5m8bhFPke6P3z8zN+7BqpazGkJaENRloynb?= =?us-ascii?Q?4IijZMETXJ1BW7/EhHQhq8yxHXd+S8jpbQAo/oMXZS9cSEOo9Er88waZ0QvI?= =?us-ascii?Q?tfb38m6CsuAE5ebcqmeTrnJIL6sCck4919zTtXKQ4KbeaeB3j8IH3c9kpxZH?= =?us-ascii?Q?QPRgfMgzhjptSvzfaMFD7n/RjpfVHDXmX5mvAzfQaPzVlSfiAuq0ziI6JHIp?= =?us-ascii?Q?Z/RSD2V/MiykPAXIT3UyGVYBavagXpYkRgvNYj1yD2RHjQACeEFjsNU3nyQQ?= =?us-ascii?Q?FCjI/GzO0a5Nv3mOiCLo0vd4?= 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: DM6PR11MB2890.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 07f549a7-5e2d-4670-8ec8-08d90aee30b6 X-MS-Exchange-CrossTenant-originalarrivaltime: 29 Apr 2021 09:07:18.4700 (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: Wqb80sRtsRJOD6jT2XmX0qG0WpHxCPjbxbeuQuveoFwaudr9KekjaCh91rAFHs0f/8z4fTv9F0VcwbRSFzRrPgP+JpwMW6Kv+8WVs/ElZJg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM5PR11MB2012 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH v3 1/3] examples/flow_classify: fix check of port and core 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" > -----Original Message----- > From: Min Hu (Connor) > Sent: Thursday, April 29, 2021 1:51 AM > To: dev@dpdk.org > Cc: Yigit, Ferruh ; Iremonger, Bernard > ; thomas@monjalon.net > Subject: [PATCH v3 1/3] examples/flow_classify: fix check of port and cor= e >=20 > According to the comments and logging, the author just hope user to use t= he > core and device which are in the same numa node for optimal performance. > If not, A warning gives out. >=20 > For example in flow_classify: > ./build/flow_classify -a 0000:7d:00.1 -l 93 > Here: > 0000:7d:00.1 is on numa node 0. > core 93 is on numa node 3. >=20 > The two are not in same numa node, but no warning gives out in old codes. >=20 > This patch can fix it. >=20 > Fixes: bab16ddaf2c1 ("examples/flow_classify: add sample application") > Cc: stable@dpdk.org >=20 > Signed-off-by: Min Hu (Connor) Tested-by: Bernard Iremonger Acked-by: Bernard Iremonger