From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from NAM01-BY2-obe.outbound.protection.outlook.com (mail-by2nam01on0082.outbound.protection.outlook.com [104.47.34.82]) by dpdk.org (Postfix) with ESMTP id 1934F1DAD1 for ; Sun, 10 Jun 2018 13:07:16 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=CAVIUMNETWORKS.onmicrosoft.com; s=selector1-cavium-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=2NencSEp5+PHy+89RwskhbOIYi5gzdqc75O0lwu6Lek=; b=Y9H0YogJkJWZUX3JAaX0ifaSGYVLGuxLZfsmaS5/YW/nlDHF4TmDFP/jpplO4j0f7yumWy5LaDnBqAjmc8yzZdOkes78SWvFgRHFUuKaKmFybMreCOM9LUTQkzYjJYnSCHbLN6nz+5ftWJkT90NIyx5AjGV+aHEVBtvk6cVODWs= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=Jerin.JacobKollanukkaran@cavium.com; Received: from jerin (118.143.155.128) by BN3PR07MB2516.namprd07.prod.outlook.com (2a01:111:e400:7bbf::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.841.14; Sun, 10 Jun 2018 11:07:11 +0000 Date: Sun, 10 Jun 2018 16:37:03 +0530 From: Jerin Jacob To: Hemant Agrawal Cc: dev@dpdk.org, Sachin Saxena Message-ID: <20180610110700.GA6990@jerin> References: <1528180425-27937-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1528180425-27937-1-git-send-email-hemant.agrawal@nxp.com> User-Agent: Mutt/1.10.0 (2018-05-17) X-Originating-IP: [118.143.155.128] X-ClientProxiedBy: BYAPR02CA0003.namprd02.prod.outlook.com (2603:10b6:a02:ee::16) To BN3PR07MB2516.namprd07.prod.outlook.com (2a01:111:e400:7bbf::13) X-MS-PublicTrafficType: Email X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652020)(5600026)(4534165)(4627221)(201703031133081)(201702281549075)(2017052603328)(7153060)(7193020); SRVR:BN3PR07MB2516; X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2516; 3:eyf1CTKj3H2jyJZmm6VRa/THAL5kNKTnRqIqsFSraHlrhUvlBjivoYnDiaYDNaqa8Ud+QWZcSafORiNPq46oZ3AsN3DFuoleqlIiTZY18KeQLwZExiLb/EehpK+Yls3duK9TYrudfvrFdoFzej9h7Q5AlSHLahDteSNk6X4wkdUAuNcWu0psny2yBfP/bojJEONmUHEAicnI5KWeQo8hJyTL6AJAkVhGYvDf5ANXWVY9dRdnEJrVFZ1Y6QKO3v34; 25:DcEtyZ7w0qmWnrYju7T3NQi5zexxmQP/W3Y12LLlm1SgAgqjGZJ0KhNYZ4lvFvDyMGFvHEJucaCYvpTpLICgzD6rTsUdnaxpDZsmK6/7ksv/tyLpZplfjo3nUMiLSPsWkESqEzuelkWLBqAA/WHtBqlqyKR1Qneg2XP0/i/5btOByXDKNUX5nbOvKI+9syTAm50cKwDLF9/TubwmhRfrFxW9HKJ7r20XlNBG+jwTM7O0HhIPEGpjpMUH4pxp51YKwqF4dt4O4yzziIZRnitfY/Sn+SLoUGy1dxEfHJas3nA/25WWMMkXyF9JHY8bSXzhBtCuCMyihYqBzNYH785QaQ==; 31:YHTV93JJfFcGi7bM+JJHTV6DWrDQqCes99jEkvxdIuhrAxj2gMtVwj1AeAbe7D6X+AcA5tHju4x8UC8TNalS5c2NEilJX36hcKAPJUGh83MEsAAKD2x45yMg3SLryKDD90mAiFduzhKyHcfs2+0ZBup/ibdGLPs23ZtM8+niFw09gT+yqZSQughaT6VZji8HSqld+BkYDJ7paHxbamQKJxZwYkONAktHgF/yl+u4HpI= X-MS-TrafficTypeDiagnostic: BN3PR07MB2516: X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2516; 20:s6YN6Qs+z27mplwEJ3zMqmQ8jsFA+zU/E0P50K1Dz0SU8vE/LBsVLsrUsUlTkvi1tixvEyNECkNZYkXXklhnD/MfHZ9NJkt1cZL7VT0LBtfiK0Kdry9l77FHDhmcPD4AYd54stuSnhnfVvqvytvFDhw9hBk3OzP5gh3OoPgwaN4NrD9JI05zDGvE4jTldKY+ediTy2IsPz33ORiWuDcxXemZWw1vyhEVW2QQd72ntwqklQHFrb9qfOibXl1mI0BLomLyb2jVmdq5hnGSFwfAAYFrHFnaEcJXwWJ6yhb7j4BQDBqvL7ilp/oSriFb+quZuMh1U0ORe+kl0UV0vl8i3lIzV+xGXpE9ojtknHLBKTtCI6P8xZRIU5diJJNQNcIqXRAMQZuEpAmQJVUzbMsWpI63Ayu44f6nlOXsMzJH9f7SFGOS7I6rWjdemYmOrtHB4VXseodphDZVYqzjlVIz1IYaYS9td/zOIhD3+ElQQlZbAozfhIMIHasqA1YOPpV+gBpHcALjk9FdaXDpI240buWRVGfSdidgkQGWUQCQUhsF1U97KYIv1KCokJRsm9AzcGHol3mjDaD1ULNI95M6Ab8tTflSii+xwbxoJ4EPbIY=; 4:iYE3bF61P+d+A8ZM45P2tJJHHAai2UvfeiKTfyAelhwAMr/0weaJVG3dEgCkjLIIMoaGe+qoSBQVAVAKtAETYrXVBiuIp3Hxegn2kyudOHdzepVqbHnd3UUW3zDBlGl9JXtuu3b5yeMlcntT+DApIw/LiuTz+TalhhrhmyWndpWrDNjKWo/EdEOaE7cVNZuQaiVAOONJOR9dzgMQF67Hp3/UwXMccCMTKtyYRHptrhGj9qqk9J61gzGAGLqxLKZIg+3W0lioqACSSofBg5kR9KAD+GekwEd618wSpp0XdwCnI0jWMfQj1oti51WBn+jK X-Microsoft-Antispam-PRVS: X-Exchange-Antispam-Report-Test: UriScan:(185117386973197); X-MS-Exchange-SenderADCheck: 1 X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(8211001083)(6040522)(2401047)(8121501046)(5005006)(93006095)(10201501046)(3002001)(3231254)(944501410)(52105095)(149027)(150027)(6041310)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123560045)(20161123562045)(20161123558120)(20161123564045)(6072148)(201708071742011)(7699016); SRVR:BN3PR07MB2516; BCL:0; PCL:0; RULEID:; SRVR:BN3PR07MB2516; X-Forefront-PRVS: 0699FCD394 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(39380400002)(39850400004)(366004)(396003)(376002)(346002)(13464003)(189003)(199004)(57704003)(66066001)(186003)(6666003)(1076002)(33656002)(23726003)(16586007)(58126008)(16526019)(6916009)(26005)(3846002)(6116002)(52116002)(76176011)(6496006)(386003)(8936002)(59450400001)(316002)(33896004)(8676002)(33716001)(81156014)(81166006)(446003)(50466002)(72206003)(68736007)(305945005)(5660300001)(7736002)(229853002)(2906002)(486006)(956004)(11346002)(476003)(44832011)(47776003)(478600001)(106356001)(42882007)(8656006)(105586002)(25786009)(4326008)(6246003)(97736004)(55016002)(53936002)(9686003)(18370500001); DIR:OUT; SFP:1101; SCL:1; SRVR:BN3PR07MB2516; H:jerin; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; Received-SPF: None (protection.outlook.com: cavium.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN3PR07MB2516; 23:JoCD21wfn4NDxqufMnA3jKU6RGjMRYdd4mKm+2x0G?= =?us-ascii?Q?9hmZA5xQMv3XfVmBQKZFkF+Wi9CRI0aK6dwHpjki64MRmRhHMgaA4lSrAS7K?= =?us-ascii?Q?voflC5GV9YBH/xBW4qoIgasdeFgJAOVAFBaM/y6GG4V6rYB2SlgcdOb+kmnk?= =?us-ascii?Q?5i9KzlX36H8ldrim8fgzkJN65MOPCsfEydlLDYhNbMn/HJ/nFOadmO4cju/v?= =?us-ascii?Q?usYPCy8TcsIC9L4PC2Dl2q0Kdmm4g+AjfG54FIbKiihhzN/M1M4qJnqdk1oL?= =?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2yAqOy5OdxEkNIX9eu4Y2iHb2HNvkBuvcal8xPvFD+O0UJFLCJxAv5S/126+yqFsk6KN183snIiAhmUlGTdozh9zAGSL4K90NLzaj4kJia+ws1Q6jdBCfDjAP03uNq3a6Z8A=; 24:ln4uclVtHl0gefgx+ToDZbDcKz0eMzUpXzvm/tj1IbfGxeuIz7kX+oJHlVaRHPJpa1s8J1D24ERCxH/7o/7Npd02vLmyO3fZDDf2cal1b/k= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; BN3PR07MB2516; 7:WFO3ITS5GfFv6JXCJUDUwKGhEpU8ozDU91SXMGVlDwRY9wlovCCooOB/lngk/p1a3jKcQRzBtcMkJIAFLMMfLTesVbdxP6NRhAHeNTLlcx+jJwxIEpT42QIQBJ8Y+/uqAsVBNp9oSx4C3Mu0X51uXTYGCXQr1HW6gn+EdatYVxcBtaWWHvIaCtelPAcua8Jk+hK9/xyti7VSpQIHFEXxkPUhwyVlFjN2M1R2eij0FVM+dxAVJY5LrQhhNRLcCWlB X-MS-Office365-Filtering-Correlation-Id: b5d56809-34c9-4f3a-3a75-08d5cec251cb X-OriginatorOrg: caviumnetworks.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Jun 2018 11:07:11.7999 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b5d56809-34c9-4f3a-3a75-08d5cec251cb X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 711e4ccf-2e9b-4bcf-a551-4094005b6194 X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN3PR07MB2516 Subject: Re: [dpdk-dev] [PATCH] mk: change TLS model for ARMv8 and DPAA machine 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: , X-List-Received-Date: Sun, 10 Jun 2018 11:07:16 -0000 -----Original Message----- > Date: Tue, 5 Jun 2018 12:03:45 +0530 > From: Hemant Agrawal > To: dev@dpdk.org > CC: Sachin Saxena > Subject: [dpdk-dev] [PATCH] mk: change TLS model for ARMv8 and DPAA machine > X-Mailer: git-send-email 2.7.4 > > From: Sachin Saxena > > Random corruptions observed on ARM platfoms with using > the dpdk library in shared mode with VPP software (plugin). > > sing traditional TLS scheme resolved the issue. > > Tested with VPP with DPDK as a plugin. > > Signed-off-by: Sachin Saxena > --- > mk/machine/armv8a/rte.vars.mk | 3 +++ > mk/machine/dpaa/rte.vars.mk | 3 +++ > mk/machine/dpaa2/rte.vars.mk | 3 +++ > 3 files changed, 9 insertions(+) > > diff --git a/mk/machine/armv8a/rte.vars.mk b/mk/machine/armv8a/rte.vars.mk > index 8252efb..6897cd6 100644 > --- a/mk/machine/armv8a/rte.vars.mk > +++ b/mk/machine/armv8a/rte.vars.mk > @@ -29,3 +29,6 @@ > # CPU_ASFLAGS = > > MACHINE_CFLAGS += -march=armv8-a+crc+crypto > + > +# To avoid TLS corruption issue. > +MACHINE_CFLAGS += -mtls-dialect=trad This issue is not reproducible on Cavium ARMv8 platforms. Just wondering, Do we need to change default ARMv8 config? The GNU (descriptor) dialect for TLS is the default has been since for a while on aarch64. I think, it will be mostly a glibc issue with your SDK based toolchain. Are you able to reproduce this issue with Linaro toolchain + standard OS distribution environments? if so, could you please share more details. I am only concerned about, any performance issue with traditional tls dialect model vs descriptor dialect. I think, we have two options, 1) If you can identify if it is due a specific glibc version then we could detect at runtime 2) In a worst case, it can be a conditional compilation option. /Jerin