From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id 85DE8235 for ; Tue, 21 Nov 2017 14:25:41 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 3A42D20A41; Tue, 21 Nov 2017 08:25:41 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 21 Nov 2017 08:25:41 -0500 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=fm1; bh=pz++7W/VjVDcMPEGm qobtQMv3l7VQj/R3CuArEX2guY=; b=kvfUHPZ75SckN2vB4D9zhgw6WAq4WVdaS 83Db4ot3mX44Xok0BEmty8Q29vnYEGh4wigEhdEIfGrxzcAoLr9WKJ7v+o5Au/Ql dazsLoxrZVlKRt0qrzaLLUe6/E2kWM/Y5rr+K/dXMRVlpf2jg0CaJmDcbBSMwRgY mf3iELZTdkEpODXei9K3WIlqd3Y7ZPXgQW05imT1N3lvOlO+P8RV8yah87datIgG vcDg1Zzn5fy5vumxzMt/yurIM2X0vbHmYbUVYvBIqs1hb+dB1Qy8KRVpTkjfunHv YGEkP+SpkmVOB6imM+HZcFxI2evS7+0C3tif9nEyUJ0tefxDMST1A== 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= fm1; bh=pz++7W/VjVDcMPEGmqobtQMv3l7VQj/R3CuArEX2guY=; b=orGevooo oeNVEm5iEp399HzqJ7EqSt408ugSvul0xRbzl6BNf7SP/Brm0gufzk7bcQXBjBoJ j6O3fDDzzMp7jCb167pWPBOB7Puifj6zP7WMzRJiOqobejOzXfyOD8RXCgb1hV/W oe+CNXr0VuwGA4/vcV9PJ0HeKZ7+Sbz3zEDWM6vugnMA1yhFp+pYmA2G7fNxOcoF Bu7fhEcEVl2k3GrSeLNfDfFtHYy09jcc6Pq+E+lG6074hGEJWCBPoAMTJvnZChiv DxrEjpBZvguFGKMaOOz8TlhStHEfBjh6qHTHHBiOD8Aw/ip0lLNz0iZ6c6FQFg+4 YQrkHwx8CwW5PA== X-ME-Sender: Received: from localhost.localdomain (unknown [180.158.62.0]) by mail.messagingengine.com (Postfix) with ESMTPA id D268B24631; Tue, 21 Nov 2017 08:25:38 -0500 (EST) From: Yuanhan Liu To: =?UTF-8?q?N=C3=A9lio=20Laranjeiro?= Cc: Yongseok Koh , dpdk stable Date: Tue, 21 Nov 2017 21:17:22 +0800 Message-Id: <1511270333-31002-100-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> References: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/mlx5: fix SSE Rx support verification' has been queued to stable release 17.08.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: , X-List-Received-Date: Tue, 21 Nov 2017 13:25:41 -0000 Hi, FYI, your patch has been queued to stable release 17.08.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 11/24/17. So please shout if anyone has objections. Thanks. --yliu --- >>From 6dbcb1760d790ab00e6f0bc075f49d0a6c35f67f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?N=C3=A9lio=20Laranjeiro?= Date: Mon, 9 Oct 2017 16:44:44 +0200 Subject: [PATCH] net/mlx5: fix SSE Rx support verification [ upstream commit 9c7dd1ccaf6e361f5a1c76dfdfd8713afda33905 ] The number of queues in DPDK does not means that the array of queue will be totally filled, those information are uncorrelated. The number of queues is provided in the port configuration whereas the array is filled by calling tx/rx_queue_setup(). As this number of queue is not increased or decrease according to tx/rx_queue_setup() or tx/rx_queue_release(), PMD must consider a queue may not be initialised in some position of the array. Fixes: 6cb559d67b83 ("net/mlx5: add vectorized Rx/Tx burst for x86") Signed-off-by: Nelio Laranjeiro Acked-by: Yongseok Koh --- drivers/net/mlx5/mlx5_rxtx_vec_sse.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/net/mlx5/mlx5_rxtx_vec_sse.c b/drivers/net/mlx5/mlx5_rxtx_vec_sse.c index b5a7657..56dcd5a 100644 --- a/drivers/net/mlx5/mlx5_rxtx_vec_sse.c +++ b/drivers/net/mlx5/mlx5_rxtx_vec_sse.c @@ -1377,6 +1377,8 @@ priv_check_vec_rx_support(struct priv *priv) for (i = 0; i < priv->rxqs_n; ++i) { struct rxq *rxq = (*priv->rxqs)[i]; + if (!rxq) + continue; if (rxq_check_vec_support(rxq) < 0) break; } -- 2.7.4