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 84390A04B6; Thu, 24 Sep 2020 17:27:44 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8DF451DE19; Thu, 24 Sep 2020 17:27:43 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 7DE361DDE5 for ; Thu, 24 Sep 2020 17:27:42 +0200 (CEST) IronPort-SDR: 6u3o4KmG7fzjao0pgheAvrNoG9Wlq9WZvRq2as9a+psZnGC1uMspnZqY0KX8JRnfTI1fBKIhYf 70iRoeqVSN7Q== X-IronPort-AV: E=McAfee;i="6000,8403,9753"; a="161302559" X-IronPort-AV: E=Sophos;i="5.77,298,1596524400"; d="scan'208,217";a="161302559" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga007.fm.intel.com ([10.253.24.52]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 24 Sep 2020 08:27:42 -0700 IronPort-SDR: oXyw3ovCpLDgT4XKa/HaExVbJgogPj2yuG7WM25QG7+fEsYU4nCGuxze6C/hvlILkM1i1RGgWM 7I/2BjIckUxw== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.77,298,1596524400"; d="scan'208,217";a="291255716" Received: from irsmsx605.ger.corp.intel.com ([163.33.146.138]) by fmsmga007.fm.intel.com with ESMTP; 24 Sep 2020 08:27:40 -0700 Received: from irsmsx606.ger.corp.intel.com (163.33.146.139) by IRSMSX605.ger.corp.intel.com (163.33.146.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Thu, 24 Sep 2020 16:27:39 +0100 Received: from irsmsx606.ger.corp.intel.com ([163.33.146.139]) by IRSMSX606.ger.corp.intel.com ([163.33.146.139]) with mapi id 15.01.1713.004; Thu, 24 Sep 2020 16:27:39 +0100 From: "Nicolau, Radu" To: Honnappa Nagarahalli , "Van Haaren, Harry" , "dev@dpdk.org" CC: "jerinj@marvell.com" , nd , "Ananyev, Konstantin" Thread-Topic: [PATCH v1] event/sw: performance improvements Thread-Index: AQHWhc4gXmAaGROrCkm3IWwjxVbHVKl2GN8AgADIWACAASB9AA== Date: Thu, 24 Sep 2020 15:27:39 +0000 Message-ID: <46118f3466274596a663d7d44abb680a@intel.com> References: <20200908105211.10066-1-radu.nicolau@intel.com> In-Reply-To: Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.5.1.3 dlp-product: dlpe-windows dlp-reaction: no-action x-ms-exchange-imapappendstamp: IRSMSX606.ger.corp.intel.com (15.01.1713.001) user-agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [163.33.253.164] MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 X-Content-Filtered-By: Mailman/MimeDel 2.1.15 Subject: Re: [dpdk-dev] [PATCH v1] event/sw: performance improvements 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" DQpPbiA5LzI0LzIwMjAgMTI6MTAgQU0sIEhvbm5hcHBhIE5hZ2FyYWhhbGxpIHdyb3RlOg0KDQo8 c25pcD4NCg0KDQoNCg0KDQpBZGQgbWluaW11bSBidXJzdCB0aHJvdWdob3V0IHRoZSBzY2hlZHVs ZXIgcGlwZWxpbmUgYW5kIGEgZmx1c2ggY291bnRlci4NCg0KUmVwbGFjZSByaW5nIEFQSSBjYWxs cyB3aXRoIGxvY2FsIHNpbm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