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 26AA01B173 for ; Wed, 24 Jan 2018 16:38:19 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 264992237C; Wed, 24 Jan 2018 10:38:18 -0500 (EST) Received: from frontend1 ([10.202.2.160]) by compute1.internal (MEProxy); Wed, 24 Jan 2018 10:38:18 -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=3jaT5zbWk8qqmS7ew fTfFLFAfoXDPrUNKWIJx8CeQDA=; b=Q0nZXqKnh7IlaUaS6UNE4CZSpavlSnAhm 7RUph2VO3N34OhefYbj3Rka4ZV8zxrfOfSuuZKlIljhiV0fjcnxL88v4qqUchaw5 ki60FGoLtOeRW8WZrcDGhU9w6z4smOmIh3s4UP8+1LyO8NtM8KeWu9rpnK/GiI7A zCc7MHinI6mvryP4tXCRLei0iPwQtwqVAqJQX/7rgfCQhgmnGtwjtC4IXfuJs5tF bIkVunrtShRDYZfyUksPL5uvAXKc5m0P8My4iHCbXLu3Kila8CYjTVzXBb1Eu9nF LGUQUB9GFNM/e+NPrnP8DVJ6gNnIWZKaGxAD0yu71WyMfxXJVL3Jg== 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=3jaT5zbWk8qqmS7ewfTfFLFAfoXDPrUNKWIJx8CeQDA=; b=X2zQO5TU AJaSYJBq34iIhNMOm3HQYvZfVoOoNrGMOBOG58WhmTR0q5W46Am9Md9W36TjQuYr HPVkP48/d9T0ELljZadepzBmH04ZRsON9GDA01MTxlquTyu2IJ6jL/2WJrMluT8y vfvvXKKfvQD1Onh2FhtcuM8xhslLfjRz/4nOF6/1wYG4wgJq6041hSKBMdLhboL5 JPttEXsYMaWOU47ODUr5NMYqFkXZ7zJSwNsGg0W2LYmvccGH2WztAuObWfyNtD+B JRDDY6IeSMsfanJPQ4m2P0RvBESsVSSp2CgCoRJSPZLkbvXb0/E1RdM9DiLukJzr Rf1/OgCPClvaaQ== X-ME-Sender: Received: from localhost.localdomain (unknown [115.150.27.206]) by mail.messagingengine.com (Postfix) with ESMTPA id 9F2787E3D4; Wed, 24 Jan 2018 10:38:15 -0500 (EST) From: Yuanhan Liu To: Yongseok Koh Cc: Shahaf Shuler , Nelio Laranjeiro , dpdk stable Date: Wed, 24 Jan 2018 23:32:03 +0800 Message-Id: <1516808026-25523-55-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> References: <1516808026-25523-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'net/mlx5: fix HW checksum offload for outer IP' 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: Wed, 24 Jan 2018 15:38:19 -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 01/26/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 37c5da413aff723786329d6a96b368cbabe64a18 Mon Sep 17 00:00:00 2001 From: Yongseok Koh Date: Wed, 3 Jan 2018 00:06:22 -0800 Subject: [PATCH] net/mlx5: fix HW checksum offload for outer IP [ upstream commit d1eded3a8e6fa28087eef3062081a8b0f2dca222 ] Checking HW checksum offload flag for outer IP is missing. If flag is set for only outer IP, this can't be set properly. Fixes: f5fde5205101 ("net/mlx5: add hardware checksum offload for tunnel packets") Signed-off-by: Yongseok Koh Acked-by: Shahaf Shuler Acked-by: Nelio Laranjeiro --- drivers/net/mlx5/mlx5_rxtx.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/net/mlx5/mlx5_rxtx.h b/drivers/net/mlx5/mlx5_rxtx.h index 9ed30a8..f1a4989 100644 --- a/drivers/net/mlx5/mlx5_rxtx.h +++ b/drivers/net/mlx5/mlx5_rxtx.h @@ -635,7 +635,8 @@ txq_ol_cksum_to_cs(struct mlx5_txq_data *txq_data, struct rte_mbuf *buf) /* Should we enable HW CKSUM offload */ if (buf->ol_flags & - (PKT_TX_IP_CKSUM | PKT_TX_TCP_CKSUM | PKT_TX_UDP_CKSUM)) { + (PKT_TX_IP_CKSUM | PKT_TX_TCP_CKSUM | PKT_TX_UDP_CKSUM | + PKT_TX_OUTER_IP_CKSUM)) { if (txq_data->tunnel_en && (buf->ol_flags & (PKT_TX_TUNNEL_GRE | PKT_TX_TUNNEL_VXLAN))) { -- 2.7.4