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 DD7AFA0093 for ; Wed, 9 Mar 2022 12:01:45 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D808440150; Wed, 9 Mar 2022 12:01:45 +0100 (CET) Received: from smtp-relay-internal-0.canonical.com (smtp-relay-internal-0.canonical.com [185.125.188.122]) by mails.dpdk.org (Postfix) with ESMTP id 35AB4410F4 for ; Wed, 9 Mar 2022 12:01:44 +0100 (CET) Received: from mail-wr1-f71.google.com (mail-wr1-f71.google.com [209.85.221.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-internal-0.canonical.com (Postfix) with ESMTPS id 04E813F1C5 for ; Wed, 9 Mar 2022 11:01:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1646823703; bh=5t5cGK3aW5gpl/qHPtKYEjEtbX4WxZLHIZCSi2/cQ0w=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=U/Dmx8Pzus56cLMlRNyLeRcllNc3zths7GDD2lGNX/CkvepfX1iEG0IXWjSFyeS1T C63rMFnih4hpuJbbBRZ0WNiwdeybl2P+RAXSLuE66mHbbxpAb1dS3RRzqRkZgim4Ek hh/M2WPRKuaMLwX3XUqf/pVv9ZlYZ+oz7GeJzHO0/XdZHzoBcIF8X3kvjQept5gUE2 2vNWnrzGlWEjJ1vAwKvvFdyvvvnr59VJNZePhEMu581qRSeTJAeKxED/UkhuEqml7X WN7tUcoYUHm+AYnsegjEfBOorJSX5X/yuAMJXMO4ADMiKY2ttXbOdM2GN54sg2ZYUs CPN6ajXO2CauA== Received: by mail-wr1-f71.google.com with SMTP id h11-20020a5d430b000000b001f01a35a86fso635210wrq.4 for ; Wed, 09 Mar 2022 03:01:43 -0800 (PST) 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=5t5cGK3aW5gpl/qHPtKYEjEtbX4WxZLHIZCSi2/cQ0w=; b=ZetVuE+CXD0Vf6hBHLBicPrUH/ZzAZG0DrfhcU6qKoslj+xsIFlhzZpwKWzwkRE8y5 96zUThPhTtZUUsTPhUqV9XxO4jSg2fTsVYf8G6sxLTOw0Avhtte3zOiNU3/hNJ52Wgs6 bBXP90ltLLehj1joHbDGAbWI6EnEVc020KoBVuHNs7Wu9Ypmqzc9EYGu1H1PYGE44q8+ 6WMRR0Ow/sN512o0b5/kZr5lUFcHkawsYjYMx6RxmywtadLLutzC/PlchG9g9AIGlJKY kHVN/af0KPPtbGOwYNVP5FTC2+/x1MIFUkV3m+hs9rM/lQ2AHXzgLaJorBcLoCzQdLUH Qm1Q== X-Gm-Message-State: AOAM530Cvvxlq1EZhaTf3GkJHmrKl+jTPtkTViOoNbGPAyKWCSgqGkjp angORPIfVyKbIxODP/YsfvxU6giW/rMLLMcg6bGGX4au9M4sWsk/Mr5XxFF0SmPKBgZE/nW0PDi J9vwfJKmVVqlWL+rwkndTJqoX X-Received: by 2002:a1c:6a1a:0:b0:387:5ee7:750e with SMTP id f26-20020a1c6a1a000000b003875ee7750emr2905460wmc.85.1646823702203; Wed, 09 Mar 2022 03:01:42 -0800 (PST) X-Google-Smtp-Source: ABdhPJwvSx+mlNalBoX1+eWiVGgWpX0X9Di4RS966fDvo4ErZB4Klqkij68kUAGPHzxcMCBsuVyonw== X-Received: by 2002:a1c:6a1a:0:b0:387:5ee7:750e with SMTP id f26-20020a1c6a1a000000b003875ee7750emr2905448wmc.85.1646823701972; Wed, 09 Mar 2022 03:01:41 -0800 (PST) Received: from localhost.localdomain (068-133-067-156.ip-addr.inexio.net. [156.67.133.68]) by smtp.gmail.com with ESMTPSA id h36-20020a05600c49a400b00382aa0b1619sm1412438wmp.45.2022.03.09.03.01.41 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 09 Mar 2022 03:01:41 -0800 (PST) From: christian.ehrhardt@canonical.com To: Brian Dooley Cc: Bruce Richardson , Tyler Retzlaff , dpdk stable Subject: patch 'compressdev: add missing C++ guards' has been queued to stable release 19.11.12 Date: Wed, 9 Mar 2022 12:00:35 +0100 Message-Id: <20220309110116.1295395-4-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.35.1 In-Reply-To: <20220309110116.1295395-1-christian.ehrhardt@canonical.com> References: <20220309110116.1295395-1-christian.ehrhardt@canonical.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 19.11.12 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/11/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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/49abae50096b7057169e1beaaa2b70ee7c269e71 Thanks. Christian Ehrhardt --- >From 49abae50096b7057169e1beaaa2b70ee7c269e71 Mon Sep 17 00:00:00 2001 From: Brian Dooley Date: Wed, 16 Feb 2022 15:14:51 +0000 Subject: [PATCH] compressdev: add missing C++ guards [ upstream commit ef64c2f311f66bf8fe563bf7777e5dba72fc57e6 ] Some public header files were missing 'extern "C"' C++ guards, and couldn't be used by C++ applications. Add the missing guards. Fixes: ed7dd94f7f66 ("compressdev: add basic device management") Signed-off-by: Brian Dooley Acked-by: Bruce Richardson Acked-by: Tyler Retzlaff --- lib/librte_compressdev/rte_compressdev_internal.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/librte_compressdev/rte_compressdev_internal.h b/lib/librte_compressdev/rte_compressdev_internal.h index 22ceac66e2..888c8f5c5c 100644 --- a/lib/librte_compressdev/rte_compressdev_internal.h +++ b/lib/librte_compressdev/rte_compressdev_internal.h @@ -5,6 +5,10 @@ #ifndef _RTE_COMPRESSDEV_INTERNAL_H_ #define _RTE_COMPRESSDEV_INTERNAL_H_ +#ifdef __cplusplus +extern "C" { +#endif + /* rte_compressdev_internal.h * This file holds Compressdev private data structures. */ @@ -111,4 +115,9 @@ struct rte_compressdev_data { void *dev_private; /**< PMD-specific private data */ } __rte_cache_aligned; + +#ifdef __cplusplus +} +#endif + #endif -- 2.35.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-03-09 11:57:43.616081046 +0100 +++ 0004-compressdev-add-missing-C-guards.patch 2022-03-09 11:57:43.312937879 +0100 @@ -1 +1 @@ -From ef64c2f311f66bf8fe563bf7777e5dba72fc57e6 Mon Sep 17 00:00:00 2001 +From 49abae50096b7057169e1beaaa2b70ee7c269e71 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit ef64c2f311f66bf8fe563bf7777e5dba72fc57e6 ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -16 +17 @@ - lib/compressdev/rte_compressdev_internal.h | 9 +++++++++ + lib/librte_compressdev/rte_compressdev_internal.h | 9 +++++++++ @@ -19 +20 @@ -diff --git a/lib/compressdev/rte_compressdev_internal.h b/lib/compressdev/rte_compressdev_internal.h +diff --git a/lib/librte_compressdev/rte_compressdev_internal.h b/lib/librte_compressdev/rte_compressdev_internal.h @@ -21,2 +22,2 @@ ---- a/lib/compressdev/rte_compressdev_internal.h -+++ b/lib/compressdev/rte_compressdev_internal.h +--- a/lib/librte_compressdev/rte_compressdev_internal.h ++++ b/lib/librte_compressdev/rte_compressdev_internal.h