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 C38A741BA0; Wed, 1 Feb 2023 16:33:59 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A42C242BD9; Wed, 1 Feb 2023 16:33:59 +0100 (CET) Received: from mail-ej1-f47.google.com (mail-ej1-f47.google.com [209.85.218.47]) by mails.dpdk.org (Postfix) with ESMTP id C20BA4021D for ; Wed, 1 Feb 2023 16:33:58 +0100 (CET) Received: by mail-ej1-f47.google.com with SMTP id hx15so32997993ejc.11 for ; Wed, 01 Feb 2023 07:33:58 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:from:to:cc:subject:date :message-id:reply-to; bh=c5z4F7UcLIrNwS5zoCdvKZCn7fev3LQbzONsn9oDSFw=; b=CQvqcuGK2/jNth+qmQT1Llsh014ORXDk4djo3Qy1Bu5r+WOl/ZT/kfPm2tCKsP5K/U vRhStTTHGd6H6AVEl+vYfazkLk8e0H9ks+WpsXnvMIVqTof4Q/ZyFRGsO87o+9weaZkU N8FbH8HqcXTRt90DolLQAMIIaez1U7exjGL5hBq/credBXr7TEJEnkg4XhgGzxrJImrq qAMU9dAL9h1oKE0k7r+5qcqY41LCyACuqrXiISsa8TWCZ9fFqGifMrpbzMlpq63LGiMB 3dDgBUmnj5Bd5I294PKCQucbWSsn/mzZycmbKGYmxTe6W6LJpUZhaMF1hE8s66PalpN5 wFiw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:subject:cc:to:from:date:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=c5z4F7UcLIrNwS5zoCdvKZCn7fev3LQbzONsn9oDSFw=; b=yMRIj+HPFk3NGfNIQBzGi1U4TfrYL42JYUj1/wMXOadB+LiPDkKaTHKe0wLCdxv8Xi xQktASNdDzNmkVKMEzO3IDPj+ii1Etcd/Wv0N1QcOx1cJ/VcQ36LZeBMjIwojbsZj6cm FD/1xxaZX/tRw02mEFr8R8mbf5exJSwiIuZfAq7Iu7Xk/hTAnhyLjFjCX7aK8fBkgkC8 OdURxUySo6shq3J/zA9hLDtK8PuGXvlznmoBt6TZ4xpAT+HRuJmWmAT503XALLV1BEkD rYkxlbFLqbCQPRLumyDhf9iCQ4xzRufPRs9TFG1nAZc7X4Efb2SAFSU3RcqzvS8O4dHh cmDA== X-Gm-Message-State: AO0yUKWlGtC4grjHbdyZAi3IE1wvR7yCi1eOAV8d2B8j/mFihwIfQipl qNU0/Omxbc4yqSxV0rnbltU/2WyM668Isg== X-Google-Smtp-Source: AK7set8Uh9CQYIxSWSKKZKtvz4p4N6EHglakMByJQ9TVrubn+K1Znuq9iMb1d0UJOnM/Rq02aav1Iw== X-Received: by 2002:a17:907:6e20:b0:888:cf69:8080 with SMTP id sd32-20020a1709076e2000b00888cf698080mr7833870ejc.76.1675265638448; Wed, 01 Feb 2023 07:33:58 -0800 (PST) Received: from sovereign (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id z20-20020a1709060ad400b0085d6bfc6201sm10167923ejf.86.2023.02.01.07.33.57 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 01 Feb 2023 07:33:58 -0800 (PST) Date: Wed, 1 Feb 2023 18:33:56 +0300 From: Dmitry Kozlyuk To: Arseniy Aharonov Cc: "dev@dpdk.org" Subject: Re: Multi-versioning for backward compatibility Message-ID: <20230201183356.291e29d4@sovereign> In-Reply-To: References: X-Mailer: Claws Mail 3.18.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 2023-02-01 14:54 (UTC+0000), Arseniy Aharonov: > This method can't work in Windows with MSVC (at least to the best of my knowledge). In Windows generally, not limited to MSVC. > How does DPDK solve if in Windows for MSVC? I failed to find the answer. It just doesn't. Fortunately, symbol versioning is not the approach used in DPDK by default. For example, there are currently no versioned symbols AFAICT. The preferred approach is: 1) to keep new functions experimental (there are precise rules for how long) 2) to consider possible future extensions when defining new APIs