From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 6DEC7A0518 for ; Fri, 24 Jul 2020 14:08:54 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 61C0D1C1C7; Fri, 24 Jul 2020 14:08:54 +0200 (CEST) Received: from mail-wm1-f66.google.com (mail-wm1-f66.google.com [209.85.128.66]) by dpdk.org (Postfix) with ESMTP id 0B1D41C1C8 for ; Fri, 24 Jul 2020 14:08:53 +0200 (CEST) Received: by mail-wm1-f66.google.com with SMTP id k20so403810wmi.5 for ; Fri, 24 Jul 2020 05:08:53 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=AU5lo6jQ4rsOUGGdLb5efe3pPeeMa9bMty4e0znWoLE=; b=IemMs20x5uxzNIb1momvWxW4JxOEbWpF0e7KBBgO+a1zXWK5bxsa7RfOuKYg3YHThi GyJw1gipl8WneOhCH+G6mlRu5u5hNcYoXTmM7NcHUiCy2fPVNKC2TjwmJWXlw1mlxjZR 5N6sUOXNU5qYyTOACCTzm+oBmFsWa8XbM881NqBzWUOhJsAXrFswBozZScP0HvJwNZDd KXpzOiUzYHRGj+7oiGtgdSxoAbbx3akUHf0jcszm/YuhRl1aNDkWJ9SDy1B/99b7E3TQ ydRnkvunvvzYrlugL5ObeUIXNg7es2aCJSOXe+Y8q5XquWX0SfrWMwlLdseRXmPtWpUy QYpQ== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=AU5lo6jQ4rsOUGGdLb5efe3pPeeMa9bMty4e0znWoLE=; b=erfYEf7KbX065pI9CLvIgSCwZhJ1T4kWLQzzn0cXnD2SVP3xwutQOsFiOU+XKekAVx 9zjBU+2PqNSIgQHfaIMzrYgQZGTjWZTkSBPgIG4SNFj96T3Bz8jbbMO7VIidUa4Z6voK 7Purb4UfG2iLqXu/7bzWca/gcJ8VzmINIYlQ/zMUIQTtKc3X5Zh2a30Iigr1f559EADP cOpC1Y5QpSd+iiLubPyGgRxlNBFKmLsrgVRZUYqKfRkcz0m7e1Cga8Hdp9Cta1rvfgT/ VksKqLJbUbsZtLiuS5Q7GG6pc8uNJ69nP+IzXhQY1H/IMPIm497Uhorm1fXBmM1hg8dr lQxA== X-Gm-Message-State: AOAM532Je7d2QGwFhfLnwdlBFa1o6iU2dxpDu9E+HukT17if7yiXbxSH 4NN77hm1Q5e23mRgPltMblY= X-Google-Smtp-Source: ABdhPJw9JDk2mMu9zdm5JSa5k4UNYsl45WdGsPYZryJqJokvd9d5qmZAhSIBgzzhoABou2xEId6SCg== X-Received: by 2002:a1c:98c1:: with SMTP id a184mr8654012wme.116.1595592532795; Fri, 24 Jul 2020 05:08:52 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id 78sm7288307wma.31.2020.07.24.05.08.51 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 24 Jul 2020 05:08:51 -0700 (PDT) From: luca.boccassi@gmail.com To: Levend Sayar Cc: Harry van Haaren , dpdk stable Date: Fri, 24 Jul 2020 12:59:22 +0100 Message-Id: <20200724120030.1863487-124-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200724120030.1863487-1-luca.boccassi@gmail.com> References: <20200724120030.1863487-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'service: fix C++ linkage' has been queued to stable release 19.11.4 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 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" Hi, FYI, your patch has been queued to stable release 19.11.4 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/26/20. So please shout if anyone has objections. Also note that after the patch there's a diff of the upstream commit vs the patch applied to the branch. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Thanks. Luca Boccassi --- >From 5a55e4f4297afdd781b129c6d90a34d0fc6a4c17 Mon Sep 17 00:00:00 2001 From: Levend Sayar Date: Thu, 9 Jul 2020 15:32:16 +0300 Subject: [PATCH] service: fix C++ linkage [ upstream commit 604d426de35b445476fa1b9aeae4933ae647be3f ] "extern C" define is added to rte_service_component.h file to be able to use in C++ context Fixes: 21698354c832 ("service: introduce service cores concept") Signed-off-by: Levend Sayar Acked-by: Harry van Haaren --- lib/librte_eal/common/include/rte_service_component.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/librte_eal/common/include/rte_service_component.h b/lib/librte_eal/common/include/rte_service_component.h index b75aba11b..9e66ee7e2 100644 --- a/lib/librte_eal/common/include/rte_service_component.h +++ b/lib/librte_eal/common/include/rte_service_component.h @@ -9,6 +9,11 @@ * Include this file if you are writing a component that requires CPU cycles to * operate, and you wish to run the component using service cores */ + +#ifdef __cplusplus +extern "C" { +#endif + #include #include @@ -130,4 +135,8 @@ int32_t rte_service_init(void); */ void rte_service_finalize(void); +#ifdef __cplusplus +} +#endif + #endif /* _SERVICE_PRIVATE_H_ */ -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-07-24 12:53:53.324368428 +0100 +++ 0124-service-fix-C-linkage.patch 2020-07-24 12:53:48.419008919 +0100 @@ -1,24 +1,25 @@ -From 604d426de35b445476fa1b9aeae4933ae647be3f Mon Sep 17 00:00:00 2001 +From 5a55e4f4297afdd781b129c6d90a34d0fc6a4c17 Mon Sep 17 00:00:00 2001 From: Levend Sayar Date: Thu, 9 Jul 2020 15:32:16 +0300 Subject: [PATCH] service: fix C++ linkage +[ upstream commit 604d426de35b445476fa1b9aeae4933ae647be3f ] + "extern C" define is added to rte_service_component.h file to be able to use in C++ context Fixes: 21698354c832 ("service: introduce service cores concept") -Cc: stable@dpdk.org Signed-off-by: Levend Sayar Acked-by: Harry van Haaren --- - lib/librte_eal/include/rte_service_component.h | 9 +++++++++ + lib/librte_eal/common/include/rte_service_component.h | 9 +++++++++ 1 file changed, 9 insertions(+) -diff --git a/lib/librte_eal/include/rte_service_component.h b/lib/librte_eal/include/rte_service_component.h +diff --git a/lib/librte_eal/common/include/rte_service_component.h b/lib/librte_eal/common/include/rte_service_component.h index b75aba11b..9e66ee7e2 100644 ---- a/lib/librte_eal/include/rte_service_component.h -+++ b/lib/librte_eal/include/rte_service_component.h +--- a/lib/librte_eal/common/include/rte_service_component.h ++++ b/lib/librte_eal/common/include/rte_service_component.h @@ -9,6 +9,11 @@ * Include this file if you are writing a component that requires CPU cycles to * operate, and you wish to run the component using service cores