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: 136360 Delivered-To: patch@linaro.org Received: by 2002:a2e:9706:0:0:0:0:0 with SMTP id r6-v6csp1564708lji; Fri, 18 May 2018 11:23:42 -0700 (PDT) X-Google-Smtp-Source: AB8JxZqJsZrDWYr+W+26KbyGXcK6wys8wk3R74MLZFBymrHCmQvA5ZbUyRKe/Ut0mK7+0O7udhNv X-Received: by 2002:a63:6a08:: with SMTP id f8-v6mr8389837pgc.363.1526667822274; Fri, 18 May 2018 11:23:42 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1526667822; cv=none; d=google.com; s=arc-20160816; b=PjImMMSJkSdYUOKHQLsAsaFkx+iij0tIFaxvWcqc+sTkaHCeie8bChwsnmrzEByR/t 1mUY289dKsbcn6g3zRMWY1cUyG8UIkjgNm1dXVMU5VrkOsvlzcPWLSxPqY7LMm9yGYKd vmp3kFY656eWjIQt3+/rKL2yMZU/BX9pbznAEnuV61fZNG5myqXm0lcoe1k+/dVP2VQs aErxkPdi18sLV+TDGTVq83ey4/zVViaVbou4LAhQg3uuWfrdDzfAmqIdbw5U43nm3sRL lepKYPS7XUXokYf2O7ikeRwzKSyP6QC48ZAOvvAqrtJXNo0SK0WWSr00ODajscETwo7i zF3A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :dkim-signature:arc-authentication-results; bh=AUe28u+7Ud4DXF9EOPxsv8vph7pVfpmFxm1Jh4EjT0M=; b=dEqjaEeIfkd1fONroMiz8OwREGVQ7qV3511oJ0IqcvLYR5pB3umTwca8Efhw5ZfYqY LobjISizB0hcJpt2R41otGcK5WwEfRQtAuW+JoNyas8trMP86zK9xU7wNdWtslhRlCQU CxXD+IOr6tKhlSAQkZ3H57CkkZib/ZeCE67ctWn0AK/YA4DU7l1fDrFxZp821VjHy2c+ S6ZWgNplS4Ry2fw5p0g0FSUpgwIc2XY6XI9ABv9F37BYdkVZl9TfnOVO37RLQVMOxEB+ EKHu1b+ftoOphnkRVMnJYw8DbaT0W1BsCkA2dpXH/2/8bFjRcF+Nw0InK7YqrYBhOFnq jK6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=XL1RTRT8; 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 t22-v6si8401128plj.595.2018.05.18.11.23.41; Fri, 18 May 2018 11:23:42 -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=XL1RTRT8; 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 S1752059AbeERSXi (ORCPT + 29 others); Fri, 18 May 2018 14:23:38 -0400 Received: from mail-lf0-f65.google.com ([209.85.215.65]:42702 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751815AbeERSXf (ORCPT ); Fri, 18 May 2018 14:23:35 -0400 Received: by mail-lf0-f65.google.com with SMTP id b18-v6so15269295lfa.9 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=Tye8Cr1RDWzf9mjVK+I3dlKYN6cM+CmcaKted7JUZiJ7M9Lb0bOmeee2m/llN9vVam oAG+J+JSMsAxdWG2ZVdTq49zY4hJd/iKKQiY0JaRDH0gzs4E5DccCYDS7ulKiaVrwHTF b4AdMvbZzu/Kq2ZzAgkKGliUADsVeOLwHyw2F8mcAVy6P1PEOlHLJkpXSx3IEVdERuUx rH7aMScH1EmjBX2GTlL2WdH7blEg3wZhHVeGoBSug0ggI7eUVgWTFuWlJDbhMxO7a707 u3il6DwQjJ8NlJSfLCH50o5CG+4bWdVErKynyEkJx5G17Fz1pzfkPwMXqquVY0T6t7KF ycXQ== X-Gm-Message-State: ALKqPwdwyIuU9aL0/ORJPsRw7DiMQGiyYwJ4etGeEgLZSWu1fmMoSLv8 oj4jlZDIC7asD7tr7Aiknc28uA== 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-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(+) -- 2.17.0 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