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 9A534A0093 for ; Tue, 19 May 2020 15:08:26 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 927911D68E; Tue, 19 May 2020 15:08:26 +0200 (CEST) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by dpdk.org (Postfix) with ESMTP id 1F0271D603 for ; Tue, 19 May 2020 15:08:25 +0200 (CEST) Received: by mail-wr1-f67.google.com with SMTP id e16so15827929wra.7 for ; Tue, 19 May 2020 06:08:25 -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=6XAdfTS290/nrPsXRBmGx89S2IDudZbZH51DJDemsH0=; b=klrgz/974sXmTxGRSdkptI6TU7u6c04xU9E7FYlt2nzeU1AHJvCc0lv21K/uXSGTNj 6XfYr6C7VnAoVJ4LaTWu3ni4P7UZqlgNDhK5sJlpbWJKTPRWTqPBqBPoUJzopxu0FfSp q+GJufuZ33lLnTSJ/sJzxAaSJVDhzfZm5tlPp+HILujerFNA0jdmnLwINaG687uWU46Z B+HrV9hd5kH6O1+D1N+RgmUsNuxQLI6PrglbZGrhMFnp5aOZAhbs4yIH7mPWGTCK8QmZ x8F1QFaV7gWgeKlZKT0xz3DAHIpyEM7zYcT01xngGXE/3N4FanVpj2+shS1LnAqrpAE6 iViQ== 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=6XAdfTS290/nrPsXRBmGx89S2IDudZbZH51DJDemsH0=; b=M6sVINz2LnNp1tB1aKnpUHlMh5v7guYoGHGUtQlvb8FPfX34+BXr/DXNdWLCpg7E9a OaRnvLw6RE8/bGaAfqounFo5ja4kA1MKXMC5mYHy5TO2EdFCc8dEvmHo8xR7FqFiYSrV XZeDlbc1HVWpXeHcAap0O1jf5c+xG/kAUQte5bB0nvK7rZiqtWnc/k1WZrzn5INL5a3a OEqZ3DgEyVlRyX72MzNaIq/Oy7yu+ojVFAEFdN+7QO13l2WSeSUCsJHmIYfDRnraGchd HtDbF5c7VY7xZFxJpdyMoXj369nTtMsRhTM4HS45x7z+TK6QnOJupAduyT09XXy8N2UX olnA== X-Gm-Message-State: AOAM530qbl9gEKhi+7W6+q13wFUn3R1T+IiG550BmCyVzWtTTdn9nmLd YrTato+UZ0kjGMxkxHzhIoo= X-Google-Smtp-Source: ABdhPJzTcOkUTugFFgk/LezKYXiDmFXOZ0LFJa9o5Cy/cDyb8auIP3I0jAWwGwwsBvMPraqn5ZLfPg== X-Received: by 2002:a5d:460d:: with SMTP id t13mr26906890wrq.280.1589893704858; Tue, 19 May 2020 06:08:24 -0700 (PDT) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id n9sm20813058wrv.43.2020.05.19.06.08.24 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 19 May 2020 06:08:24 -0700 (PDT) From: luca.boccassi@gmail.com To: Eugeny Parshutin Cc: Ferruh Yigit , dpdk stable Date: Tue, 19 May 2020 14:03:05 +0100 Message-Id: <20200519130549.112823-50-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200519130549.112823-1-luca.boccassi@gmail.com> References: <20200519125804.104349-1-luca.boccassi@gmail.com> <20200519130549.112823-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'ethdev: fix build when vtune profiling is on' has been queued to stable release 19.11.3 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.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/21/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 267e255ef47bf53f7fb84ed5d563c9cf0561d5b3 Mon Sep 17 00:00:00 2001 From: Eugeny Parshutin Date: Mon, 6 Apr 2020 21:27:05 +0300 Subject: [PATCH] ethdev: fix build when vtune profiling is on [ upstream commit 5dd45467b4ba915e8009dc2cf10bf75d8dab39ea ] Add the previous prototype for the 'profile_hook_rx_burst_cb' function to fix the compiler warning when the DPDK is built with 'RTE_ETHDEV_PROFILE_WITH_VTUNE' config option enabled: /home/dpdk/lib/librte_ethdev/ethdev_profile.c:17:1: warning: no previous prototype for profile_hook_rx_burst_cb [-Wmissing-prototypes] Fixes: 2c1bbab7f09d ("ethdev: change vtune profiling approach") Signed-off-by: Eugeny Parshutin Reviewed-by: Ferruh Yigit --- lib/librte_ethdev/ethdev_profile.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/lib/librte_ethdev/ethdev_profile.h b/lib/librte_ethdev/ethdev_profile.h index 65031e6f3f..e5ee4df824 100644 --- a/lib/librte_ethdev/ethdev_profile.h +++ b/lib/librte_ethdev/ethdev_profile.h @@ -24,4 +24,13 @@ int __rte_eth_dev_profile_init(uint16_t port_id, struct rte_eth_dev *dev); +#ifdef RTE_ETHDEV_PROFILE_WITH_VTUNE + +uint16_t +profile_hook_rx_burst_cb(uint16_t port_id, uint16_t queue_id, + struct rte_mbuf *pkts[], uint16_t nb_pkts, + uint16_t max_pkts, void *user_param); + +#endif /* RTE_ETHDEV_PROFILE_WITH_VTUNE */ + #endif -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-05-19 14:04:46.561418931 +0100 +++ 0050-ethdev-fix-build-when-vtune-profiling-is-on.patch 2020-05-19 14:04:44.188647865 +0100 @@ -1,8 +1,10 @@ -From 5dd45467b4ba915e8009dc2cf10bf75d8dab39ea Mon Sep 17 00:00:00 2001 +From 267e255ef47bf53f7fb84ed5d563c9cf0561d5b3 Mon Sep 17 00:00:00 2001 From: Eugeny Parshutin Date: Mon, 6 Apr 2020 21:27:05 +0300 Subject: [PATCH] ethdev: fix build when vtune profiling is on +[ upstream commit 5dd45467b4ba915e8009dc2cf10bf75d8dab39ea ] + Add the previous prototype for the 'profile_hook_rx_burst_cb' function to fix the compiler warning when the DPDK is built with 'RTE_ETHDEV_PROFILE_WITH_VTUNE' config option enabled: @@ -10,7 +12,6 @@ no previous prototype for profile_hook_rx_burst_cb [-Wmissing-prototypes] Fixes: 2c1bbab7f09d ("ethdev: change vtune profiling approach") -Cc: stable@dpdk.org Signed-off-by: Eugeny Parshutin Reviewed-by: Ferruh Yigit