Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp998820imm; Tue, 3 Jul 2018 03:52:48 -0700 (PDT) X-Google-Smtp-Source: AAOMgpdi2fRdcVmb9zX6frult1DmxhSnYxV0LENG5pOlPLLw8etjloCDewbVU4l8yG+TprqUlZK+ X-Received: by 2002:a62:284a:: with SMTP id o71-v6mr29274363pfo.67.1530615168093; Tue, 03 Jul 2018 03:52:48 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1530615168; cv=none; d=google.com; s=arc-20160816; b=nUhgOdO14c7IeaqroxTp5oQNSSeB7VfRLVdgxD7yPZXCzyRJqZd+muFJTTc6WlcOr5 n660q0Kye56tb14BUT7wp786WE3ZK1JCUUXsIm9HIRASsKUCZ6fX3qxb1eJ8hi7jW4fW n+eZ8nQnDJPMNE/s89rfqFTfmH/qjuHcpE3zE7pP7mc52X4tjJvHFi/FGQtRfsUvmJLs xhy4vvmzR4Y+th+TtYcnUgnU00lzh5mfkyTogrhNkDcPW9ZkMej8B2Q2Oe2/e6CiRZ81 0pZThSP+VFrJ/zD/43V6JGSYnN6vd+DWSXSiscDeifmNuk7kC5SpXYnyPxgPb62TpHR8 cqqQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=1wtzN+0tJwzobJaW2XUAgWJ2+1M4tAWFKex3GPA0EBQ=; b=YQEFfJiMrBxCGKKuWN2h4oBnMphSaATSgB0e/wipnvsa74F6jFMtdWBdOpp4DPIpEn lGgxiAY9WBrRbDR1Sl9sHl5mVOntF9G1ur57g1FnE3gKzRsxXn3kdb9i/9yatAlgGoAS fTLb1eSvvlQoEnkE4uM7c5PtAzYdHg1RBM6Rq1X6Znyu3ZF49Cvphvbgve6a6Tae9oZ/ ZalYLr53m+rwxoi0LYwUnvJcOgyyYf1YxmLcBtmkGWcsb1ldoqH79o8gi7dlfZTDGr2B ZPsfH8W5fgKu40PGB+jB7D180rFRPOqZyYe+prXUGcMpNJc2oWcVocePdaSocyzWHSEi At4w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V8+wbj6j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id x3-v6si778973pgo.542.2018.07.03.03.52.33; Tue, 03 Jul 2018 03:52:48 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=V8+wbj6j; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752781AbeGCKvx (ORCPT + 99 others); Tue, 3 Jul 2018 06:51:53 -0400 Received: from mail-yw0-f193.google.com ([209.85.161.193]:33878 "EHLO mail-yw0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752576AbeGCKvv (ORCPT ); Tue, 3 Jul 2018 06:51:51 -0400 Received: by mail-yw0-f193.google.com with SMTP id j68-v6so516677ywg.1 for ; Tue, 03 Jul 2018 03:51:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=1wtzN+0tJwzobJaW2XUAgWJ2+1M4tAWFKex3GPA0EBQ=; b=V8+wbj6jwQXigi6INHfQNW1nbvUZwhfbRqApDRQCTZDvl9uCrjUO+l9fMuUOuw/+SY i3xX1RjKW6XXvgsNUtnBNyRspjiEbL30ybNyeGoBEarnsU6Zksge9MQvB82VdvqxNO/O Yle51AOwBaGPwg7aXmhDWuED8i1abC+MjTGDs= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=1wtzN+0tJwzobJaW2XUAgWJ2+1M4tAWFKex3GPA0EBQ=; b=WPDdHV0NGFUoSXIIBns/qwU7X0mjApEQdHWUkvyz2tjYLfFWOVuYNvUwojgZbNg0Qm En7dXPZuSNHBbIrQUm+ubHDM8GeTuTvhKaxB/+KgS8bLsJX78pqGhSUhSq7FXwMxAM5d zicQw/E2KzAKP78d9JYz4vpcqJfnFETT+IktWqDTEya696LYvape0jA2d1QicIxNB/b7 VgYHWchPoFDWDeyeFPjcoMrViy58ybOdKWIW5zrqR7WtDCkjK/kz4QA9ongVkQLGRzHg bIH8mPz5SXoSR3UNj4cnLom8lsZdYGJDEZXJ9rfQh8rAZ9bMCsuFi8G2INte5ZpN/3fF J5FQ== X-Gm-Message-State: APt69E1XdKiVQLYwemn9QeQd/jpRKEhijeloWGZvcgto2hT960K4OQAW psNPc64uo9/Wt1IgApM6P/K/mLBNsShyIfLyq/7Wzw== X-Received: by 2002:a81:77c3:: with SMTP id s186-v6mr8952576ywc.31.1530615109791; Tue, 03 Jul 2018 03:51:49 -0700 (PDT) MIME-Version: 1.0 References: <20180612110510.11731-1-anders.roxell@linaro.org> In-Reply-To: From: Anders Roxell Date: Tue, 3 Jul 2018 12:51:38 +0200 Message-ID: Subject: Re: [PATCH] selftests: bpf: config: add config fragments To: William Tu Cc: Daniel Borkmann , Alexei Starovoitov , Shuah Khan , Networking , Linux Kernel Mailing List , "open list:KERNEL SELFTEST FRAMEWORK" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 26 Jun 2018 at 23:27, William Tu wrote: > > >> > > >> > --- ::11 ping statistics --- > >> > 5 packets transmitted, 3 packets received, 40% packet loss > >> > round-trip min/avg/max = 0.139/1.857/5.293 ms > >> > + ip netns exec at_ns0 ping -c 3 -w 10 -q 10.1.1.200 > >> > PING 10.1.1.200 (10.1.1.200): 56 data bytes > >> > > >> > --- 10.1.1.200 ping statistics --- > >> > 3 packets transmitted, 3 packets received, 0% packet loss > >> > round-trip min/avg/max = 0.214/0.256/0.305 ms > >> > + ping -c 3 -w 10 -q 10.1.1.100 > >> > PING 10.1.1.100 (10.1.1.100): 56 data bytes > >> > > >> > --- 10.1.1.100 ping statistics --- > >> > 3 packets transmitted, 3 packets received, 0% packet loss > >> > round-trip min/avg/max = 0.210/0.211/0.213 ms > >> > + check_err 0 > >> > + '[' 0 -eq 0 ']' > >> > + ret=0 > > So looks like the ipv4 over ipv6 gre passes. > > >> > + ip netns exec at_ns0 ping6 -c 3 -w 10 -q fc80::200 > >> > PING fc80::200 (fc80::200): 56 data bytes > >> > > >> > --- fc80::200 ping statistics --- > >> > 10 packets transmitted, 0 packets received, 100% packet loss > ` > but the ipv6 over ipv6 gre fails. > Do you have any firewall rules that block this traffic? > or if possible, the packet might get dropped at function ip6gre_xmit_ipv6 > can you print the return value of this function? > > > >> > + check_err 1 > >> > + '[' 0 -eq 0 ']' > >> > + ret=1 > >> > + ip -s link show ip6gretap11 > >> > 19: ip6gretap11@NONE: mtu 1434 qdisc > >> > pfifo_fast state UNKNOWN mode DEFAULT group default qlen 1000 > >> > link/ether de:d2:0c:53:80:8c brd ff:ff:ff:ff:ff:ff > >> > RX: bytes packets errors dropped overrun mcast > >> > 2096 25 0 0 0 0 > >> > TX: bytes packets errors dropped carrier collsns > >> > 5324 36 5 5 0 0 > >> > >> So there are 5 errors at TX. > > > > and today when I tried it on next-20180620 I saw 8 errors at TX. > > > >> I couldn't reproduce in my local machine using 4.17-rc6. > >> How do I checkin the "next-20180613" source code? > > > > You can find the source code here [1], and I would look in the latest tag that I > > said that I was able to reproduce it on above. > > > > Cheers, > > Anders > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git/ > > Hi Anders, Hi William, > > I'm still not able to reproduce the issue on next-20180620. I'm not able to reproduce it either, and I tried on todays tag as well next-20180703. The only test that is failing in bpf/test_tunnel.sh: FAIL: xfrm tunnel Cheers, Anders > Below is my test. > > Testing IP6GRETAP tunnel... > PING ::11(::11) 56 data bytes > > --- ::11 ping statistics --- > 5 packets transmitted, 3 received, 40% packet loss, time 4048ms > rtt min/avg/max/mdev = 0.040/32.118/96.235/45.337 ms > PING 10.1.1.200 (10.1.1.200) 56(84) bytes of data. > > --- 10.1.1.200 ping statistics --- > 3 packets transmitted, 3 received, 0% packet loss, time 2026ms > rtt min/avg/max/mdev = 0.074/0.099/0.117/0.018 ms > PING 10.1.1.100 (10.1.1.100) 56(84) bytes of data. > > --- 10.1.1.100 ping statistics --- > 3 packets transmitted, 3 received, 0% packet loss, time 2054ms > rtt min/avg/max/mdev = 0.069/0.113/0.187/0.052 ms > PING fc80::200(fc80::200) 56 data bytes > > --- fc80::200 ping statistics --- > 3 packets transmitted, 3 received, 0% packet loss, time 2054ms > rtt min/avg/max/mdev = 0.069/0.104/0.142/0.031 ms > PASS: ip6gretap > root@osboxes:~/linux-next/tools/testing/selftests/bpf# > root@osboxes:~/linux-next/tools/testing/selftests/bpf# uname -a > Linux osboxes 4.18.0-rc1-next-20180620 #1 SMP Tue Jun 26 12:26:00 PDT > 2018 x86_64 x86_64 x86_64 GNU/Linux