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 78F51A0C42 for ; Sun, 13 Jun 2021 23:36:12 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3ED144003E; Sun, 13 Jun 2021 23:36:12 +0200 (CEST) Received: from mail-lj1-f169.google.com (mail-lj1-f169.google.com [209.85.208.169]) by mails.dpdk.org (Postfix) with ESMTP id 262814003E for ; Sun, 13 Jun 2021 23:36:11 +0200 (CEST) Received: by mail-lj1-f169.google.com with SMTP id z22so17311293ljh.8 for ; Sun, 13 Jun 2021 14:36:11 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WRFcjJV2r7YhlOMD1xPbaQu7mZMHqMo/xXj2FDsRXCA=; b=mFWeQbFE3d/RGGBgXb91F64ECnN88yWOCQMNdY3L7iyBPtbaHk1w3fpTQRDzHIgn08 96hJedvlJyGE0txFzgriMgSJwbuEDaz5Wi5nYb6GG4MiiMkprr4nIZKZJP3PvwfCmiw+ dK+OjuwRr6A3onBe+9ZmO/FO79zmkanNzSqq35h/wkiaHWEyH9YlZIagaFMqG/h4HlVT WOlVHFAjNcXRtFuAFrKngvzwWxwaDV8YK+FEURDYtabciGOLZ28xEYL0e3xieqpt73Q+ qs/vlIYYImulEUD0EB6V5aXWrE0tGc7WghoZKB3R3kHjicBlcBGlduO8tVikHkUroVfT 9lLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=WRFcjJV2r7YhlOMD1xPbaQu7mZMHqMo/xXj2FDsRXCA=; b=rFNcUZzLomFh+59n6walyfKvXlz0sG3cWm3vWGP23uYiYLJFxG7nu+546LpdnMVHbU pjluxPxphywwVFaNbnXYLhIF7al7eGI6eyBmPVEV+DR/AKyOIncNMTjgoeygYhUvn7DW uQxzvv/kEARMQJ5j/+TW6kwinKj8oS3rn9/kE58N0yTpkZD6V9hGaVxhzg4toxS8KYso qqMZb1a2tLeW8Jpb6Z1uB4sgmi4aK5JUY7QnfAL1xc8KHktjlYLEgEFeLcyhLGwINt80 gwOf5MCRtxrXzvO3IKjnkIb129pRsmFOVJikSYH5KYFwrFK022k9gBh7oxptpXuHcwQQ G3Xg== X-Gm-Message-State: AOAM530m3dagwcL/pNSfnqBL0PKzs0nn/8lSdDow2cJWSZ62HH2TrdEJ 3Og6CnjI93OpdOYlsHbpOTqY0uifDmc= X-Google-Smtp-Source: ABdhPJxt7dOFw03GdyoX8fNtanIozehEaqYbsDQXPjLl8/1ebHgJ+WOUtvya5XgqwWbIOkxCsd4g2w== X-Received: by 2002:a05:651c:179b:: with SMTP id bn27mr10952527ljb.424.1623620170353; Sun, 13 Jun 2021 14:36:10 -0700 (PDT) Received: from localhost.localdomain (broadband-37-110-65-23.ip.moscow.rt.ru. [37.110.65.23]) by smtp.gmail.com with ESMTPSA id r15sm1279492lfr.245.2021.06.13.14.36.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 13 Jun 2021 14:36:09 -0700 (PDT) From: Dmitry Kozlyuk To: stable@dpdk.org Cc: Tal Shnaiderman , Dmitry Kozlyuk , Yu Jiang Date: Mon, 14 Jun 2021 00:36:02 +0300 Message-Id: <20210613213602.23843-1-dmitry.kozliuk@gmail.com> X-Mailer: git-send-email 2.29.3 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] [PATCH 19.11] eal/windows: add cleanup function stub X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Upstream commit 10aa375704c1 ("examples: add eal cleanup to examples") requires librte_eal to export rte_eal_clearnup(). On Windows, it was exported by commit c91717eb75c8 ("eal/windows: support exit and panic"), which is based on refactoring that is not backported. Add a stub to fix the build. In 19.11 LTS this function has nothing to clean up. Bugzilla ID: 732 Reported-by: Yu Jiang Signed-off-by: Dmitry Kozlyuk --- lib/librte_eal/rte_eal_exports.def | 1 + lib/librte_eal/windows/eal/eal.c | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/lib/librte_eal/rte_eal_exports.def b/lib/librte_eal/rte_eal_exports.def index c1bdee1c40..61b4082a54 100644 --- a/lib/librte_eal/rte_eal_exports.def +++ b/lib/librte_eal/rte_eal_exports.def @@ -1,5 +1,6 @@ EXPORTS __rte_panic + rte_eal_cleanup rte_eal_init rte_eal_mp_remote_launch rte_eal_mp_wait_lcore diff --git a/lib/librte_eal/windows/eal/eal.c b/lib/librte_eal/windows/eal/eal.c index ce460481f8..7cfa8451a3 100644 --- a/lib/librte_eal/windows/eal/eal.c +++ b/lib/librte_eal/windows/eal/eal.c @@ -82,3 +82,9 @@ rte_eal_init(int argc __rte_unused, char **argv __rte_unused) rte_eal_mp_wait_lcore(); return 0; } + +int +rte_eal_cleanup(void) +{ + return 0; +} -- 2.29.3