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 9259BA051C for ; Tue, 11 Feb 2020 12:29:19 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 8B50BA3; Tue, 11 Feb 2020 12:29:19 +0100 (CET) Received: from mail-wr1-f67.google.com (mail-wr1-f67.google.com [209.85.221.67]) by dpdk.org (Postfix) with ESMTP id B5A42A3 for ; Tue, 11 Feb 2020 12:29:18 +0100 (CET) Received: by mail-wr1-f67.google.com with SMTP id y11so11899342wrt.6 for ; Tue, 11 Feb 2020 03:29:18 -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=Q2uCbsVsQqIfeRle96vraK/99TP45yTB9khd9uNahHY=; b=lpvRD/3SIlopma90vmb3GoCwiFbAP9fyFu35I3k019Z++p/QCFROidWBcEPrFLC/p+ j0QTghEPRAIr/5hmbt/hfmHO+swRheXB9OKu8fPAjmcbs6iMd7gYoxcjYjqp3z/5bGwR XDvzcbYFiBBrUaAUFEXHgrfTUdE/K53ffOYtaAY5qGQRvnUVItwQSohiiKVxdIOq60zw pYr8IEAI/sJUcThmbDDQD9rup6WcAI0xsCqzS33WJTgpdISnchJqX0c+8QQbij0QHRUh 8JWbBJqjhDRcCjI1iFWWQAgEMLgkwUKZ3lMMtddLnVhjMt/Yt9blURiMe0htqKEeCwJI zVKQ== 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=Q2uCbsVsQqIfeRle96vraK/99TP45yTB9khd9uNahHY=; b=nSuVXsnnTZnHlW6wLbdpyP3LcFegawbIjzyxFPHJx4ehSlIPZXYmsGuf1UW/CJNEn3 g50Kg74sY+9ABzWQVkYk/uWmqN4yU/EjJ/CwZ/PnMmWGahapsocKxhtK9+EX/mF2kZV0 vLhT5Jv+xlqFrUD0zMsrvCl448r+XFkmhK7s6mrbG0VlqFRKv59bjgDxgQ8doCUW4MHV MlKBzEHCNeonJu1laWbgY18bgt5HsXvSH3ITIMfI5p+Am+wsPm8bTXHfyvSKG11rRwAB suGcqXmUrNnPx8PgKNW+tDsE04N3RcdXKj9SV8mNmLxK1JJJpHOUUCzim0c/XU3mfwv3 wxNw== X-Gm-Message-State: APjAAAVq8V6crFuaByFmM2A0MjO9h5WOk3VHRtPc1BezIbk1fBz6HQ62 8q20SxZ2eIS08C4coHOi5Fw= X-Google-Smtp-Source: APXvYqxhf/0ry7lTKsjRpNgdzPEZWe+CFQQDYcUmh97d+gBfj3ik9OoJwgm87bVq4Ua3Uvk9KkE/bA== X-Received: by 2002:a5d:42c6:: with SMTP id t6mr8078234wrr.151.1581420558425; Tue, 11 Feb 2020 03:29:18 -0800 (PST) Received: from localhost ([88.98.246.218]) by smtp.gmail.com with ESMTPSA id q10sm3342747wme.16.2020.02.11.03.29.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 11 Feb 2020 03:29:17 -0800 (PST) From: luca.boccassi@gmail.com To: Viacheslav Ovsiienko Cc: Matan Azrad , dpdk stable Date: Tue, 11 Feb 2020 11:20:41 +0000 Message-Id: <20200211112216.3929-95-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20200211112216.3929-1-luca.boccassi@gmail.com> References: <20200211112216.3929-1-luca.boccassi@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'net/mlx5: fix doorbell register offset type' has been queued to stable release 19.11.1 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.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/13/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 c2a4f50aec8d9a4380089a4df6b55e707aaea7aa Mon Sep 17 00:00:00 2001 From: Viacheslav Ovsiienko Date: Mon, 13 Jan 2020 14:22:37 +0000 Subject: [PATCH] net/mlx5: fix doorbell register offset type [ upstream commit 7b836d84435e887727f16521ece721e6a75984a5 ] The doorbell register is mapped using mmap() and offset must have off_t instead of unsigned int. Bug is not critical due to only least significant bits of offset are currently tested to determine mapping mode. Fixes: 8409a28573d3 ("net/mlx5: control transmit doorbell register mapping") Signed-off-by: Viacheslav Ovsiienko Acked-by: Matan Azrad --- drivers/net/mlx5/mlx5_txq.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_txq.c b/drivers/net/mlx5/mlx5_txq.c index 1c4f7e7a5d..16856d796c 100644 --- a/drivers/net/mlx5/mlx5_txq.c +++ b/drivers/net/mlx5/mlx5_txq.c @@ -314,7 +314,7 @@ static void txq_uar_ncattr_init(struct mlx5_txq_ctrl *txq_ctrl, size_t page_size) { struct mlx5_priv *priv = txq_ctrl->priv; - unsigned int cmd; + off_t cmd; txq_ctrl->txq.db_heu = priv->config.dbnc == MLX5_TXDB_HEURISTIC; txq_ctrl->txq.db_nc = 0; -- 2.20.1 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-02-11 11:17:42.183058734 +0000 +++ 0095-net-mlx5-fix-doorbell-register-offset-type.patch 2020-02-11 11:17:38.536003890 +0000 @@ -1,15 +1,16 @@ -From 7b836d84435e887727f16521ece721e6a75984a5 Mon Sep 17 00:00:00 2001 +From c2a4f50aec8d9a4380089a4df6b55e707aaea7aa Mon Sep 17 00:00:00 2001 From: Viacheslav Ovsiienko Date: Mon, 13 Jan 2020 14:22:37 +0000 Subject: [PATCH] net/mlx5: fix doorbell register offset type +[ upstream commit 7b836d84435e887727f16521ece721e6a75984a5 ] + The doorbell register is mapped using mmap() and offset must have off_t instead of unsigned int. Bug is not critical due to only least significant bits of offset are currently tested to determine mapping mode. Fixes: 8409a28573d3 ("net/mlx5: control transmit doorbell register mapping") -Cc: stable@dpdk.org Signed-off-by: Viacheslav Ovsiienko Acked-by: Matan Azrad