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 789CEA0C46; Thu, 8 Jul 2021 22:39:23 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 38A894014E; Thu, 8 Jul 2021 22:39:23 +0200 (CEST) Received: from wout3-smtp.messagingengine.com (wout3-smtp.messagingengine.com [64.147.123.19]) by mails.dpdk.org (Postfix) with ESMTP id 327484003E for ; Thu, 8 Jul 2021 22:39:21 +0200 (CEST) Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.west.internal (Postfix) with ESMTP id 2A25532007BE; Thu, 8 Jul 2021 16:39:18 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Thu, 08 Jul 2021 16:39:18 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=fm1; bh= sdbnD8FHXkHNBsaJkS927+HNf2Xg7ZDp88BiD6Hh0qI=; b=0k6Q2Hnn+Hdg9MTw ny1FB5E7DRH9A5XeNat2Am3X3KXvOMEdLAHlzOcvWp9y/zezEKkoz2ujEEGD/9Zg ufM8qGAlP34BUI6GxZzl37RIhJrGmSRZTvFO9MJwBrPd0PeBBmTvfcV1DeBLE4XY +8e/gftGknNTAAvht73OqKQQA4aEmWvY5Cfp9q+JEH9cUrtAoZ1q8Lq4cCZqDmKO bhiN8wP6jnw1PxWmmg9JyxT5OZRUxdyuBQ5+QRi4WDcE1o7qog1H1GMehB+4JXRt duXvqjFxvgjIsSPwd12KGaJ/pJDeiepW78ulUBf/qspiw3sgNGUJGU6CGYDCRdOP JeavXw== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm3; bh=sdbnD8FHXkHNBsaJkS927+HNf2Xg7ZDp88BiD6Hh0 qI=; b=bHd13P0/i83fTIWGeBW914uD8GPrKAexVli/m5cY6tukIWLr4E8YgB2+7 QdQzD3pT4OuB7BLRov/whFl9qnAnuBjk1oGtYPp3RtN0EfxCMAlOr6wjsgWp7BbV iaMsz+lg72BSKOM3jBbnjyNKXSz/KflUryHCCYfDQGZSXHwz6rsQZ2cD6EC8g06c jqOMW05Qw4fFICCVlT0UbNNyASeoYIGBVcVkcY18Ad4Wuja2ciOYNrYOZGNKMdYe 1F48r5OVo/z6Ukorvokl6Um0iCgzkEx+mUE9FgfwIFlxYOIcyWUHBkChU6rq0yRQ vWAyWmzrDUKB9KI9Bc1RzpPLORHYQ== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddrtdeggddugeeiucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefhvffufffkjghfggfgtgesthfure dttddtvdenucfhrhhomhepvfhhohhmrghsucfoohhnjhgrlhhonhcuoehthhhomhgrshes mhhonhhjrghlohhnrdhnvghtqeenucggtffrrghtthgvrhhnpedugefgvdefudfftdefge elgffhueekgfffhfeujedtteeutdejueeiiedvffegheenucevlhhushhtvghrufhiiigv pedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehthhhomhgrshesmhhonhhjrghlohhnrd hnvght X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA; Thu, 8 Jul 2021 16:39:16 -0400 (EDT) From: Thomas Monjalon To: Tyler Retzlaff Cc: dev@dpdk.org, dmitry.kozliuk@gmail.com Date: Thu, 08 Jul 2021 22:39:13 +0200 Message-ID: <1925991.Mh3L70K1Gt@thomas> In-Reply-To: <20210708192109.GA13966@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> References: <20210708192109.GA13966@linuxonhyperv3.guj3yctzbm1etfxqx2vob5hsef.xx.internal.cloudapp.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] RFC enabling dll/dso for dpdk on windows X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 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" 08/07/2021 21:21, Tyler Retzlaff: > (2) importing exported data symbols from a dll/dso on windows requires > that the symbol be decorated with dllimport. optionally loading > performance of dll/dso is also further improved by decorating > exported function symbols. [3] > > for (2) we would propose the introduction and use of two macros to > allow decoration of exported data symbols. these macro would be or > similarly named __rte_import and __rte_export. of note That's the same symbol declared in a single place which is exported and imported. So I don't understand the need for 2 macros.