From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 Content-Type: text/plain 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-Exchange-Diagnostics: 1; AM2PR04MB0753; 3:Ib7xyViTO3+eduBD8I1Tteg6qP/29z1o8Qqgl880cfUC6AyQl3ZJo75HdRlaSxSEzrKtqxBxDcpIAuH/Fl/hyyRnyhx/d6uwJDrZ+Axvjcr0fm9tVJxmZaDdS2HuZxo09MFgf3Mkq/PBzDRQ0sq/h5o8fghER4wqjZ63lfNap9X8RXxIfVRNuq7czg5WPnAPoIbjJDJKWxGT/dz+UZhq9qwcMxeukB5T9wiRdHuecRo+wVKgjRRfA2vMxvzNg5Mj; 25:rQCCHEynMr9p66opUnk+IFd0Y3Ief2KiKpoMNkdShBH9qb3pm3t0dK+9VeDDxBo6xJIXIuzEJD5z4hn09MRgiaDBfuc0i700jNu3WcJWkv8s9CA9P9o6N53Te5Qt4EUww8oXKmwEIBWCEvEtxw2V7C4twTRHyC4y2/b2Qza2bqkaoAUogo1xUT32QxrtA9MFjeGaNYf0gwJ0D3eSkI5zKddRWiOY5yA7DtCn2AigHQ7evaFlRd1oTuzBQl0dMU5Pc6a/NmqoDfEJBktgr8qRt5OoaJREwDzz7OZiEe1YbQEfW/znDOy0V7xLetTQboD1AWVsNmhz8T8a48/WdKPWtQ==; 31:yRUEljoUu3kRnlCQhha5tB5Aprj3lAYOKRHgCUzJ1dBMic8yZHEjFzq143c2qfmcqSBjjWmYYHnfzIniO+N6TFbDb4oOosprfSBq1STlO6MmFty5jBvRmzJdZzPa9mifB4a3Q0/KkrE6wyR50w6ulrAOLIZ7d+ot7LwVYLfLSfX1A7QZmzr7X+ZBnMauSGrYhvFD+/5Ojmn1Vf7YKJ9rx03nA2s4Cpjhd4NDjFcZYBw= X-MS-TrafficTypeDiagnostic: AM2PR04MB0753: X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0753; 20:5Gz6d1AR3hPUKg0jNnej6pWNCEuS1PW+Y11IwBxCMH4oF1M0Kt1uXZII7VV3TO039If5Z4GjnpcixZya5AKUDtDPfNWCkV5GXuANGq3ie6acp2jhbbBuLm2PzjqvJkAfFa+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?= =?us-ascii?Q?Z5rautGOqNU5zYkdznUvUqvlalm+c0auurVwiDZQYenJ+MXNkdIydYxaKPo0?= =?us-ascii?Q?ciR3U56w1s+dNf5ExJypNOrQsRhD1YYLcJxPdZxl/LeLn3c+ZbVBC9ckuCsh?= =?us-ascii?Q?Y0/bzTXp3dn4Qp1PnRVUXsUvqAeF8ACUMIEh7vGBQTAqiXmVgc3c6osVWyRm?= =?us-ascii?Q?yYwvYtb9UKS6VdG91r5VuI+a3Nr6pKuI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LfQ+k1smhzfjg7P/ARaCgQoMek6LGXv7eZcqwX9OpTZuUzX+HEi+ehrZ+1dcjry8Q==; 5:jTCuqPY6iQ34VP1+P+S3wSPbynpgxVwyCwEiQpu2144AYWgK4db8B77WJAm/RhznzJiqhYK+w0GJ0sh7bhXD5kHHZt/4pbc8vd3u3FQ67+XflfIGTGiCJ93RPVHX2JmKsrO0Yb37N1VNHtJgIlISOwfVLJdUEKrBH6rqO4x8V1c=; 24:4/jU/nxWdwGVxKWXsreBS8qcYl8+B+qLxBznPShi6IJZ6qRB+XenRHvwyQvjIX1Q4wcW/96q2Q062MavovU7dtkUH8/9Poc8KSI6EkA0Saw= SpamDiagnosticOutput: 1:99 SpamDiagnosticMetadata: NSPM X-Microsoft-Exchange-Diagnostics: 1; AM2PR04MB0753; 7:YMgz5tmKInzCf5qOpfjV/L9lnT88zkFMYDHAG3XkZa2bHUO9ziuHEjEEBWlsvtkBSIrP9kx8ElDuT7ooa2Zjr5QL1CdaaWwpb3xNUxrSs+urdb7zfyHpEUhRCAX27Z4tjMEN05HTGLn5CNdDiV0UWMtJXOkfQ+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: , X-List-Received-Date: Wed, 04 Jul 2018 09:56:24 -0000 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(+) 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 -- 2.7.4