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 9BD61A04DB for ; Tue, 17 Nov 2020 12:16:28 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 96817C8B0; Tue, 17 Nov 2020 12:16:27 +0100 (CET) Received: from mail-wr1-f50.google.com (mail-wr1-f50.google.com [209.85.221.50]) by dpdk.org (Postfix) with ESMTP id E8FFA5937 for ; Tue, 17 Nov 2020 12:16:25 +0100 (CET) Received: by mail-wr1-f50.google.com with SMTP id d12so22727327wrr.13 for ; Tue, 17 Nov 2020 03:16:25 -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=JkzlVBkwKG+C5zloRpGqf3GJaD1vQvAHV8vu8o0COKY=; b=BFhB1rLsEmMnmCPIv2sdOcbGIl3tpK4SinnIkuM8hLl755wuWRkVqPui9lo5lFhj9/ D+orKp73PYONCNoc6fl1FbI/GnXTyPceF6vdfkZLPwq7MMDF2cpDLUi7DOi8ugtzjNTy 8oYTLw/JErbAp1uATq3HV97R0e4m5jNq7oVxIck1z2lFfVkNuJ+fg3sbmGeyCucZO5pw z4Mw4GOthknYtkJZs6838iqp7qitj6xDVNQ53q8sUgcZ/J7/rg6A+Z7cWNCag/Ri5fMZ /TIEcWnpFvjg4zkRHtV7obzzt9BmbzLHS2Yk1mju9mlwWZ0vUYobuQXfEnl0ZBi812ym 1D6A== 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=JkzlVBkwKG+C5zloRpGqf3GJaD1vQvAHV8vu8o0COKY=; b=h6ypee+MfEbtIGsaN4Q/IxoBHj9ZRzwIX7RbtkkgM91r//w4Rz0KYz8Sg9L0LBo3j2 VvPrVqTX3FreBqKtmYsMg8cJiegNgN1wAR7lxmtuxY0WGm8d8oU2VaQG6X3omZZKw09N 6Hvv9alZn6O4KY8+KRUBSY/zJdGRuIy0gHGVQYMM4fttyChX5wMictYE4W4mxBt2Q8oi Js1/rOxjJtOWxNyt1xIX5gv5VB5dwotHemZYl4lprPHJk4L96cj6qjcFBsKyCBO8uYEg 3EkhO3dkTkJvE2BlQoPmH1PfgeIryfhah5XJtPM10doXMrqVs/DlF2AXB5cb3Hli6f4z UHGg== X-Gm-Message-State: AOAM532AhNIKhUjJBJGCNn4HiQ1NC/JJVjqH/3GBv35gpvQ3K6TQjkJ6 RkAijpv1r2xwvaqJELIfp+BssmVh307eaxl6 X-Google-Smtp-Source: ABdhPJy9WNG7Sk5mKa8XM8cVXdajBtWVHyB3E+rKK4VHpMWhLoHKA+CzwAe61Ul3CifcRGnsvmlmng== X-Received: by 2002:adf:eacb:: with SMTP id o11mr24628807wrn.208.1605611784720; Tue, 17 Nov 2020 03:16:24 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id m3sm23205685wrv.6.2020.11.17.03.16.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 17 Nov 2020 03:16:24 -0800 (PST) From: luca.boccassi@gmail.com To: David Marchand Cc: dpdk stable Date: Tue, 17 Nov 2020 11:14:14 +0000 Message-Id: <20201117111416.1961049-40-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.27.0 In-Reply-To: <20201117111416.1961049-1-luca.boccassi@gmail.com> References: <20201109185030.3478760-2-luca.boccassi@gmail.com> <20201117111416.1961049-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'examples/performance-thread: fix build with pkg-config' has been queued to stable release 19.11.6 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.6 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 11/19/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. 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/03dd4aa40129b095a267068f3dbff77d24a06cb9 Thanks. Luca Boccassi --- >From 03dd4aa40129b095a267068f3dbff77d24a06cb9 Mon Sep 17 00:00:00 2001 From: David Marchand Date: Sat, 14 Nov 2020 10:05:30 +0100 Subject: [PATCH] examples/performance-thread: fix build with pkg-config MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [ upstream commit e0216ac509558b2b95d34f5b4df604e0e4d0bf1e ] main.c: In function ‘lthread_tx’: main.c:2091:25: error: implicit declaration of function ‘sched_getcpu’; did you mean ‘sched_getparam’? [-Werror=implicit-function-declaration] 2091 | tx_conf->conf.cpu_id = sched_getcpu(); | ^~~~~~~~~~~~ | sched_getparam cc1: all warnings being treated as errors Explicitly pass _GNU_SOURCE and include missing header (rather than rely on automagic inclusion from other system headers). Fixes: d48415e1fee3 ("examples/performance-thread: add l3fwd-thread app") Signed-off-by: David Marchand --- examples/performance-thread/l3fwd-thread/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/examples/performance-thread/l3fwd-thread/main.c b/examples/performance-thread/l3fwd-thread/main.c index c527bb0c79..96fbdcdde2 100644 --- a/examples/performance-thread/l3fwd-thread/main.c +++ b/examples/performance-thread/l3fwd-thread/main.c @@ -2,6 +2,10 @@ * Copyright(c) 2010-2016 Intel Corporation */ +#ifndef _GNU_SOURCE +#define _GNU_SOURCE +#endif + #include #include #include @@ -12,6 +16,7 @@ #include #include #include +#include #include #include -- 2.27.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-11-17 11:13:14.650133262 +0000 +++ 0040-examples-performance-thread-fix-build-with-pkg-confi.patch 2020-11-17 11:13:12.957117334 +0000 @@ -1 +1 @@ -From e0216ac509558b2b95d34f5b4df604e0e4d0bf1e Mon Sep 17 00:00:00 2001 +From 03dd4aa40129b095a267068f3dbff77d24a06cb9 Mon Sep 17 00:00:00 2001 @@ -8,0 +9,2 @@ +[ upstream commit e0216ac509558b2b95d34f5b4df604e0e4d0bf1e ] + @@ -21 +22,0 @@ -Cc: stable@dpdk.org @@ -29 +30 @@ -index 7bf61db6be..4d82fb82ef 100644 +index c527bb0c79..96fbdcdde2 100644