From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 19E201B19 for ; Mon, 30 Apr 2018 16:08:14 +0200 (CEST) Received: by mail-wm0-f66.google.com with SMTP id l1so14488939wmb.2 for ; Mon, 30 Apr 2018 07:08:14 -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; bh=tbITFZi9pUF/PITTH+EDBlOuG79JMNvVX05WVC9xb4Q=; b=flU/Pi2BmN958dUwOZlHDOlx9xxBn5Qd9FYe1/wTNohLicSCwtHkpN6VodplcFCX5s WQMNWpZH66ZYrOgJl5ZE8MjQ3Mtol4Ihexw6t4iZzjktZDr75uScVMyBxZeTyDqKzmlY tbx4SEt3o66xIQ/ehHH/eoWoMNOQycJFXa1utMgLlt8xgSn33rH3QVcC+11UqRirM6dV NBTYTsLwGjcvIwXkSWVf31DoHT5mYdplcgohGWGlJzsXvqUp8816oh0CpDVbJy+dQn8Z zawK7RDW+KRNvr69hbx3R2Y22U32+cXSprKHQYsMOz99RnXDOvvZ41eakvjKfEdi8i9d a4xw== 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; bh=tbITFZi9pUF/PITTH+EDBlOuG79JMNvVX05WVC9xb4Q=; b=brpmVY29TxYLcR6jfrPKwiT5N5O7iudyAhUBOuHiOLgtnkn6pYetUKEEwYv1Q5a0Of G1Y/90ae4kbYtuYUwosjEss+UX6NViQvRDzjV0+D/qQJ8JJH0BFtJ5QnHy1fNeAot6Po lxM5dU40s3a61yQ3ePr/SECV5SjmPQ3jWGPQn4aDw90g45REs9mV+9xwuHzI69LAGYo/ 9QFR/ocSAo7FSpXvvoYS/didYEnRoIqqoBJzNZvUYihN0Hy9MyBVqgXXF6oH4cxgZUF6 tyxcPQxZnROzyAsNaU9b6ZT9czP2Z7elIUEo8TPGfUyCFGak1R1hLv14+KjuC0KIm7wv UmWQ== X-Gm-Message-State: ALQs6tD6mO+ob2N/C7H+EjS3NegOPxjTT/r113kO2KjRZEgEgTQl95Pj mntP0S2IE2kkuJnXkUzqZhA= X-Google-Smtp-Source: AB8JxZrAc7CE28227D+ThdCQNwVmHK3KAS3gRy6Jc2UBkxGKxenMLP9tGm1KydLubpD/XQh+brs2EA== X-Received: by 10.28.43.4 with SMTP id r4mr7229806wmr.102.1525097293825; Mon, 30 Apr 2018 07:08:13 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id w11-v6sm15803041wrn.86.2018.04.30.07.08.12 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 30 Apr 2018 07:08:13 -0700 (PDT) From: luca.boccassi@gmail.com To: Roman Zhukov Cc: Andrew Rybchenko , dpdk stable Date: Mon, 30 Apr 2018 15:03:47 +0100 Message-Id: <20180430140606.4615-69-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.14.2 In-Reply-To: <20180430140606.4615-1-luca.boccassi@gmail.com> References: <20180430140606.4615-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'net/sfc: fix type of opaque pointer in perf profile handler' has been queued to stable release 18.02.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: Mon, 30 Apr 2018 14:08:14 -0000 Hi, FYI, your patch has been queued to stable release 18.02.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 05/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From 949996101debb796a54994d63de44879e74b7f15 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 7abe61ae5..b45490328 100644 --- a/drivers/net/sfc/sfc_ev.c +++ b/drivers/net/sfc/sfc_ev.c @@ -837,7 +837,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.14.2