From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id D6385A0C41 for ; Thu, 18 Nov 2021 08:24:40 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6D13441144; Thu, 18 Nov 2021 08:24:40 +0100 (CET) Received: from mx0b-003cac01.pphosted.com (mx0b-003cac01.pphosted.com [205.220.173.93]) by mails.dpdk.org (Postfix) with ESMTP id 6DF7640141 for ; Tue, 16 Nov 2021 18:38:48 +0100 (CET) Received: from pps.filterd (m0187217.ppops.net [127.0.0.1]) by mx0b-003cac01.pphosted.com (8.16.1.2/8.16.1.2) with SMTP id 1AGHROCw002495 for ; Tue, 16 Nov 2021 09:38:47 -0800 Received: from nam10-mw2-obe.outbound.protection.outlook.com (mail-mw2nam10lp2103.outbound.protection.outlook.com [104.47.55.103]) by mx0b-003cac01.pphosted.com with ESMTP id 3cbjj72y26-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 16 Nov 2021 09:38:47 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=GlRPf0vrGB8AlDFOMsdi6KU4snXhnm+Kyg080+6o40h+Oau8VgrYK+UuCgWig2eaAObu2ydb+TuiRuW0jMSE2RN76kylRA0YfgJAc8/mpc8joV8j6ZAsZv1+TBFPJBhj+ErpBxUNDNi/G4RZyakzZURUF0gw2hC+uiygC6buWWuXidOI51FnKNwB6UWdZMADExSf6rSkCLV+FkNQj+hW48RtTaUGLK1rlP+Y1eRRWZW0YODigBwlmjtyL9GpUBVfSHoMuJ7MoiIX0cnRZKiNVqwfO6hdd2PQvDwJlTHisRaSCe7KPDQYthO/prTIsAJbgylxQncTcBVuvXQ5AsxvIQ== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=l4MGA88jddLRtauNm4N5g6s2t8M1vjOgdAZ47cchhag=; b=W+e0pDbLi1i/Dj2iKx1Z5Ft/QuvKxd6BLACWIrvF3TkF2QrXqMA6GYfP6o2m7eB2ApRJHfylsrStpgUuFzMHMYdJ0p4gW5870PYjCJorSNf7g8aSt+qchoCPahyjoLiQv1vmW7gUvoyZDTMvO2PTrZC1R14VCbOkVpDpaksDXkDQtdmCVwyb78rt6bvJAiC1XqIJH0RpwdqsmaHG1MJktCkKcSllIbbhnDNIrYdTi0PzEqUAXhaM7zK1wUIUjYZ4vdyQyxvXxIrAFJyeBGdRo8CQAH96xo5lwoAfhgi4C6VQcRWo2SlhjDzeyefqGH/lu4Fbai7y7nIE1veMvr7Uhw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=keysight.com; dmarc=pass action=none header.from=keysight.com; dkim=pass header.d=keysight.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=keysight.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=l4MGA88jddLRtauNm4N5g6s2t8M1vjOgdAZ47cchhag=; b=t4+Xw6Exj0/kov8SXgYWKdUlIe2g/yVa6JEtVEo+yb/65wqVzqmXc3ZL7EfCwqSYngxTsQQj9cG614KSAYF77bM1U1R37jTVteSkYlKwEbIayw9WInPLt6o4iSj188dZkh5K15FbYHU0gzoj9BuZgnnZEJzJgTartlU9Sg7jGmo= Received: from DM6PR17MB3546.namprd17.prod.outlook.com (2603:10b6:5:14e::28) by DM6PR17MB2297.namprd17.prod.outlook.com (2603:10b6:5:b9::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4690.27; Tue, 16 Nov 2021 17:38:44 +0000 Received: from DM6PR17MB3546.namprd17.prod.outlook.com ([fe80::38b5:8501:a142:49c2]) by DM6PR17MB3546.namprd17.prod.outlook.com ([fe80::38b5:8501:a142:49c2%6]) with mapi id 15.20.4690.027; Tue, 16 Nov 2021 17:38:44 +0000 From: Antonio Di Bacco To: "users@dpdk.org" Subject: Accessing TLS for EAL threads Thread-Topic: Accessing TLS for EAL threads Thread-Index: AdfbEKVjgWzpYlB9Qv6xSlVoPIbbxw== Date: Tue, 16 Nov 2021 17:38:43 +0000 Message-ID: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 0f6961ae-e052-4856-ebe0-08d9a927efb8 x-ms-traffictypediagnostic: DM6PR17MB2297: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:7219; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: i9yehW0AnLxFg/aYndh3CJhlXedwnHUSVukNFRj0MWZK27leyhYijB3g3muPL0ojH3fbjj6yy4UHrztWcAQSY3JrTgVImpt/ilU5x6FBzQs9UKxDMpG7olf3jDn17xXbhWILaQmFadPG2dpulGDBZ6WsW2W+KTJ89B7VWzla1IUNmtDGFQq5XviawOUqmZcajA8OR/S4FE7vA7skZj3i1GDOUSnmuQoQ+TTpdBkY2dwhlCaNv+VFJx9FJaNd2JVk0JINfAbofdOwLJ9N48YFkTH8oyL7xsKFdEj3B0h6S8ueC48n5cpZaRlecpyMIS5jZC/SJyvOUzKKkXSBjCknQ23IgorvTsgX/1Ugpsffbh5btVIxAwm9fRGdRexSgNU8e66EKAmVyP8Nqn1aoUhIVptpo3byu5quld+XdI+UlFHKLwXFBf3mGdUX5qyaV6Jx09yLs6SwdLELJnOUqKy5b1iOqfOM1Pzmi14DzrhmwAGSaS+IyQRxuyCyKDyakh/NhPQ3OqA7R4KaNC8REinTTEoH+l/VKeRU5qF+eCtuVZyzPIT0gb+kqF24bHsb4WZqmdTUa8cKLHl3UQAfng5IMBNKszEPkaZeRIFmFfD3oHD55FOAAmiEMG8hlUpHyZ0tIjhiYyr/84oJyz+i66ZB82hxWDSQqPG4F+5pglZ+uh9J5MCllIgp8fnJCLwuEy8v7HslrhX6aKneVCOyoqtjfA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:DM6PR17MB3546.namprd17.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(6916009)(2906002)(86362001)(122000001)(38070700005)(55016002)(6506007)(83380400001)(38100700002)(7696005)(4744005)(26005)(316002)(71200400001)(66946007)(66476007)(66556008)(64756008)(66446008)(76116006)(186003)(8936002)(5660300002)(8676002)(9686003)(33656002)(52536014)(508600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?oMNpYvmQunyTZSYouzqemokxAn6no6V42MPK2tnMEq04DiMrXOEjJJdK7r7H?= =?us-ascii?Q?3/StrGgULoRpH2yFJVGxBB7n22ODwJBRPPZyYOMwODwG+9bwxeCWI1ZV45le?= =?us-ascii?Q?xu+SkXc1YxhZN62E9fIX8O1AAQxTzJl8JAIpxf+NXOLRzXlXLkcb4VRHTEqS?= =?us-ascii?Q?ONRBTLUL/wDDdx8PG+lf3mVjVzq1ta4wQkCIWjC7/8FWg8VWcmMuu3MuYRmH?= =?us-ascii?Q?Gt30fSBJZ7IKp9g7Kz1CeTIWpfx+sK5Osbpw9JTd+IQUY/gXKxlPAQczRnT1?= =?us-ascii?Q?PReMKK/KaPmIqqFMGa/dRHbrWZBpWQMkPI8xV5NXkQGixiF1iBXQunZ3rRiD?= =?us-ascii?Q?4CggKlYvMWzkNKG7NmOGoOKWQIhDauCW6pE4ILQhgYeREcuPZB7PYkIkd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1bq2EwaUVEYplYQU3dEw1K0IW?= =?us-ascii?Q?mdupqpWjtgnVsf7kMGwc++xx1xOhj5Tg3FNeZkBGufBNJUWfm3aVvMDJ1Wzm?= =?us-ascii?Q?Q6qFnPlJCcehyD89BLQITd81D7tFQnMPyunOY5pM7cjEOjdxMFzehg5QbT47?= =?us-ascii?Q?b1uhFeQDTV4s9qOX/UUvfhgW/DtuoYjWCe8JT8iQFvX8N2LWEpVUlkHDpVwS?= =?us-ascii?Q?oh2AU4GXHxmdRFtG81YROdxech207kA+Y7wqo5iLsXa/Gj5qGNSXB0iQWFTR?= =?us-ascii?Q?K+FY1ei9tnTSWjgjDCy6TkTvce3CAEPME0E8SNs/Ami5vBV8oEv0YuKAKAiA?= =?us-ascii?Q?+N8aBIQilFsF6ScAhJyif8LBgxc1o89VnOyupK7VQiL+ZSzg1qc20WRwYtr2?= =?us-ascii?Q?kr2Fmg=3D=3D?= Content-Type: multipart/alternative; boundary="_000_DM6PR17MB3546109A8DE0870AF76DBE43BD999DM6PR17MB3546namp_" MIME-Version: 1.0 X-OriginatorOrg: keysight.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: DM6PR17MB3546.namprd17.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 0f6961ae-e052-4856-ebe0-08d9a927efb8 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Nov 2021 17:38:43.8978 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 63545f27-3232-4d74-a44d-cdd457063402 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: GOLfzEhLtK/vEy8fCfRtM45dS0rvZ/9HyoWEf5JYvPh6sLUU7hqjiqmy0/Zaao1CcsRWUQIYXeOWRdLY9oDSASGMvCO3C57tRF5UxVZ7Eeg= X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM6PR17MB2297 X-Proofpoint-GUID: AR7diSDzeDik3ate-lrqN7db_5Gek97G X-Proofpoint-ORIG-GUID: AR7diSDzeDik3ate-lrqN7db_5Gek97G X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.790,Hydra:6.0.425,FMLib:17.0.607.475 definitions=2021-11-16_04,2021-11-16_01,2020-04-07_01 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 malwarescore=0 mlxscore=0 clxscore=1011 priorityscore=1501 impostorscore=0 spamscore=0 suspectscore=0 mlxlogscore=484 lowpriorityscore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2110150000 definitions=main-2111160086 X-Mailman-Approved-At: Thu, 18 Nov 2021 08:24:38 +0100 X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: users-bounces@dpdk.org --_000_DM6PR17MB3546109A8DE0870AF76DBE43BD999DM6PR17MB3546namp_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable I need to emulate the pthread_setspecific and pthread_getspecific for EAL t= hreads. I don't find any suitable APIs in the DPDK to access the TLS and ge= t and set keys. I launched a number of threads using the rte_eal_remote launch but I don't = find any API that allows me to access the TLS for those threads. --_000_DM6PR17MB3546109A8DE0870AF76DBE43BD999DM6PR17MB3546namp_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

I need to emulate the pthread_setspecific and pthrea= d_getspecific for EAL threads. I don’t find any suitable APIs in the = DPDK to access the TLS and get and set keys.

 

I launched a number of threads using the rte_eal_rem= ote launch but I don’t find any API that allows me to access the TLS = for those threads.

 

 

 

 

--_000_DM6PR17MB3546109A8DE0870AF76DBE43BD999DM6PR17MB3546namp_--