From patchwork Thu Mar 8 10:17:23 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anders Roxell X-Patchwork-Id: 130983 Delivered-To: patch@linaro.org Received: by 10.80.194.209 with SMTP id u17csp2840299edf; Thu, 8 Mar 2018 02:17:39 -0800 (PST) X-Google-Smtp-Source: AG47ELvDwbrFuRkO1hxL+VVytDJuiJFleEH7zklk8jLz0EyGF5ljxqtkpASzKb8Jav4oRY5Or5Dj X-Received: by 10.101.82.12 with SMTP id o12mr20483075pgp.126.1520504259299; Thu, 08 Mar 2018 02:17:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1520504259; cv=none; d=google.com; s=arc-20160816; b=Ia6OF4eMWNehS6QTlUhf847reHtxzZXAGgrBdUkzIhSn5QcG6oqxlR/zjfOy3ZQrPE 4tiFmngshHEImvCKunarIHdmgLoDEzRK+53ZyZ9MGr9Lr0jMYyK1NhmKEsglWEcAMBwZ bvvKVKUzntoocV9b0cZQWriEm+qoyQ1DQrGXvw/8picOYbuWY5FQtTDDZhldox5nZ+vY g0i0tTcxD2mQZ0faAcvAbrCewjX5ETrkS+DiWpu8FOYu46soduELidckkE0OungCPlD9 OjOmCFfhX32caPZEOe+oDAEZ4FnktzgkFYPWafZhz3R+KnwdOfC6xGhK4iTZ112G87bl aLRA== 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=GWxBc14LkpmHxNrqFUxyxDYVw9Dh1a3hdVUGCdWq8qM=; b=OXRWyH+dK85Po3SKRSG7SuFUh+lPIeVCD2M1iAe1+sHe1waN5pHGesJg3E+LOP2bWk WhfqFP8fop/uqI1uZ/fzQFUUSW4r6G2dMlF7tY6/I+ttFOzD05gY77d2jku3KEtH3Shh O4n0mAslYyudHHjmSglu1sdp3GLsQiD0/p7dl4bGPV9Dz+x+vkNMDrn+5OEMtgWqrGhS xYw1Ap9csyl398mpkVMi9g7OISg1dAJgJcWuyyDKKu6UW7LEZMDEs8ge+ab75mFUTEKZ +wL9KAVt/whFgp8fQfEipJtnemoSPBeaEB0cq7UXA0X8a8nUkmjUhQB3LWNcSopFYFu5 islQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=g7cqMDE/; 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 h10si10891527pgf.326.2018.03.08.02.17.38; Thu, 08 Mar 2018 02:17:39 -0800 (PST) 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=g7cqMDE/; 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 S964932AbeCHKRg (ORCPT + 28 others); Thu, 8 Mar 2018 05:17:36 -0500 Received: from mail-lf0-f65.google.com ([209.85.215.65]:34874 "EHLO mail-lf0-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755478AbeCHKRd (ORCPT ); Thu, 8 Mar 2018 05:17:33 -0500 Received: by mail-lf0-f65.google.com with SMTP id z128-v6so1355041lff.2 for ; Thu, 08 Mar 2018 02:17:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=GWxBc14LkpmHxNrqFUxyxDYVw9Dh1a3hdVUGCdWq8qM=; b=g7cqMDE/k8vYniCwzx2s5UrTgIXlbThIN5i9c5kF9CKuiN7WP2jZ1md9urD552bkdQ OSvTcjOw5nGQqYMiNoBsimqhm77chtl9i4P5P0uCx488t+otqM+mw50WFcXxsvh7kFUR pS5nZr6uM8P/Sogb5GSfxyV8NUWnhP6m9+CR0= 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=GWxBc14LkpmHxNrqFUxyxDYVw9Dh1a3hdVUGCdWq8qM=; b=GwXSoKUnoLd/v7oEagMLM1WL+LRtacd3iNTTPOGJ0BzmpPbQG+qI9qMCf9zeHWie1q vcphXLLkXYtKsoBhyXMV5DYaDu4YNoUXHBzSOtYU/Tei19PU+KQXcu9SqRj7oHAVIWhv wBKI4L7GGkwNN2DHXA09QmXQvtO95cHrdn5VS8k1SFKq5m84liwgwACnbynA8xroWPxu 3eNIKXim1Mae8SZ2dcsUy2I10pnHJPhaqtT1uOI9J7ph3rQToS0eetWtoEZFB8Sgr/9K 9zW1zuGMwn8ID/5nx2cfPzJXDfkVmWhf0+WLwLHk6er86JMPbAPj3OteEyGU87nv6o5q od3Q== X-Gm-Message-State: AElRT7FVCSXAvdO/wY8GQkwtCkIeMidNjXabs/J9MAobCqY90H+MN1hk gdtNgcV/4JwmfUmdmmc8FeC7UQ== X-Received: by 10.46.87.2 with SMTP id l2mr18010191ljb.80.1520504251782; Thu, 08 Mar 2018 02:17:31 -0800 (PST) Received: from localhost (c-2c3d70d5.07-21-73746f28.cust.bredbandsbolaget.se. [213.112.61.44]) by smtp.gmail.com with ESMTPSA id f62sm3939942lje.65.2018.03.08.02.17.30 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 08 Mar 2018 02:17:30 -0800 (PST) From: Anders Roxell To: davem@davemloft.net, shuah@kernel.org Cc: netdev@vger.kernel.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Anders Roxell Subject: [PATCH] selftests/net: enable fragments for fib-onlink-tests Date: Thu, 8 Mar 2018 11:17:23 +0100 Message-Id: <20180308101723.19721-1-anders.roxell@linaro.org> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org We miss CONFIG_* fragments so test fib-onlink-tests.sh can do: ip li add lisa type vrf table 1101 ip li add veth1 type veth peer name veth2 And the follow message occurs if it isn't enabled: Configuring interfaces RTNETLINK answers: Operation not supported This enables for NET_NRF (and friends) and VETH so we can create a vrf table and veth. Fixes: 153e1b84f477 ("selftests: Add FIB onlink tests") Signed-off-by: Anders Roxell --- tools/testing/selftests/net/config | 5 +++++ 1 file changed, 5 insertions(+) -- 2.11.0 diff --git a/tools/testing/selftests/net/config b/tools/testing/selftests/net/config index 7177bea1fdfa..6a75a3ea44ad 100644 --- a/tools/testing/selftests/net/config +++ b/tools/testing/selftests/net/config @@ -2,3 +2,8 @@ CONFIG_USER_NS=y CONFIG_BPF_SYSCALL=y CONFIG_TEST_BPF=m CONFIG_NUMA=y +CONFIG_NET_VRF=y +CONFIG_NET_L3_MASTER_DEV=y +CONFIG_IPV6=y +CONFIG_IPV6_MULTIPLE_TABLES=y +CONFIG_VETH=y