From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f42.google.com (mail-pg0-f42.google.com [74.125.83.42]) by dpdk.org (Postfix) with ESMTP id 8A8DA997C for ; Mon, 21 Aug 2017 11:38:37 +0200 (CEST) Received: by mail-pg0-f42.google.com with SMTP id y129so96889438pgy.4 for ; Mon, 21 Aug 2017 02:38:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=3LGS65oDH1VKCQQ5bLOLILJQ4j/LfjUkyuqik8Ur6lw=; b=FDv+Wg0MYd0QVEIynskNwgtySD8mGr64kLiA6IuHu3k60yUO8NNAcpKnfj0AGAZnuS S9v/tYNAeAHVU1YtMMMnkmmRtyqbQWzKLrOMJXOE/pFYrlU+0XIvXwpjddz3iIesirpv px3o9qvk1oRsMLOHEzaIl/Vy+Qn+V4k2BAbx8jbOP0/+hM/4KH+bixsDi+gtfZvHY+Fe j9pat2CsYkQLA43Y+LD1LSeNNBmn7ELwzvlI35mrg6hwjH9QBCgaL3umkTdPDzXjSSRG 14+tjLoAVNJp+++c5LAEv1gLCEYyasNj3GQIgfHWHD68jpzQXIihBQpZLkXEr+l7mRB/ iVyA== 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=3LGS65oDH1VKCQQ5bLOLILJQ4j/LfjUkyuqik8Ur6lw=; b=D/+1BmrdobT2YLLXJv1Asq0LTb5Zs2bNvSKeDFhZ+fAZX49+Z5kiuLQqAL5XmGrVwb O0/kt42n9nZoAWohO5LLs1Y7Kt3KNop7YOXYTHSL+8uboHBH/CumaeUKNBdWEzby+QnB olmsNfWYgrVhP6pQrk56Q0xA7SHP/p3jdz8oei66LkaqGYimnHMZZg6UigTk6Gx3PZSi YRgsxv8Qn0gfszmJU+scW7I3hak4072n2lRbwkC+X2riuxgHp5VUQ+67RNiwxHQWxxsA d3SOIWRd/Uf/K9XOnLOjHXgsvSvGxFw8LYQgirDnnKNaMm292OicxZP8FCQybgRu9x/5 p6Rg== X-Gm-Message-State: AHYfb5gQBgW/0wMTZYQtumfoR8WvvIa2EX9KuM2oqNuIVza83TCz3Q7g 40dN3Wm9ykOOahTh X-Received: by 10.84.241.197 with SMTP id t5mr19120329plm.473.1503308316916; Mon, 21 Aug 2017 02:38:36 -0700 (PDT) Received: from localhost.localdomain ([45.63.61.64]) by smtp.gmail.com with ESMTPSA id 69sm23355087pfh.186.2017.08.21.02.38.31 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Aug 2017 02:38:35 -0700 (PDT) From: Yuanhan Liu To: Qi Zhang Cc: dpdk stable , Yuanhan Liu Date: Mon, 21 Aug 2017 17:31:17 +0800 Message-Id: <1503307878-16728-63-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1503307878-16728-1-git-send-email-yliu@fridaylinux.org> References: <1503307878-16728-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'examples/l3fwd: fix IPv6 packet type parse' has been queued to stable release 17.05.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, 21 Aug 2017 09:38:38 -0000 Hi, FYI, your patch has been queued to stable release 17.05.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 08/24/17. So please shout if anyone has objections. Thanks. --yliu --- >>From e866f2e82857a02ad00736f20c2d17479b248fe2 Mon Sep 17 00:00:00 2001 From: Qi Zhang Date: Fri, 4 Aug 2017 15:52:06 +0800 Subject: [PATCH] examples/l3fwd: fix IPv6 packet type parse [ upstream commit 5b9b65b14e05c106bb8229c0fe0b347315da7d00 ] Fix a typo that cause IPv6 packet type not be parsed. Fixes: 71a7e2424e07 ("examples/l3fwd: fix using packet type blindly") Signed-off-by: Qi Zhang --- examples/l3fwd/l3fwd_em.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/l3fwd/l3fwd_em.c b/examples/l3fwd/l3fwd_em.c index 9cc4460..46b327e 100644 --- a/examples/l3fwd/l3fwd_em.c +++ b/examples/l3fwd/l3fwd_em.c @@ -614,7 +614,7 @@ em_parse_ptype(struct rte_mbuf *m) packet_type |= RTE_PTYPE_L4_UDP; } else packet_type |= RTE_PTYPE_L3_IPV4_EXT; - } else if (ether_type == rte_cpu_to_be_16(ETHER_TYPE_IPv4)) { + } else if (ether_type == rte_cpu_to_be_16(ETHER_TYPE_IPv6)) { ipv6_hdr = (struct ipv6_hdr *)l3; if (ipv6_hdr->proto == IPPROTO_TCP) packet_type |= RTE_PTYPE_L3_IPV6 | RTE_PTYPE_L4_TCP; -- 2.7.4