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 6256B325F for ; Thu, 1 Feb 2018 10:49:09 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0DA8C20CCB; Thu, 1 Feb 2018 04:49:09 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Thu, 01 Feb 2018 04:49:09 -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=fm2; bh=AeFHobE00dEIqpzjg hwoT7+v42z2wmUEAsjWaIqZ6Jo=; b=cDGXO8KZrRJ4AnfbJ3zCwP72rZbqfffqK A0Oyek1OiMADV0YI2iwzZdY7eg4kdOT3L/LJI85eyg4zjWC1C2mvqHywsTsxWyx8 S7V+G9yEOWuC/Ctieure9HSn/o/n7+I5qMVtxW55uAI241DtrM7VGNZbO0Ik2Uze WZnq67+tcU3Yb7jAEpr9Xqt4v/XpDe8SqRutWvS1jK7VQNbDEzNB7P31mV+OqhAY Wui51cwquTTtW9bZdkBXJajlxJ8LJxqyXsMU7NQi6sYcIpj09cmK42C4n+2wTVey ZMhhHsnnYazFQTVUe/WkMH+RNGGKjSgK2QGQRh1zoItszgAyaPmIA== 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=AeFHobE00dEIqpzjghwoT7+v42z2wmUEAsjWaIqZ6Jo=; b=GbvvOe77 d1nA72WlqSCooFJbueXLuw7Xy9KoMvIQCFBeSmzTGNs+TIqpP21BU+Cg9A1P8Qax tFweCcST0eEYD89zzNjKiwWG8yjsvbnV2DOUAJa+dNAMng1DU+InaBarqLr+g8d6 rAWX1lhGu/b4EOxLO+ArDTVEBlB+3q8xpBS5JtP9+5WW7A5Cn5qkoSPTzxhfvmTb Dwya84UO/QSvlz8CLxkesH0xls3m5XR596iPiwEUf4QCqOsBcDU7+mQ6WXoXZ5yS wlAYIJPthl2r/ni67LB6Vv6jGxBFvIO/+ENYpIgoowD6mTZI81PGfle/md6lxIhi d6lpLqkImYIDIQ== X-ME-Sender: Received: from yliu-mob.mtl.com (unknown [115.150.27.200]) by mail.messagingengine.com (Postfix) with ESMTPA id A5B01240DE; Thu, 1 Feb 2018 04:49:06 -0500 (EST) From: Yuanhan Liu To: Samuel Gauthier Cc: Maxime Coquelin , Yuanhan Liu , dpdk stable Date: Thu, 1 Feb 2018 17:47:38 +0800 Message-Id: <1517478479-12417-24-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1517478479-12417-1-git-send-email-yliu@fridaylinux.org> References: <1517478479-12417-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/virtio: fix Rx and Tx handler selection for ARM32' has been queued to LTS release 17.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: , X-List-Received-Date: Thu, 01 Feb 2018 09:49:09 -0000 Hi, FYI, your patch has been queued to LTS release 17.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/03/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 3d735b4e553f1f2ddd9e79f5bb00e5cdd2e5f6b4 Mon Sep 17 00:00:00 2001 From: Samuel Gauthier Date: Thu, 14 Dec 2017 15:32:13 +0100 Subject: [PATCH] net/virtio: fix Rx and Tx handler selection for ARM32 [ upstream commit 8f3d451dff2b91eb6c7636e92794c2b256267f8e ] On arm32, we were always selecting the simple handler, but it is only available if neon is present. This is due to a typo in the name of the config option. CONFIG_RTE_ARCH_ARM is for Makefiles. One should use RTE_ARCH_ARM. Fixes: 2d7c37194ee4 ("net/virtio: add NEON based Rx handler") Signed-off-by: Samuel Gauthier Reviewed-by: Maxime Coquelin Acked-by: Yuanhan Liu --- drivers/net/virtio/virtio_ethdev.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c index 95da470..bfb9dab 100644 --- a/drivers/net/virtio/virtio_ethdev.c +++ b/drivers/net/virtio/virtio_ethdev.c @@ -1784,7 +1784,7 @@ virtio_dev_configure(struct rte_eth_dev *dev) hw->use_simple_rx = 1; hw->use_simple_tx = 1; -#if defined RTE_ARCH_ARM64 || defined CONFIG_RTE_ARCH_ARM +#if defined RTE_ARCH_ARM64 || defined RTE_ARCH_ARM if (!rte_cpu_get_flag_enabled(RTE_CPUFLAG_NEON)) { hw->use_simple_rx = 0; hw->use_simple_tx = 0; -- 2.7.4