From patchwork Fri May 18 18:23:24 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 10411813 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id D4514602C2 for ; Fri, 18 May 2018 18:23:43 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id C3DE9287D3 for ; Fri, 18 May 2018 18:23:43 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id B846B28A86; Fri, 18 May 2018 18:23:43 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-7.8 required=2.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI, RCVD_IN_DNSWL_HI, T_DKIM_INVALID autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6351F287D3 for ; Fri, 18 May 2018 18:23:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751899AbeERSXh (ORCPT ); Fri, 18 May 2018 14:23:37 -0400 Received: from mail-lf0-f67.google.com ([209.85.215.67]:34964 "EHLO mail-lf0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751768AbeERSXf (ORCPT ); Fri, 18 May 2018 14:23:35 -0400 Received: by mail-lf0-f67.google.com with SMTP id y72-v6so15307272lfd.2 for ; Fri, 18 May 2018 11:23:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=AUe28u+7Ud4DXF9EOPxsv8vph7pVfpmFxm1Jh4EjT0M=; b=XL1RTRT8e4fu4Dt0Q+G3pins5vCHBlGu6vsUgp+dp7n4Ss+xvQGfV0FJl+0599SK8g pgG3UCexBIhz1M7Of1f97Q99nPX4isotrRkGCfAsxlxfqIInfq929v6oDsL9yfrhKdbP sWhoGSxl6xrO9dhz8eWFQx0sCSqkpPDxdac2E= 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; bh=AUe28u+7Ud4DXF9EOPxsv8vph7pVfpmFxm1Jh4EjT0M=; b=WgvR1zHVLVLd2GKxZ6OBLTH6/567zJtLixdZ67SAjM8+3dTBTWbHEV6vTcXTa6+Ltt KhB1X8O/Eh4Hjs/3Z9rMQ2puHvU3wTaQcYVvSfJBEB1Wt/f0rrqErFtogN+Zf64L6/v5 B+vvCGy3L6H3dwDBTBqV8ycXdWVBG96Cgsr9A7l+t9IE+yaru3a9uBrS7F+TJItCR71s pmajgXSBK0QTQn1YCU+PooRzhuweTponR7UJh/0J6YXtC9lcR7/OgG8I84JUBAV5ltTW qOdOAI6oOvjMF5mzpsOE8Um567Lg0R2vqRC0z+nec+gTWIWJHX7bvnl8VleB2nmCCD31 w/7A== X-Gm-Message-State: ALKqPwcYfw/efCa2GLuXuRTcsM5Dw+LxkahyIEQ2co0Qw9aEdxcnGiCR arsEPPb3+WQjqz3DE2AmhRc3Zg== X-Google-Smtp-Source: AB8JxZp+KpK2l6nT0hUf9uG/uRUm2bT6kBmvApBQqzgZ4m8uOMM2OQjYzNqgFurZeQwIlwxeRIo/ow== X-Received: by 2002:a2e:6808:: with SMTP id c8-v6mr6258589lja.109.1526667814194; Fri, 18 May 2018 11:23:34 -0700 (PDT) Received: from localhost (c-2c3d70d5.07-21-73746f28.bbcust.telenor.se. [213.112.61.44]) by smtp.gmail.com with ESMTPSA id k76-v6sm1334013lje.13.2018.05.18.11.23.32 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 18 May 2018 11:23:32 -0700 (PDT) From: Anders Roxell To: ast@kernel.org, daniel@iogearbox.net, shuah@kernel.org Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-kselftest@vger.kernel.org, Anders Roxell Subject: [PATCH] selftests: bpf: config: enable NET_SCH_INGRESS for xdp_meta.sh Date: Fri, 18 May 2018 20:23:24 +0200 Message-Id: <20180518182324.23827-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.17.0 Sender: linux-kselftest-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kselftest@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP When running bpf's selftest test_xdp_meta.sh it fails: ./test_xdp_meta.sh Error: Specified qdisc not found. selftests: test_xdp_meta [FAILED] Need to enable CONFIG_NET_SCH_INGRESS and CONFIG_NET_CLS_ACT to get the test to pass. Fixes: 22c8852624fc ("bpf: improve selftests and add tests for meta pointer") Signed-off-by: Anders Roxell --- tools/testing/selftests/bpf/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tools/testing/selftests/bpf/config b/tools/testing/selftests/bpf/config index 983dd25d49f4..1eefe211a4a8 100644 --- a/tools/testing/selftests/bpf/config +++ b/tools/testing/selftests/bpf/config @@ -5,3 +5,5 @@ CONFIG_BPF_EVENTS=y CONFIG_TEST_BPF=m CONFIG_CGROUP_BPF=y CONFIG_NETDEVSIM=m +CONFIG_NET_CLS_ACT=y +CONFIG_NET_SCH_INGRESS=y