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 133B8A0A0E; Wed, 28 Apr 2021 11:27:28 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id E2B254014E; Wed, 28 Apr 2021 11:27:27 +0200 (CEST) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by mails.dpdk.org (Postfix) with ESMTP id 5BCFC40147 for ; Wed, 28 Apr 2021 11:27:26 +0200 (CEST) IronPort-SDR: rawWMRCZX1x7oDybcWZmNAmR6cf0OPlYTDuX6w5QcoC9M6jJYK0cLQniAu0gNtBRvKcCkG5aFZ J551HUCvgH+Q== X-IronPort-AV: E=McAfee;i="6200,9189,9967"; a="193508592" X-IronPort-AV: E=Sophos;i="5.82,257,1613462400"; d="scan'208";a="193508592" Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Apr 2021 02:27:25 -0700 IronPort-SDR: gO6ZBpwBu4GmzpfjvzxxxlUmeM5EaXoq64LuDuOgmQaGLgATfU3nno8Ka4tBUAvo7Ybgs5+ExQ /eOBYg/4n6Zg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.82,257,1613462400"; d="scan'208";a="423444163" Received: from fmsmsx605.amr.corp.intel.com ([10.18.126.85]) by fmsmga008.fm.intel.com with ESMTP; 28 Apr 2021 02:27:25 -0700 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) 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.2106.2; Wed, 28 Apr 2021 02:27:23 -0700 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2106.2 via Frontend Transport; Wed, 28 Apr 2021 02:27:23 -0700 Received: from NAM02-DM3-obe.outbound.protection.outlook.com (104.47.56.41) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2106.2; Wed, 28 Apr 2021 02:27:01 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=EdIXKtqy8p+zM/YXVi2EMUdx9CMAHiA7WxKcbINqq0w6YzwlVhThuGaIr3Wf7J6BnVvY5CBbNO7yhLkBMEC6zWHC2sFotCZIHRBZDcS/fGB7zLOn/upYvSCUWTsbALrlWCeniJtnrxXCZL8IO+ko8u8rktRllSbzXJWHDWdo0D+O5jXO0y9w9Qlq+8hgJbGnKCpp48g+G2hst3eVUCmXr2/S/MiHfWKoW1QFUQOHW17YqrVaR3hDdFyBS77CT8QcgFh50TDZVuIipFWwAi4jgHA56SPH9V65kgPxrsvb0IC4KlI6dG5ovRxT+z+xDGp9L5+j7IVnlCN4ZLUImj5PWg== 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=KT/pTuaj82QUuOW5L6eDi2xVMZPKux4Uw0mDimgFcLs=; b=RammiJrXjBYwsJkQQMYvQ1/gXW/L1XMRRVlZt7U5uD5VRrKKXTmaM4YsZQnXn8xcDpJZIGblygqP1TpUNLYDwthORyc3QzQvxJeZ8BIFETe9TlDRdgl4PLVoh9rxtSMlsRW+uTzJV9qKIosl9YzNytEBN+nGrVVgNIXthk1eskTZdCYDR7CtocudLqEf2v8UCMBhSzJe64PtNlIhF/QCK+nNg80yCcmcXfN2f3DZmoYeNVcwqhVTZthHN1rIII7MWdrNSwstFSfhGwmW5aheX6wvnlLMl9kqBJ2WXFoLRLFhxG+4g33LXqE8C5K57BVnkAcr0iZyYrXyjGQZJ0dwTQ== 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=KT/pTuaj82QUuOW5L6eDi2xVMZPKux4Uw0mDimgFcLs=; b=G4+7PtikX0T4+Y7p7J0R0pg0DX07Bg2S1nIVwJn9/Q8G2lFRxOI3KAFtXDlVNyjSE3qCroBjqub26erpSyKMOmQTE1ZsyMoQ+fb5rlhpljd8UDoelcihZp4QOL62XjEISvszVsnXpX++kkqqbp9T1Uv16Hg1afoWMoCbtAD51v4= Received: from DM6PR11MB2890.namprd11.prod.outlook.com (2603:10b6:5:63::20) by DM4PR11MB5231.namprd11.prod.outlook.com (2603:10b6:5:38a::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4065.21; Wed, 28 Apr 2021 09:26:28 +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; Wed, 28 Apr 2021 09:26:28 +0000 From: "Iremonger, Bernard" To: "Iremonger, Bernard" , "Min Hu (Connor)" , Thomas Monjalon CC: "dev@dpdk.org" , "Yigit, Ferruh" , "Kantecki, Tomasz" , "Richardson, Bruce" , "Burakov, Anatoly" , "david.marchand@redhat.com" Thread-Topic: [dpdk-dev] [PATCH 1/3] examples/flow_classify: fix check of port and core Thread-Index: AQHXItxuMNIF4Zp+J0yB6V2nVH3k6qq8vYqAgAAVy4CAAHlrgIALI36wgAAKKoCAAAt+QIABUpDQ Date: Wed, 28 Apr 2021 09:26:28 +0000 Message-ID: References: <1616830818-3127-1-git-send-email-humin29@huawei.com> <1675114.mf6Gbu22uX@thomas> <7cd793c6-7a1e-f3dd-cf53-9b399ca03068@huawei.com> <7295111.aNunrXP4Or@thomas> <0d828361-15ae-6bb4-4d70-f25543b37f90@huawei.com> In-Reply-To: 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: intel.com; dkim=none (message not signed) header.d=none;intel.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: dfc7f27a-b132-4961-6b5d-08d90a27b3b7 x-ms-traffictypediagnostic: DM4PR11MB5231: 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:4125; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 5WnA4MUExp8Wwtfh3GtuQ+KCzcMsVG1l5CfNCFTZx7yGW8xvEfLgDjuoQw+bzEcf92/bL3uWmPyrxPP+iPbzP2Fdfnqti/F9m7F8IxbJDIolWkNCRPFEAyQHmSDgN8knyCtsazCqZNHfsmwQvj5p8G7VG61aw4q2yPXHU5ne3AOjIQA86bQ75Qf1lqYuz9PHoGf4oDnDz6URs5xpH5bvHijDStRAmjXdltruZoessuX3b4imgjO1/2tukdW4/+/6vSRAMRyyNgupMKFH92UZeBZXXvYhSyP5b2PLMWHvqItVj49WKINy7ldCj64clzxSF8f0tktK6pXUr4CdPnkCoi0fNZrv7wJ2dkJnwALHJTD3rkzi//z07ToxjHm3UCgO7ZcEqinLo1Bn/ouB6neKOmsa3eNn8kyy2VTOjbAI37ar24RBX6ROJLcyGIbbrNouMAbdiTvRovYQYAw0sjmcLq7CvHuopqAfn/vqS+HOTUolidC8NsbB+pJ275z9Y5crP/EDlHKDVmksVRf2mRhCC8wLhsfm9TV0G85j6pnQg4d9b5vLN+FbOkkN8bLxZqw52MltSXNormwFuO5EqwUlOiUgwsJ1ceQyM7OGqM02nhc= 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:(39860400002)(376002)(366004)(346002)(396003)(136003)(110136005)(54906003)(8936002)(38100700002)(2906002)(26005)(55016002)(52536014)(186003)(316002)(478600001)(66476007)(76116006)(64756008)(66556008)(86362001)(66946007)(71200400001)(66446008)(83380400001)(4744005)(8676002)(6506007)(122000001)(9686003)(33656002)(4326008)(5660300002)(7696005); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?VH3p9bAq9SSMFF6ZJU0gYoLPa43gnjejtcIDpT8LwDS64uYALsMk7tZEFe7D?= =?us-ascii?Q?drlqUJxvk8eaYNoqdsYckAz78ciJYA0RUuabRulABoSBek19uS/N02qoczUz?= =?us-ascii?Q?gJtiNKsChB51uCPItXuQJe1nf+zSt10IOXpOvnr7W93LPUtmT5EFy4VwrC0S?= =?us-ascii?Q?ECp5aHyzzzt6padcq/qy4O5MDlDTOQp0oxoHSOtRBpFJssaFGPenFdpxmZCy?= =?us-ascii?Q?DXvC15i+Ut4BLHwk1FhJXxa6jTSUo8G3ry0XrHnQ4j4ysPwoFNFt0p5TLR2/?= =?us-ascii?Q?a1hSRY4K8tZyaDRA0Dnp47P9veIdjLsaWqhutLhJzL5OQ6lgmPQcJbQV0wVr?= =?us-ascii?Q?iSYPlyZC+cHOgszeAG2a7AJoFg68A3MyxHKZ9F604FD9BZnvX8WW9MgQBEul?= =?us-ascii?Q?EH/TWwBF4VsztBkrLRm1sqIi2nWhUOXJJBZ7BGrBLB2WqrNwPFt5K9yzrjJY?= =?us-ascii?Q?uQxCe+uVZwo0OZr/kqjdh+X7V1V0z6Anq+IYEz77UpC1kapW8agVaQPkURHq?= =?us-ascii?Q?CSZIx/Xi5m1QcCY0QO5hPcWypOTh5FdfdiexUTue64QDsi0mJcrXeHDnDxzl?= =?us-ascii?Q?m0PVDrqOshilePZ3fBgiM5iLI0ZifPVEddHxBiMzTKHiGLYYy779vWiSvBu7?= =?us-ascii?Q?uts6huziQFebrpSqtUl6FIZrRCeSg34URTJ0mZDQ+PkaqOtqJyYqSBaKistL?= =?us-ascii?Q?qSKALvk/NiY61dzqCcmEn2GGD+lJ8sz0ybpWig0rhRFTtaVUhO8LxAM04ZXu?= =?us-ascii?Q?ucBp7JCBdYbnd4St8tWLz0dlboYDctE1/JQoKVe51oncYWKlCEBeM6c5a0P2?= =?us-ascii?Q?RCpgoUVvsbPcXEf9tNJPXbntKWBn6753aReJYtq6u1BYmlAEREYZb9qB8lcv?= =?us-ascii?Q?kh6kvy1HCk9QbFmQu40lIG/MmW0yYvlhOZvGKfXw02OqyPzf88aN15h0+42+?= =?us-ascii?Q?gCcl4Yc3Mte8ceXxhd51uIhUZSrki1QSZHMRDn1MLqxDOZ86eaxQDOpadKUM?= =?us-ascii?Q?74lThhKJrSeAoko8M/TSBGz8yvYJA7a31x2dTN8yxuXW2ZHRSd9o4aTO1azr?= =?us-ascii?Q?4O6lSFlNfJHDImB2cvTF+5Uoxto3Q3H2E8UYNwxvzgo7nek8IXjMNce1l9ua?= =?us-ascii?Q?BJrjIGCPsvnAtE4RRRoRZY5/rW+pA0DxJX2kQ1W4nL+hpG7s1l5k3aRgrm/H?= =?us-ascii?Q?jTamej6oTDwd3ZRzWBW3QEYhn/WUKe1+xRYzFw50/FXB800Rx44KlSCgTmxT?= =?us-ascii?Q?VRMp23IjOp2XZM+taltKfVnmSiYkzYD5fLB8BsF7+x2gm7PLnpxmGGxAAljH?= =?us-ascii?Q?fUZx6K71knSOEZ+dSE3+USTX?= 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: dfc7f27a-b132-4961-6b5d-08d90a27b3b7 X-MS-Exchange-CrossTenant-originalarrivaltime: 28 Apr 2021 09:26:28.1482 (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: j0QFKQPIiKjOIqNsBLbV1w/bKtO/q670tDJrJ7fYWJbdldUfUNt7qnh6HcHoPyafANbImI5KWjkAuRLRJ+UyhCZkKlGHc7yVbNLfjyzG+hY= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM4PR11MB5231 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 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" Hi Min, > > >>> > > >>> According to the comments and logging, the author just hope user > > >>> to use the core and device which are in the same numa node for > > >>> optimal performance. If not, A warning gives out. > > >>> > > >>> For example in flow_classify: > > >>> ./build/flow_classify -w 0000:7d:00.1 -l 93 The EAL option "-w" has been replaced by the "-a" option in dpdk-20.05 > > >>> Here: > > >>> 0000:7d:00.1 is on numa node 0. > > >>> core 93 is on numa node 3. > > >>> > > >>> the two are not in same numa node, but no warning gives out in old > > codes. > > >>> > > >>> Well, using this patch, we can get the waring. > > >> > > >> You need to explain which case was broken in the commit log. > > >> Thanks Regards, =20 Bernard.