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 B2C30A0524 for ; Fri, 5 Feb 2021 12:34:58 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AD976188920; Fri, 5 Feb 2021 12:34:58 +0100 (CET) Received: from mail-wm1-f45.google.com (mail-wm1-f45.google.com [209.85.128.45]) by mails.dpdk.org (Postfix) with ESMTP id 815FB188A22 for ; Fri, 5 Feb 2021 12:34:57 +0100 (CET) Received: by mail-wm1-f45.google.com with SMTP id t142so3584224wmt.1 for ; Fri, 05 Feb 2021 03:34:57 -0800 (PST) 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=OSTTfXlou8eUHvKuqCur8L+lerdhP3y+/Wm7yLncLFY=; b=cRY2F/BKXetENTaoOi5lKQRs9KIShRA4ADgScXrZsPjjCevAwuo5Nv1scJ0fs6vKQ0 Nb13QDfJuavMwqJo/SBCtImkNjT/BYP+vJvlVhEOD3jx40zjdXxISPjNV6Fj2jn9bPQZ KoHZhR/9HhM/90ZUYNQ7PkpFT0G8OAghF6LYy1Z4bAOnj9BBYI6y5UM8V6iwrjVq8OsL 3dXxylkcUrLsmSkBAypMxKIsDbw0DdNIHad/QXHoDN7cEALKxjxP665UKhAxON/iB66W ckAAJ9rlcViZ6QNU8fWP2h06php6pEsFASVB643XyS+M8nFzMpN5BUdsxna6YXqPCBLT Jd6g== 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=OSTTfXlou8eUHvKuqCur8L+lerdhP3y+/Wm7yLncLFY=; b=p4fAbJpYHXEBrhw2vjO5b8ncKtckJ0dxG6gvL+zqwVGg6rD4nEjhQlftfX3qv9YSpx jxXdKM64ctPCrfOshi1FYirE/43cuElN8sZOy5LmYMHDU0pulBhiV4Nerz24F9vG0msH 9vYjtV2grWpAHDAyC9f5MhJ60kK999J1NlI+B4Jih0OKAigFZ2PE6/mjt9sZQae3+iYo S46HHM4IzcwaItW0cVPm2knnv4itlahPEI8E5vRlwEcNlptELR85hqfTaooJzi1kc2NB LgxYk693yg0QjEDgoevriWlDbJ8EkTRpAVdZSW3marcrbv/AUPyCy1bdHI1ORGOdK/EU +Amg== X-Gm-Message-State: AOAM530j3xnSsBTi5JOUQ56YbJQ5FgrR/cgqgd1MzfhyUtAsWfDkREF9 5eEqks4lcPrLOjDxwM8ipvY= X-Google-Smtp-Source: ABdhPJyifPO2nC8oQ05CDZKyMWcVxkpNt9NoWKQE7Vt3AakLvZ/mkW3YaTkFyeSkNCPCdEkOixLa+A== X-Received: by 2002:a1c:ed1a:: with SMTP id l26mr3303902wmh.114.1612524897290; Fri, 05 Feb 2021 03:34:57 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id f14sm8794389wmj.30.2021.02.05.03.34.56 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 05 Feb 2021 03:34:56 -0800 (PST) From: luca.boccassi@gmail.com To: Bruce Richardson Cc: Maxime Coquelin , David Marchand , dpdk stable Date: Fri, 5 Feb 2021 11:17:51 +0000 Message-Id: <20210205111920.1272063-185-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.29.2 In-Reply-To: <20210205111920.1272063-1-luca.boccassi@gmail.com> References: <20210205111920.1272063-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'vhost: fix missing header includes' has been queued to stable release 20.11.1 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" Hi, FYI, your patch has been queued to stable release 20.11.1 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 02/07/21. 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/f00a750c1f06fc536b48445af783cd98d9fb1ca3 Thanks. Luca Boccassi --- >From f00a750c1f06fc536b48445af783cd98d9fb1ca3 Mon Sep 17 00:00:00 2001 From: Bruce Richardson Date: Fri, 15 Jan 2021 11:10:40 +0000 Subject: [PATCH] vhost: fix missing header includes [ upstream commit 820778fad6fad2c1570efe9b25c81d068bbdcd30 ] The vhost header files were missing definitions from headers to allow them to be compiled up individually. Fixes: d7280c9fffcb ("vhost: support selective datapath") Fixes: a49f758d1170 ("vhost: split vDPA header file") Fixes: 939066d96563 ("vhost/crypto: add public function implementation") Signed-off-by: Bruce Richardson Reviewed-by: Maxime Coquelin Reviewed-by: David Marchand --- lib/librte_vhost/rte_vdpa.h | 2 ++ lib/librte_vhost/rte_vdpa_dev.h | 1 + lib/librte_vhost/rte_vhost_crypto.h | 8 ++++++++ 3 files changed, 11 insertions(+) diff --git a/lib/librte_vhost/rte_vdpa.h b/lib/librte_vhost/rte_vdpa.h index f074ec0c4a..1437f400bf 100644 --- a/lib/librte_vhost/rte_vdpa.h +++ b/lib/librte_vhost/rte_vdpa.h @@ -11,6 +11,8 @@ * Device specific vhost lib */ +#include + /** Maximum name length for statistics counters */ #define RTE_VDPA_STATS_NAME_SIZE 64 diff --git a/lib/librte_vhost/rte_vdpa_dev.h b/lib/librte_vhost/rte_vdpa_dev.h index a60183f780..bfada387b0 100644 --- a/lib/librte_vhost/rte_vdpa_dev.h +++ b/lib/librte_vhost/rte_vdpa_dev.h @@ -8,6 +8,7 @@ #include #include "rte_vhost.h" +#include "rte_vdpa.h" #define RTE_VHOST_QUEUE_ALL UINT16_MAX diff --git a/lib/librte_vhost/rte_vhost_crypto.h b/lib/librte_vhost/rte_vhost_crypto.h index c809c46a21..8531757285 100644 --- a/lib/librte_vhost/rte_vhost_crypto.h +++ b/lib/librte_vhost/rte_vhost_crypto.h @@ -5,6 +5,14 @@ #ifndef _VHOST_CRYPTO_H_ #define _VHOST_CRYPTO_H_ +#include + +#include + +/* pre-declare structs to avoid including full headers */ +struct rte_mempool; +struct rte_crypto_op; + #define VHOST_CRYPTO_MBUF_POOL_SIZE (8192) #define VHOST_CRYPTO_MAX_BURST_SIZE (64) #define VHOST_CRYPTO_MAX_DATA_SIZE (4096) -- 2.29.2 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-02-05 11:18:37.487908101 +0000 +++ 0185-vhost-fix-missing-header-includes.patch 2021-02-05 11:18:29.142697509 +0000 @@ -1 +1 @@ -From 820778fad6fad2c1570efe9b25c81d068bbdcd30 Mon Sep 17 00:00:00 2001 +From f00a750c1f06fc536b48445af783cd98d9fb1ca3 Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 820778fad6fad2c1570efe9b25c81d068bbdcd30 ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org