From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 50D8EA0547; Fri, 14 Feb 2020 12:27:15 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7FE5211A4; Fri, 14 Feb 2020 12:27:14 +0100 (CET) Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) by dpdk.org (Postfix) with ESMTP id DECE63B5; Fri, 14 Feb 2020 12:27:12 +0100 (CET) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 14 Feb 2020 03:27:12 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.70,440,1574150400"; d="scan'208";a="228464642" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga008.fm.intel.com with ESMTP; 14 Feb 2020 03:27:11 -0800 Received: from FMSMSX109.amr.corp.intel.com (10.18.116.9) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 14 Feb 2020 03:27:11 -0800 Received: from FMSEDG001.ED.cps.intel.com (10.1.192.133) by fmsmsx109.amr.corp.intel.com (10.18.116.9) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 14 Feb 2020 03:27:11 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.40) by edgegateway.intel.com (192.55.55.68) with Microsoft SMTP Server (TLS) id 14.3.439.0; Fri, 14 Feb 2020 03:27:11 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lmVa9hOQTXJsh9PYgffexbtuzEZZXCLDeOVVPUVzWJQgme75WZvA3yrIP6AjZZjLZ4wVJvZlU3LPOWnweQ/5ktp8JbSMMGdtbZcZqAUGPo4CzXkM/af1/KdkfsmhtfBAk2XM/u6xEwG6sFWUfzOX7xv78Ti5XG3dchqsEVQz5Y/zrdZW3ho3Pb898DSQgByPJqauHQUFDt8BO4z/wVbrRYpZnUAjc47eoT9Ge0WDokDUze4z96cbk2Mo4xf436JdmX6nrkXllTt9BPPO5Zmbo+6ut6eRzUnhax++g4b6dUjXiBURvQ50iM5JGQsu5UnR6owYzsliqatppZRb8avGvw== 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=AXSPO8SfGlqII6mMNCF+fHljggZiM4CJv13PtBdquvc=; b=g3oMPtWa8ROEWuV9lzLpPPmenCn+6HHOnzRdr3q5IhPbQFOCPKhPsc9CUGBt9NQbpFvm85TKngZMV+wtk3VxlLTUVVhkYHAQzOGtFQxcjmJMBfyuu3XfQPd9ZrNhXJzCgsaf/uPwksvjAjkF9n/XDe7PaR+0BSMSdqYOY86S7FzQxckdr8F40XL9XXtmw48dpz5xz7yUUXozYBEwPwm8nrzlgQwHeMkFla8xSFVpU3TA4NaAJ7UUV8/zCI7Nqy98eiKz4B/z1Q/LaEFEmSIjk1SYiYp7yHQaWzI+BkFIleSUXWMjlxAP3RFBzrhYl2VbKGBhXe+/FB4nONLxktAv6A== 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=AXSPO8SfGlqII6mMNCF+fHljggZiM4CJv13PtBdquvc=; b=LxqQuI1rRgFS/j0lvloHL+q1AYHe+2FwS1dBBbLeBFKktzcj6klOipiV5gy4ZG+PvlOtXcLuhoWPiEd38DgjLBrhAGTa5MZRncGHvKirp3Y4AMkPZKLoy/weKYEBF635Pi0YkKBTIinfEO2UAo7QC47oAsjm/o39ZRYA1ghakJk= Received: from SN6PR11MB2717.namprd11.prod.outlook.com (52.135.95.160) by SN6PR11MB2925.namprd11.prod.outlook.com (52.135.124.217) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2707.27; Fri, 14 Feb 2020 11:27:10 +0000 Received: from SN6PR11MB2717.namprd11.prod.outlook.com ([fe80::88ff:f2d0:644c:a492]) by SN6PR11MB2717.namprd11.prod.outlook.com ([fe80::88ff:f2d0:644c:a492%5]) with mapi id 15.20.2707.030; Fri, 14 Feb 2020 11:27:10 +0000 From: "Dumitrescu, Cristian" To: Hemant Agrawal , "dev@dpdk.org" CC: "Stable@dpdk.org" , Jun Yang Thread-Topic: [dpdk-dev] [PATCH 2/2] examples/ip_pipeline: fix to use sock id instead of cpuid Thread-Index: AQHV4ydhxuGJ7wzTiEOaRCmpMFWkD6gajHUg Date: Fri, 14 Feb 2020 11:27:09 +0000 Message-ID: References: <20191211052534.14600-1-hemant.agrawal@nxp.com> <20191211052534.14600-2-hemant.agrawal@nxp.com> In-Reply-To: <20191211052534.14600-2-hemant.agrawal@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-titus-metadata-40: eyJDYXRlZ29yeUxhYmVscyI6IiIsIk1ldGFkYXRhIjp7Im5zIjoiaHR0cDpcL1wvd3d3LnRpdHVzLmNvbVwvbnNcL0ludGVsMyIsImlkIjoiYjg5YTEyNTQtN2UyMS00MTNmLWJiYWYtMjM3YWZmMmQ0OTdmIiwicHJvcHMiOlt7Im4iOiJDVFBDbGFzc2lmaWNhdGlvbiIsInZhbHMiOlt7InZhbHVlIjoiQ1RQX05UIn1dfV19LCJTdWJqZWN0TGFiZWxzIjpbXSwiVE1DVmVyc2lvbiI6IjE3LjEwLjE4MDQuNDkiLCJUcnVzdGVkTGFiZWxIYXNoIjoidllleEhNV1lIbHBCUGJoRmdDZlRsVXN1XC90eHU0Z2lpXC90bVM2THhvUXVcL2wzcHc5K1Q3N3BHNTl1cEpISU9zNSJ9 dlp-version: 11.2.0.6 dlp-reaction: no-action dlp-product: dlpe-windows x-ctpclassification: CTP_NT authentication-results: spf=none (sender IP is ) smtp.mailfrom=cristian.dumitrescu@intel.com; x-originating-ip: [192.198.151.179] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: b61a2647-bb82-4537-f3e3-08d7b140d4d4 x-ms-traffictypediagnostic: SN6PR11MB2925: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-forefront-prvs: 03137AC81E x-forefront-antispam-report: SFV:NSPM; SFS:(10019020)(376002)(39860400002)(136003)(366004)(396003)(346002)(189003)(199004)(54906003)(55016002)(110136005)(2906002)(86362001)(26005)(316002)(186003)(53546011)(71200400001)(6506007)(5660300002)(9686003)(478600001)(8936002)(81166006)(7696005)(33656002)(81156014)(66446008)(66556008)(64756008)(66476007)(4326008)(52536014)(76116006)(66946007); DIR:OUT; SFP:1102; SCL:1; SRVR:SN6PR11MB2925; H:SN6PR11MB2717.namprd11.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: x9+PHR1CSfhH+dugf233nqLaucZd74w+tuLCk+knqyIp3wNYPI666zCnCZK8AF1yKUlfHS88lwlC2Cm8qwp9msX3Vnd8Z7tus6mkXNk6GnKmYrPhdr/46CkPxjI8EryEEQ96zg6Hj2MDQ53PWtGuDyXuyL4rZm5eUIJhcNnru/2GDjFBeAVtTreAWFXGnvwXtn3SoiH4lpNIw+PTGUP7ksATwIQHaZvWZtgkvUX+8WWlD2ERsHZoJ/17i2PlTQv1qbdwnbyQylpdKjnOY678p+o5YLBlWg++ZiIAGOzabRAR6pPaeGirDCvH36JYvK8+NoyJy8bAjzWvI57Qn6a76DvtdNF0rVqh/LpeWpWI+e1nxG2JmTCytLR4LwLgC8CFVj4c9G4gYbwnqykbF4B+p/mNg3JYNI4O/oC1Rhmmshw9kJ1Xqqc8FMv4WvVztmto x-ms-exchange-antispam-messagedata: UFkVtZtRnQeTfBSq6e+IurfBxlU+C5kH4BR8yb/FvcWJ44A7KxsOFS8zdSAsmqHEXL+JVQqtT2nutSxojrLzKIbv3k2YJ+y7f60KwLZnnS8+QtPefQyHxYOgHWV2Vb2SjWr0MptWX9WiiVc218RioA== x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: b61a2647-bb82-4537-f3e3-08d7b140d4d4 X-MS-Exchange-CrossTenant-originalarrivaltime: 14 Feb 2020 11:27:10.1644 (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: o+z8ysvhqmIo3nlJfwKcOjR93mjNx0S95uY5tmuGBnZBXcWIW6znVMvpX1FRpuwUXNNiE5C8Vgnc7Q9nHrOjRsWPen8e9eNgxxcggwvvjzA= X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR11MB2925 X-OriginatorOrg: intel.com Subject: Re: [dpdk-dev] [PATCH 2/2] examples/ip_pipeline: fix to use sock id instead of cpuid X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" DQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYWdlLS0tLS0NCj4gRnJvbTogZGV2IDxkZXYtYm91bmNl c0BkcGRrLm9yZz4gT24gQm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