From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 0C2CD2A66 for ; Sun, 22 Apr 2018 17:11:31 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 2FDC7212A5; Sun, 22 Apr 2018 11:11:30 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 22 Apr 2018 11:11:30 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=TnXNeGCqA2jvahHhV RA53VYSzW6tPTFJ6vAUKXQSOa0=; b=n4O/PXMj8XiEjK8IH74JNC+ft6qzcdZRP u2ySTQp4Uvn8vek63+9sE8ioW31818181Qdbt92YSuAdQq/gVQdUpvzaqV6I07LV I0sdz8unKcdKXS1iggmQTCzo3I0s3NzdB9dlWyhJh27OJ1nXnd7qAVIAXlEeXnll +jbeA6AGR1VI0QGtnuIHdb53Tr81j/b1sSwY1GsSftZLtk+AEk8zMyqPrOqxnZbQ s0rWFqLPOZQ81zf9z+iwZTfXjsVB4XMW5sEj4hgQ3zF8FwKIEu28Ju36HRFDlcyc wQy7NBs4Bb0jOlZC7f8h0erjHnOFcK6C1ia9/cmb08P7nyAYScfRA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm2; bh=TnXNeGCqA2jvahHhVRA53VYSzW6tPTFJ6vAUKXQSOa0=; b=fSNtf52W RgekJrNYh3BcFDrODO/jq4vWmqdyeMDUwLDm4EVFJrr1KebiIMKvbYx9yzoMPE6c wM9i/ikMSelhzIIq7IuTMhNZsMZwkZCRhGE1R/ojGZp5Sj7uy/CCoIKWzJjXfPwH gmhey3x/fYfeY1EEDWWyPV+bo1FoZNPJ1s3BSfdmFkaB/dPwYXxqU4Wx0t/UC2Mh En2qCJUe7gP33tyv/4XiR86vhzaGxklLsAGgsYYOsWx3Pj1RWz/3Rmsaej5amnIx fgNTuslj5I3RLshiDAoGB9rzWHmvG0VF7FwN0T1rQ0tgP22EugYm2Wr3O0okjy/+ xZt536CBGuobgg== X-ME-Sender: Received: from yuanhanliu-NB0.tencent.com (unknown [223.74.148.66]) by mail.messagingengine.com (Postfix) with ESMTPA id 3029B10263; Sun, 22 Apr 2018 11:11:27 -0400 (EDT) From: Yuanhan Liu To: Roman Zhukov Cc: Andrew Rybchenko , dpdk stable Date: Sun, 22 Apr 2018 23:09:22 +0800 Message-Id: <20180422150949.17523-32-yliu@fridaylinux.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180422150949.17523-1-yliu@fridaylinux.org> References: <20180422150949.17523-1-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/sfc: fix type of opaque pointer in perf profile handler' has been queued to LTS release 17.11.2 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: , X-List-Received-Date: Sun, 22 Apr 2018 15:11:31 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 04/29/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 4a74fd447a99736624d9236ed91cbf505b4a70c5 Mon Sep 17 00:00:00 2001 From: Roman Zhukov Date: Sat, 24 Mar 2018 06:42:23 +0000 Subject: [PATCH] net/sfc: fix type of opaque pointer in perf profile handler [ upstream commit 5076ad03912e49fc4fa991bcff3f5188ccbfeb9d ] The 'opaque' pointer in handler function is the last argument of sfc_kvargs_process() function and it is pointer to the adapter 'evq_flags' that has a uint32_t type. So 'value' must be pointer to uint32_t. Fixes: c22d3c508e0c ("net/sfc: support parameter to choose performance profile") Signed-off-by: Roman Zhukov Signed-off-by: Andrew Rybchenko --- drivers/net/sfc/sfc_ev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/sfc/sfc_ev.c b/drivers/net/sfc/sfc_ev.c index 5fbebbf1b..ba22f7ef2 100644 --- a/drivers/net/sfc/sfc_ev.c +++ b/drivers/net/sfc/sfc_ev.c @@ -859,7 +859,7 @@ static int sfc_kvarg_perf_profile_handler(__rte_unused const char *key, const char *value_str, void *opaque) { - uint64_t *value = opaque; + uint32_t *value = opaque; if (strcasecmp(value_str, SFC_KVARG_PERF_PROFILE_THROUGHPUT) == 0) *value = EFX_EVQ_FLAGS_TYPE_THROUGHPUT; -- 2.11.0