Received: by 2002:ac0:a581:0:0:0:0:0 with SMTP id m1-v6csp4108997imm; Mon, 25 Jun 2018 09:52:28 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJCH9Ux0CFQ4Befvs7Hry/yUtHsUxe7FRHI7EdLPKfs/k63tj3lEv3BLROSf+5BdQtXbKnK X-Received: by 2002:a62:6203:: with SMTP id w3-v6mr5803739pfb.65.1529945548561; Mon, 25 Jun 2018 09:52:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529945548; cv=none; d=google.com; s=arc-20160816; b=d+CEakbQuAI7YJTtQOdIfs/SNBkG2K2WFzApkMSP+HpdeyOYE17yLmVIq6byTvI/at k0drMEpGGNBzRG39Dcd/Vntc9MDxWjnHxZcXh7EonKAbnY0Imy1Ekd7FPfhUHlJyRgLr MoizyOFBL5y3iPhcbg6YC6tk+XXXg48pdy2LQsyXnNifGf48o8WPJRCtMOWLCVqpu37a pNHjWSpTHD1kYSYZP4FilFzoJtgFWF/YxRWonpq3z77Ex1tfWw8cJTIgji3GDpwoeCck U3ZeEV6FHVg9qmSiQ4+96C9ipBtC0/Tw19ZV3tPxGkJ75p8lqCuC5VDipU3MkxGm4W7e bopA== 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 :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=XJSMZyjox9FbYzzivndN/KWheimr7j+8/x9FyOvn0QM=; b=rBW6KSnMJY0MERhapDvqLG68dSD7zJ/IdIOIltB/0s14Lrn8XTd4OlidZXCwnxPTLm Ip5t6cOzNCNUVIcgBNny550djzN/pSkyYL/hRIv5rbjMGyy3gHD0k9ZajYx86mL5x/pv WnG3BqI4c94j/ZGZhKlawCx2b9YYq1qIb7EuoCqvGxTni3sk8zO9l1j4M9yr9Gh07tCW m4ER/HGWC4yrVRXhI+lSXlYIYHO/sdYuiq3oJnPx3AYvkeOQBaurezlD6UhH26oE9/fq E8ycASDIcjG3nX+ElfmI5b4bfwkju8yLqc4rZwmoNstvcKfSqYTlL7gVDm1UMlZcmst7 0tEw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WjGiAXEl; 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=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n81-v6si14243247pfk.277.2018.06.25.09.52.13; Mon, 25 Jun 2018 09:52:28 -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=@gmail.com header.s=20161025 header.b=WjGiAXEl; 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=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933593AbeFYQt5 (ORCPT + 99 others); Mon, 25 Jun 2018 12:49:57 -0400 Received: from mail-oi0-f68.google.com ([209.85.218.68]:38993 "EHLO mail-oi0-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754385AbeFYQt4 (ORCPT ); Mon, 25 Jun 2018 12:49:56 -0400 Received: by mail-oi0-f68.google.com with SMTP id 18-v6so3639070oiq.6; Mon, 25 Jun 2018 09:49:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XJSMZyjox9FbYzzivndN/KWheimr7j+8/x9FyOvn0QM=; b=WjGiAXElnP3x49SAy0us6Tsp9HdtwNIjb6JW69Z4Y7vepTSiXjQooUKSoht/iUBNhy QxvImPVRYYaZ1+Neczy8fhmxIoKduoPi6F6p9DzLey/XqQ/hlTi3rBq47xxLah/hYmuL NnRovpD7teLX2zIYacxKjyk7y3UA/WUoJYaB1g8aWGaqEHpj0vxErYKMH9lu7e71hUsR NoMigp6n2JwqVHmxGXsEcumlrl2Yj2F2R2K1cw4WOaqgV6CpMSQxqculk0gjGDSLiFBV pqjuWU1N2yXoTDKNxpqgMMJG/xbpDTiw1Ps0C47z8Uqn+A5Qd5wXWEJNZlYtyieYLFNU jGAg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XJSMZyjox9FbYzzivndN/KWheimr7j+8/x9FyOvn0QM=; b=PmY1PagS9JsWs81dicmqyGbN9HH0vwszZ1RToU+pci0nz1EVHRs9fGuzRXzmjY3/UJ cqCyYkYatnCQdW38yMCZXCJPdylWDrr0zxHRJdUmfXRJBiA6vRMBBGIyS/vXRLUvZeq5 LKr5yJgJy+eJ0GKrNcjclEmC55tn3rJcZUObo2zsX70rRZrKh7r4neD7tARkVRZPBtbk 8Vw+JQMj0vzv6RFWqK5x1GINEf06RncbxKZNVvOdG3XO2AjXuRZ8s9Ncxeo4zkeq+4B8 7HeFNQta7ha5/C4BXykbfu9PR8Qu7AcgHanGYpA1o8/gYmtxslWIK1BIFSuuAwU3gfV+ g1Wg== X-Gm-Message-State: APt69E2wqZ8gcH5SUdMODiCv9JGPz0pQRvc1KS65v0Xdf7Tpg8niU724 y0gXqFxuQFTA5jNOu6fZWCx8QllQEXYBTHqppaY= X-Received: by 2002:aca:4b0d:: with SMTP id y13-v6mr6815960oia.251.1529945395611; Mon, 25 Jun 2018 09:49:55 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a9d:4b10:0:0:0:0:0 with HTTP; Mon, 25 Jun 2018 09:49:55 -0700 (PDT) In-Reply-To: <20180625145605.13726-1-anders.roxell@linaro.org> References: <20180625145605.13726-1-anders.roxell@linaro.org> From: Song Liu Date: Mon, 25 Jun 2018 09:49:55 -0700 Message-ID: Subject: Re: [PATCH] selftests: bpf: enable NET_SCHED To: Anders Roxell Cc: Alexei Starovoitov , Daniel Borkmann , shuah@kernel.org, Networking , open list , linux-kselftest@vger.kernel.org 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 Mon, Jun 25, 2018 at 7:56 AM, Anders Roxell wrote: > CONFIG_NET_SCHED wasn't enabled in arm64's defconfig only for x86. > So bpf/test_tunnel.sh tests fails with: > RTNETLINK answers: Operation not supported > RTNETLINK answers: Operation not supported > We have an error talking to the kernel, -1 > Enable NET_SCHED and more tests passes. > > Fixes: 3bce593ac06b ("selftests: bpf: config: add config fragments") > Signed-off-by: Anders Roxell Acked-by: Song Liu > --- > tools/testing/selftests/bpf/config | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config > index 1e0c547caf3c..7a6d92562dc6 100644 > --- a/tools/testing/selftests/bpf/config > +++ b/tools/testing/selftests/bpf/config > @@ -6,6 +6,7 @@ CONFIG_TEST_BPF=m > CONFIG_CGROUP_BPF=y > CONFIG_NETDEVSIM=m > CONFIG_NET_CLS_ACT=y > +CONFIG_NET_SCHED=y > CONFIG_NET_SCH_INGRESS=y > CONFIG_NET_IPIP=y > CONFIG_IPV6=y > -- > 2.18.0 >