From patchwork Wed Jul 4 09:54:45 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Hemant Agrawal X-Patchwork-Id: 141058 Delivered-To: patch@linaro.org Received: by 2002:a2e:9754:0:0:0:0:0 with SMTP id f20-v6csp604075ljj; Wed, 4 Jul 2018 02:56:25 -0700 (PDT) X-Google-Smtp-Source: AAOMgpeJifMKzINSbLOcBUyV4gnlte2R0FHF+FlGgBgy1kAb6UkTbh1GOqQqxkA0GKVi1XHVhLjI X-Received: by 2002:a1c:ae8b:: with SMTP id x133-v6mr1211665wme.125.1530698185294; Wed, 04 Jul 2018 02:56:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530698185; cv=none; d=google.com; s=arc-20160816; b=kONBuFEeSEGvApFL/zk7ZCI102IWmaA8WifbFA/dOS5rTX7Diqois2O6VhcG9Lyqhj PXLdHzdnnxaT2x1mB9Lu0XzEZq7VU3mnrQQ+gl3naDSrqV1LfJ2xyxlW2FApIXBgzP3F 6bdPN2ZAVlhMPCFeE9QeTGI9ygXw+T0J2tEJOmyLhfDaWYxTWrmy0tUjik8L22YofUXi po2ePrw7VCFPzlEyEoODlCAr82lbB8c2gM9pqUVwzT6kKlEpE1x7WKq5VC1fp1TADUT4 RbQi/Tx1gw10hn3WWHvbgChWNKFJ346qrYdQ5IB32p4H/VdZ2cq3NyaWH7YNKB+EmsxU zoxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:subject:spamdiagnosticmetadata :spamdiagnosticoutput:mime-version:references:in-reply-to:message-id :date:cc:to:from:dkim-signature:arc-authentication-results; bh=VJw/9Gt2S4KXyv+l0xJ5iJXrC0O9RKftA8gIamphBTk=; b=dJTkFYTtAqQfUF1UFPOxop6hUOFMptyCZp382uGv7J4PkJFMY9sPZt8QI7VmCf7LY0 ye2oQkb2EX38deAw74AkC9Ce+oqqDb+6TnhW9DkmUOU9gREeg+7D1GGAGYTCpbS0Wjq0 pvQM04D6qcVddGGnBetdJwIRf3Lzy/2tYRx486aD3hBmdcMRdDIKLmKEnctLB0J3YALO SiEt1cOpJFAiwHrdAJvSnQYUD2xnD7f4Web5LVov0yM3sYEj/1I2Vynl+l9+GIcO7f13 XekWDHeEFO1sm7tCL56Xz25wGieAyKAm2wEOeQIyFAco9X+977fBFWa1OJNLOLnT4Rks dpaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=T+iqaGJi; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Return-Path: Received: from dpdk.org (dpdk.org. [92.243.14.124]) by mx.google.com with ESMTP id z4-v6si2710512wrm.425.2018.07.04.02.56.25; Wed, 04 Jul 2018 02:56:25 -0700 (PDT) Received-SPF: pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) client-ip=92.243.14.124; Authentication-Results: mx.google.com; dkim=fail header.i=@nxp.com header.s=selector1 header.b=T+iqaGJi; spf=pass (google.com: domain of dev-bounces@dpdk.org designates 92.243.14.124 as permitted sender) smtp.mailfrom=dev-bounces@dpdk.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=nxp.com Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id E8EB71BE09; Wed, 4 Jul 2018 11:56:24 +0200 (CEST) Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0055.outbound.protection.outlook.com [104.47.0.55]) by dpdk.org (Postfix) with ESMTP id D34BD1BDE6 for ; Wed, 4 Jul 2018 11:56:23 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=VJw/9Gt2S4KXyv+l0xJ5iJXrC0O9RKftA8gIamphBTk=; b=T+iqaGJiy+0qWF1MuZP/68b3AhtXQmAGPJH84YjTXGXp7Ood3Kn6t7njDgPT9Sr4CaemDkzE3+YSHVB7OnIAi/vcB6hmhPUI+jPjoUs6UU+G7VvtGT6PsN08Sj12bLwIiS+jfZ5H+7MNgkuLJifWTLjVnv0/asyJiqQjHeTc/FA= Authentication-Results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; Received: from bf-netperf1.ap.freescale.net (14.142.187.166) by AM2PR04MB0753.eurprd04.prod.outlook.com (2a01:111:e400:8411::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.906.24; Wed, 4 Jul 2018 09:56:21 +0000 From: Hemant Agrawal To: dev@dpdk.org Cc: jerin.jacob@caviumnetworks.com, Sachin Saxena Date: Wed, 4 Jul 2018 15:24:45 +0530 Message-Id: <1530698085-1933-1-git-send-email-hemant.agrawal@nxp.com> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1528180425-27937-1-git-send-email-hemant.agrawal@nxp.com> References: <1528180425-27937-1-git-send-email-hemant.agrawal@nxp.com> MIME-Version: 1.0 X-Originating-IP: [14.142.187.166] X-ClientProxiedBy: BM1PR01CA0093.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:1::33) To AM2PR04MB0753.eurprd04.prod.outlook.com (2a01:111:e400:8411::13) X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: ebc495cd-f7ee-4cc3-cdd5-08d5e19465c5 X-MS-Office365-Filtering-HT: Tenant X-Microsoft-Antispam: UriScan:; BCL:0; PCL:0; RULEID:(7020095)(4652040)(8989117)(5600053)(711020)(48565401081)(4534165)(7168020)(4627221)(201703031133081)(201702281549075)(8990107)(2017052603328)(7153060)(7193020); SRVR:AM2PR04MB0753; X-Microsoft-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m2PzjqvJkAfFa+CQV2Fx4v2MvQPSwTQPLyTBpMD+D9NsQthCnADgjZVVFmJmpxbbr9TM6cIWpJ6qkeuAvZJxh+L4+Ca/tZUJ6fZN+M2VvFx2ZBWyomBPvZ3AnFU/qAynhx8LN+c3MA15Ab3vT6yg0jN2Ngye/dEMmzIyCh7SzqTV2mIreobwn0I8Gdm7HSJTHTdGrxSBdVoye93LHlfrRnb3H9t3891hK39EJSrESqq9H3RFHxUVynG0TBsdT85fa3+oufa6YivvHh2B9vv8ab03DJQSFhiCrbDVpXg8aU9wpbkCGH7YOcv5tOzIFmynYw6hmchavXp3sno+8qYEvHZVjUIks6NndjhSf9AehOwgAHAlz4lNSXRv2c2di5OA8S3OgzAFqiK; 4:sEIryNylOIEkj+4uVoYUdg23R1lP1dNkp4xY0iGILcZLEqUzVw+6O0nmRsfHNH089oLovdCGTUL5RWv3rANWRWoHR4J9bMRq0EVdX2a9MuCXEWRa6wNctgPFojjo1XQgnAjgHzxF+/a/xbEjv0u00FgA7Z9/RjqFb7EWwqBxd4+08dXOQd4JrzZUz070tzTDuPv2bf2qf+3hTpD4vcjckWurm5vsIMlTwYE/JRZuRpBs9xoN6Xg7NHErQtHGvQY8CYkq9vxQ4LghhcTBv+yf9/fRiZpIzCcY5tDKxEF4in0VAQXOypBRnOpN0NpAQ1ii 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)(5005006)(8121501046)(3231254)(944501410)(52105095)(93006095)(93001095)(3002001)(10201501046)(6055026)(149027)(150027)(6041310)(20161123562045)(20161123564045)(201703131423095)(201702281528075)(20161123555045)(201703061421075)(201703061406153)(20161123558120)(20161123560045)(6072148)(201708071742011)(7699016); SRVR:AM2PR04MB0753; BCL:0; PCL:0; RULEID:; SRVR:AM2PR04MB0753; X-Forefront-PRVS: 0723A02764 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(366004)(136003)(376002)(39860400002)(346002)(396003)(199004)(189003)(16586007)(5009440100003)(186003)(50466002)(16526019)(6916009)(26005)(305945005)(316002)(6506007)(44832011)(3846002)(6116002)(52116002)(55236004)(446003)(11346002)(48376002)(956004)(36756003)(2616005)(2351001)(386003)(97736004)(486006)(86362001)(8676002)(8936002)(81166006)(476003)(478600001)(6666003)(81156014)(51416003)(105586002)(25786009)(68736007)(5660300001)(106356001)(47776003)(7736002)(4326008)(2361001)(66066001)(76176011)(50226002)(2906002)(6486002)(53936002)(6512007)(110426005); DIR:OUT; SFP:1101; SCL:1; SRVR:AM2PR04MB0753; H:bf-netperf1.ap.freescale.net; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; Received-SPF: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; AM2PR04MB0753; 23:udQrIxrbNKXjEMeQhDxvkyeREu5TeMEifEJht2Jpm?= Z5rautGOqNU5zYkdznUvUqvlalm+c0auurVwiDZQYenJ+MXNkdIydYxaKPo0ciR3U56w1s+dNf5ExJypNOrQsRhD1YYLcJxPdZxl/LeLn3c+ZbVBC9ckuCshY0/bzTXp3dn4Qp1PnRVUXsUvqAeF8ACUMIEh7vGBQTAqiXmVgc3c6osVWyRmyYwvYtb9UKS6VdG91r5VuI+a3Nr6pKuIPdFMH0cKRyVvOkZu2764C9EyKTtziCA+0UdUPi4saM0HL8q/3mF6tO6Q2ncFsr4Sh5w8dKe1J0eCYlqMIiT8XxhS/MXFBPCup5u3O1cx1OXIVjuS/0OZVTGMQMBGqmB8n223yPOzbBAMH/S1pEfMhlg/evCjX6BfcDhUMV8g2FKJ884M5CysEPjqb6nlCJuSfVLvoZCXriEC1Sxg0uCIVZzUsXaVw13Pn8IcLKLu1UOX2J1DqguSUofTxX3rabFIVB2F+bwNZZQXutt4l5dGx00ewL+AP6QXV6H6vOIGO2som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RCAX27Z4tjMEN05HTGLn5CNdDiV0UWMtJXOkfQ+Ukd8qKtMjEJ5EMnlfwrIqbs8Iwnn7n3zZxpbEwGxGI2OJvvj9+ZTaNIHqiYKv1XZxLU11l5X69KPFi0wKuRNICD2NJHjj2Tnyw X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 04 Jul 2018 09:56:21.4208 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: ebc495cd-f7ee-4cc3-cdd5-08d5e19465c5 X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM2PR04MB0753 Subject: [dpdk-dev] [PATCH v2] mk: change TLS model for 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: , Errors-To: dev-bounces@dpdk.org Sender: "dev" From: Sachin Saxena Random corruptions observed on platfoms with using the dpdk library in shared mode with VPP software (plugin). using traditional TLS scheme resolved the issue. Tested with VPP with DPDK as a plugin. Signed-off-by: Sachin Saxena --- v2: remove the armv8 machine changes mk/machine/dpaa/rte.vars.mk | 3 +++ mk/machine/dpaa2/rte.vars.mk | 3 +++ 2 files changed, 6 insertions(+) -- 2.7.4 diff --git a/mk/machine/dpaa/rte.vars.mk b/mk/machine/dpaa/rte.vars.mk index bddcb80..75df626 100644 --- a/mk/machine/dpaa/rte.vars.mk +++ b/mk/machine/dpaa/rte.vars.mk @@ -32,3 +32,6 @@ MACHINE_CFLAGS += -march=armv8-a+crc ifdef CONFIG_RTE_ARCH_ARM_TUNE MACHINE_CFLAGS += -mtune=$(CONFIG_RTE_ARCH_ARM_TUNE:"%"=%) endif + +# To avoid TLS corruption issue. +MACHINE_CFLAGS += -mtls-dialect=trad diff --git a/mk/machine/dpaa2/rte.vars.mk b/mk/machine/dpaa2/rte.vars.mk index 2fd2eac..aaa03c4 100644 --- a/mk/machine/dpaa2/rte.vars.mk +++ b/mk/machine/dpaa2/rte.vars.mk @@ -32,3 +32,6 @@ MACHINE_CFLAGS += -march=armv8-a+crc ifdef CONFIG_RTE_ARCH_ARM_TUNE MACHINE_CFLAGS += -mtune=$(CONFIG_RTE_ARCH_ARM_TUNE:"%"=%) endif + +# To avoid TLS corruption issue. +MACHINE_CFLAGS += -mtls-dialect=trad