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 406B4A0350 for ; Mon, 28 Feb 2022 22:21:07 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 3A9DD40140; Mon, 28 Feb 2022 22:21:07 +0100 (CET) Received: from mail-wm1-f53.google.com (mail-wm1-f53.google.com [209.85.128.53]) by mails.dpdk.org (Postfix) with ESMTP id 8DCED40140 for ; Mon, 28 Feb 2022 22:21:06 +0100 (CET) Received: by mail-wm1-f53.google.com with SMTP id bg16-20020a05600c3c9000b00380f6f473b0so199776wmb.1 for ; Mon, 28 Feb 2022 13:21:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=9ugEo9aQA2194Ag3F64iyMv+54G97ljOsnU+/FRtXCI=; b=GvkL6Zq+mbLWLpPgM7w2Y5afgDIolJ5cvyIqZazS/ea87W7EbJZ2eBhseEisWVcnGw Ou3gBbmZn8YN6NCqjmtARFut6EJZFTN7hMXLj/Vxqbm+psNbUv3sUg1pWh5uuA6NNl+3 mgY57Yx6smRPZxS+/iVroEjaP+EbExe8RDRhWR1FFS9tAMD/Ehb36JpqZgEl1Zv8Cb20 AUsdGZi051Kwt+zPhUWDy/igAVxzpqdUoKrOsq5XF+B98lHR5FxBIQYxXpye2k6WUEJ+ AscDag317Pts77bSvnFNBuGZfzWr5WBA0B/vE4WShR1xPWfaAMIz3k3ijOR4SIram6r9 QGzg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=9ugEo9aQA2194Ag3F64iyMv+54G97ljOsnU+/FRtXCI=; b=XE67gZag1mt0oLLQw3woZeNRQM5PBNM5lAhFsTTOutRVTLgJKEXxoVrJRv8oO1fN9v QsgRfbyZc8npzXnreRr7oZpgGL1Dsk1UA8Sm06RF5q5qG+CmP4nNlyZly2L5eY8QjP3B 5yuLTnWAP2o/CpdCDBS5WwIkuHocj37fiI7tMqSOzXHoCLVuA+dPTpHqnec8owSafXMx KJYSEG9zLvfoAntIZ/jrlKg0hBuCH0N4df+IFhlEUlEAyJlIQqB/Af6zE/qH08XA9FlY W3IxD5yibF6pN2Rx81z4iPb8EcYL3Y2IykFE4Xfwok9bm4MY3wf4ldYcoOAtmGyCxOrU 3Ibg== X-Gm-Message-State: AOAM531NzLLoHSUy7OYLPzpjv6R6oxO+DWmDdggsYn6/YatYqxtxGeMX RSwks2cTzLkHbnh5zPsY194ij3n97Gatfg== X-Google-Smtp-Source: ABdhPJwAA6pUqDF5ZXIsS/TNCS99XLkZ707xxWJfBjhbFuFWr7jwL2JEgOMPFYQlV3Y39VOAweCtpA== X-Received: by 2002:a05:600c:1592:b0:381:21b4:d1d8 with SMTP id r18-20020a05600c159200b0038121b4d1d8mr15016769wmf.119.1646083266290; Mon, 28 Feb 2022 13:21:06 -0800 (PST) Received: from localhost ([2a01:4b00:f41a:3600:360b:9754:2e3a:c344]) by smtp.gmail.com with ESMTPSA id l12-20020a5d6d8c000000b001efd2c071dbsm4955896wrs.20.2022.02.28.13.21.05 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 28 Feb 2022 13:21:05 -0800 (PST) From: luca.boccassi@gmail.com To: Brian Dooley Cc: Bruce Richardson , Tyler Retzlaff , dpdk stable Subject: patch 'acl: add missing C++ guards' has been queued to stable release 20.11.5 Date: Mon, 28 Feb 2022 21:20:02 +0000 Message-Id: <20220228212047.3341966-6-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.30.2 In-Reply-To: <20220228212047.3341966-1-luca.boccassi@gmail.com> References: <20220218123931.1749595-122-luca.boccassi@gmail.com> <20220228212047.3341966-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi, FYI, your patch has been queued to stable release 20.11.5 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 03/02/22. 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. Queued patches are on a temporary branch at: https://github.com/bluca/dpdk-stable This queued commit can be viewed at: https://github.com/bluca/dpdk-stable/commit/4fd5a95b49cd7afea30ebcc12beb0d62d03a5920 Thanks. Luca Boccassi --- >From 4fd5a95b49cd7afea30ebcc12beb0d62d03a5920 Mon Sep 17 00:00:00 2001 From: Brian Dooley Date: Wed, 16 Feb 2022 15:14:50 +0000 Subject: [PATCH] acl: add missing C++ guards [ upstream commit bfec92e3821f57200f7e956f39745303f995531d ] Some public header files were missing 'extern "C"' C++ guards, and couldn't be used by C++ applications. Add the missing guards. Fixes: dc276b5780c2 ("acl: new library") Signed-off-by: Brian Dooley Acked-by: Bruce Richardson Acked-by: Tyler Retzlaff --- lib/librte_acl/rte_acl_osdep.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/lib/librte_acl/rte_acl_osdep.h b/lib/librte_acl/rte_acl_osdep.h index b2c262dee7..3c1dc402ca 100644 --- a/lib/librte_acl/rte_acl_osdep.h +++ b/lib/librte_acl/rte_acl_osdep.h @@ -5,6 +5,10 @@ #ifndef _RTE_ACL_OSDEP_H_ #define _RTE_ACL_OSDEP_H_ +#ifdef __cplusplus +extern "C" { +#endif + /** * @file * @@ -45,4 +49,8 @@ #include #include +#ifdef __cplusplus +} +#endif + #endif /* _RTE_ACL_OSDEP_H_ */ -- 2.30.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-02-28 21:17:54.488960494 +0000 +++ 0006-acl-add-missing-C-guards.patch 2022-02-28 21:17:53.800928355 +0000 @@ -1 +1 @@ -From bfec92e3821f57200f7e956f39745303f995531d Mon Sep 17 00:00:00 2001 +From 4fd5a95b49cd7afea30ebcc12beb0d62d03a5920 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit bfec92e3821f57200f7e956f39745303f995531d ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -16 +17 @@ - lib/acl/rte_acl_osdep.h | 8 ++++++++ + lib/librte_acl/rte_acl_osdep.h | 8 ++++++++ @@ -19 +20 @@ -diff --git a/lib/acl/rte_acl_osdep.h b/lib/acl/rte_acl_osdep.h +diff --git a/lib/librte_acl/rte_acl_osdep.h b/lib/librte_acl/rte_acl_osdep.h @@ -21,2 +22,2 @@ ---- a/lib/acl/rte_acl_osdep.h -+++ b/lib/acl/rte_acl_osdep.h +--- a/lib/librte_acl/rte_acl_osdep.h ++++ b/lib/librte_acl/rte_acl_osdep.h