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 8715B2B9D for ; Wed, 9 Aug 2017 05:47:55 +0200 (CEST) Received: by mail-pg0-f42.google.com with SMTP id l64so22721312pge.5 for ; Tue, 08 Aug 2017 20:47:55 -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=sIaQuBjzqWqwwgZ62qSLAz9DkL3VqIwX01gzyeUqA48=; b=iHExqhABgdglk0SmV3N4djFaKwXbLVWgqgcFdtOUaZj6+ejOnBWnKQW0Ds6yWvJsfX JFeYn6wQX8C47Ywm2akklb3RDTaP9IXvVOPJV569vv+QWPGkhXW0zSxIPtN89pVnOeeT lm4UWmT19i/6M9l0n0gcbGOk6yzoL3k0PZagUBrpgUfBDcRsx4jsWTAOwA6wYOVuqIKl 9bv5QCGpN3NymzWe8VaA2+HrEixy1Kr8s9YoJIOfxXoXuVOTTVa5ZmMpBkrjOtbBd9bG Ay+ZiJ/iM2skLRnaZitAwbpnZF8xs/kNMj6Quz91OY9fLOcolwGYZSzyo7oL4qq285Up Aj1w== 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=sIaQuBjzqWqwwgZ62qSLAz9DkL3VqIwX01gzyeUqA48=; b=gUn2iDCbPTSmVkLVo/K8ZPvPL+95EZ4we8SZeBeg/W1GoB0AjaebcnYZLP7QBfSEl1 1DfXXq9+fz/SHwSX6xNyZV/TTtkxSajbwtBh+QQ6jjqH2C9TdNOg1v6ZFBys6sFzlBBN 40a/DybDqjF/ZH0mPGmd+jPqLY16kBRV1tFX0a1qeekJlaly5VobDXukKsQRcHi+aSSq yAhiIhqcFCJAQpQtiGViJOZBmy1oIq2Y635lE58I/gVRmwTPPkMWhY9vElJoKUjWGzfY uL6IYCIPrP0TbM+QhtAblZ8tUtI9wnMWnQFLxkrn/FnRbtG+YnH+zozspXtrTiIyJDqo fOxw== X-Gm-Message-State: AHYfb5hLF6XIH3e8AQg/MDFJOshpvLXqZJJzmQSHYa/q9RKXHsscYvRh rFO3aG0tjjxGjSFQGx2SwQ== X-Received: by 10.84.217.220 with SMTP id d28mr7459415plj.340.1502250474882; Tue, 08 Aug 2017 20:47:54 -0700 (PDT) Received: from localhost.localdomain ([45.63.61.64]) by smtp.gmail.com with ESMTPSA id q3sm5093921pfl.89.2017.08.08.20.47.50 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Tue, 08 Aug 2017 20:47:53 -0700 (PDT) From: Yuanhan Liu To: Qi Zhang Cc: dpdk stable , Yuanhan Liu Date: Wed, 9 Aug 2017 11:43:59 +0800 Message-Id: <1502250240-6599-17-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1502250240-6599-1-git-send-email-yliu@fridaylinux.org> References: <1502250240-6599-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'examples/l3fwd: fix IPv6 packet type parse' has been queued to LTS release 16.11.3 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, 09 Aug 2017 03:47:55 -0000 Hi, FYI, your patch has been queued to LTS release 16.11.3 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/11/17. So please shout if anyone has objections. Thanks. --yliu --- >>From efb6b9aaf84a62d4e18ebc42c05e720b2aba8484 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