From patchwork Mon Jun 25 14:56:05 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 139859 Delivered-To: patch@linaro.org Received: by 2002:a2e:970d:0:0:0:0:0 with SMTP id r13-v6csp4087988lji; Mon, 25 Jun 2018 07:56:36 -0700 (PDT) X-Google-Smtp-Source: ADUXVKIlQF6Nbk92FKZ8byMD4qwLG6tGbgqugawKXLOB+jMC5RPRTVxD9ZZZ/RN5n/F1HZncoHHH X-Received: by 2002:a17:902:a9ca:: with SMTP id b10-v6mr12874117plr.275.1529938596758; Mon, 25 Jun 2018 07:56:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529938596; cv=none; d=google.com; s=arc-20160816; b=aGvVuJwrny8+J+6G+5D/Adujk8l+mCWfdYJjNwSdcicjljwi7f843lgodwvN4zeXon AN7xZ1ZlOwS9j9F6d7Qdhyxpzxy5FQlStx+6KJqtomI84FEA1tTBy2UHulUKvVIb1VRB u7rKaWkOul2Uw1D84HqkvvUfb/C44a7ZPEnd1CwcAR3Baz7oRkULkBsdHeOeNQ0i8wDN TZspqXUaz/TI5mGwegYieuV5hI3pLJJzQx7+EQDn7pp8Nj9tOrrTbkWh39mxn6DlAnZi XE7vOgcQ6QbZ2lNWjbWSrSHxR816Q7FwUh0KZFcF8lxf5zcFndbjGXelaVRArPbShXw1 A6xw== 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=nQryVprnxJSnUORgcvnRLVbukJviqO2reZecUlzewE8=; b=ywbajxlLTQG/7SRf/yXXdNnVTkGvUl/fHHAkoeaL2IOzhDS+Vtg5YROugIJb5m3j5O Xp7Z7rWq95amF6Bc8nBIeQE7u+UnD9sRkjtspPFYPSG0H/+qqSwIpxgu0aL1gjLgUk1t i3ouZ9l4kU6vlEQYH9np7jLGptwmfDx3tqsFwQgLM+OI6i0UHrYCYXNdTVuUexF+nbpY 9AzTUjAo15c4rurcuX6ETHsFGSgqcXmVxk6XFlmgstENPXC5MZdORRFjUIaiBe68EwFc Ucg4GwvxIdeY0Mo2SzlacEIZQNr6BqmcJhfCpzxrpEnSlanJxBVGZN4z8ExIiAO3Gtrj azgw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=h2S2TY4X; 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 s9-v6si13721312plp.182.2018.06.25.07.56.36; Mon, 25 Jun 2018 07:56:36 -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=h2S2TY4X; 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 S934671AbeFYO4e (ORCPT + 31 others); Mon, 25 Jun 2018 10:56:34 -0400 Received: from mail-lf0-f66.google.com ([209.85.215.66]:36870 "EHLO mail-lf0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934543AbeFYO43 (ORCPT ); Mon, 25 Jun 2018 10:56:29 -0400 Received: by mail-lf0-f66.google.com with SMTP id g21-v6so14730361lfb.4 for ; Mon, 25 Jun 2018 07:56:28 -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=nQryVprnxJSnUORgcvnRLVbukJviqO2reZecUlzewE8=; b=h2S2TY4XnuYmaRQ4jFrnO5iGDHp3/JpJf9deJzU/HJjECcetoVpwqoHInGOAuU0SSr TNoqTO8MuKuTdOBmVpuLcFNJaxJi85jfE3T/kYBONJvNHp8l2Ee/fx2nDuzPZ5AGnTus LGT9EVC1tIGLAj03llfO2+pUZSw6gDAKvOnig= 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=nQryVprnxJSnUORgcvnRLVbukJviqO2reZecUlzewE8=; b=GlkV1kngGa37S4fWbNZuStXpzYe6/hQHBgk+C5VsxmJRBtk+LPpIqjDMri7lrX+JyW 3kdyEF/324Ujk+oBvUeKvsd6ZZNy8FV5G/nH4XkVrw07QFgmgBT0B6+6cyHkp/1yAVgm 74zXiozQtczbQCU51UuV8zxgN+nD14Yq0kT134O+ByVgiQ6H59AMYAuhLdHqNQx+fxqw jP31ywTBVXzDscb7jH714Y1tuOQx7o6y2rHnXSzOm/UXfSkSiHS93ut1GW5B7rjB5RD9 0UQMRF8iJGAI62t0p4kXXy/rFMmc+2GCO+BwsNFTM7ArlT5/slsBRmAtli4CglfAAqhv 8IMQ== X-Gm-Message-State: APt69E35SnuAGUpBcyQlHa7N9JVyKq5flpvINkf4pOhmidA0a05tCfN/ H4yF5pgi0Y5RdY2o7SBBDQfrEQ== X-Received: by 2002:a19:29c7:: with SMTP id p190-v6mr6557704lfp.146.1529938587957; Mon, 25 Jun 2018 07:56:27 -0700 (PDT) Received: from localhost (c-2c3d70d5.07-21-73746f28.bbcust.telenor.se. [213.112.61.44]) by smtp.gmail.com with ESMTPSA id q2-v6sm2408113ljg.90.2018.06.25.07.56.27 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 25 Jun 2018 07:56:27 -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: enable NET_SCHED Date: Mon, 25 Jun 2018 16:56:05 +0200 Message-Id: <20180625145605.13726-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.18.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- tools/testing/selftests/bpf/config | 1 + 1 file changed, 1 insertion(+) -- 2.18.0 Acked-by: Song Liu 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