Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=3.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_PASS autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 66BFAC10F0E for ; Tue, 9 Apr 2019 15:29:22 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 32DA02133D for ; Tue, 9 Apr 2019 15:29:22 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=6wind.com header.i=@6wind.com header.b="hN2R/wJ/" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726677AbfDIP3U (ORCPT ); Tue, 9 Apr 2019 11:29:20 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:41905 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726396AbfDIP3U (ORCPT ); Tue, 9 Apr 2019 11:29:20 -0400 Received: by mail-wr1-f67.google.com with SMTP id r4so21464550wrq.8 for ; Tue, 09 Apr 2019 08:29:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=6wind.com; s=google; h=reply-to:subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=1w2Grvb3zRt17nsqVGz/NRBIQ/r2AITMtpCap9imrV4=; b=hN2R/wJ/h/ViCxcytpw+H5+xt728cxUNcc7L0DFIGlnfT+XfB6Vr8hGskoR1TP+pLV Z3APVD3N6wTQNwkBQloKdJDeGHmYIPXeoAu2LBrTOGZODzViLfWY6Iz9noUDBfppQfl6 p/+9CWdYitFaH+mSYYbMzFaOgprEoplHTTb99OxDeotFHCUQU41vGIjzUEvaUL/UxNkw Sc5e2STFzwpBFU3gNp5vw5eVAOyy0AHYQoukCkZbz2y4BDfQsFNqDDDXAFh69HS45GiA ssOnb3JT60VsMsbxT2pjOYmnacQNOaspMnuH2dSzOdtnrpve2YrhtZTJDO9WV2Vco7NX A56A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:reply-to:subject:to:cc:references:from :organization:message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=1w2Grvb3zRt17nsqVGz/NRBIQ/r2AITMtpCap9imrV4=; b=FMic4/PvblWFpKATSoduYdDJ49cDliRPvty4IiDpFOiYUsG26L09gVSkPqjtl6szXP kq6WqIt9mPOSijcCHvaXYdDYJGFlOgcYrfKar09wCVekIMdiDBNGGPQSgUBLbZ61zh3E 9IM2X1FcX+eJKWQS3fFPAxEMI3UYcJ8mUpFcUl8+9RTUeawf1P4kheZpP5c2NCdDg4w4 VVQRsIyPnP+HIbAz0rmwij8FSdE8Ea0dJvzFf5BPvldxnYzNlOO2TJ7PSWGdNLsZNjuM IPUS/mo53I23nK8fYngvWWzKcmYwlKOQ38gNPYBwUsnyCshRZxqfj/bverizCo6oQIGt CAGg== X-Gm-Message-State: APjAAAW4K/NCOW1xafXDWbWH0iS/VEN3+bbSDStpsDgXhwzeNzFeh/2d PDFRacg1eV0PekdFOvmzqFDBm7lvjUM= X-Google-Smtp-Source: APXvYqxVIxYYydQya5fu9YLx8m9ns1lctBBKJVqoF37h7sk6FI636KMuGyFjoVBl2rSvuI/sCQaF6A== X-Received: by 2002:a5d:4907:: with SMTP id x7mr20579782wrq.133.1554823758434; Tue, 09 Apr 2019 08:29:18 -0700 (PDT) Received: from ?IPv6:2a01:e35:8b63:dc30:ec25:dfb9:bf4f:5605? ([2a01:e35:8b63:dc30:ec25:dfb9:bf4f:5605]) by smtp.gmail.com with ESMTPSA id h18sm40413730wrt.97.2019.04.09.08.29.17 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 09 Apr 2019 08:29:17 -0700 (PDT) Reply-To: nicolas.dichtel@6wind.com Subject: Re: [PATCH net] selftests: add a tc matchall test case To: David Miller , lucasb@mojatatu.com Cc: jiri@mellanox.com, netdev@vger.kernel.org, bjb@mojatatu.com, kleib@mojatatu.com References: <20190405122024.2073-1-nicolas.dichtel@6wind.com> <20190407.193231.154740375748044068.davem@davemloft.net> <20190408.154543.2219622658510071255.davem@davemloft.net> From: Nicolas Dichtel Organization: 6WIND Message-ID: <3a49a296-a552-0870-7cdf-2c6d5f991d10@6wind.com> Date: Tue, 9 Apr 2019 17:29:16 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.6.1 MIME-Version: 1.0 In-Reply-To: <20190408.154543.2219622658510071255.davem@davemloft.net> Content-Type: text/plain; charset=utf-8 Content-Language: fr Content-Transfer-Encoding: 8bit Sender: netdev-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org Le 09/04/2019 à 00:45, David Miller a écrit : > From: Lucas Bates [snip] >> This would be a documentation issue - the usage of nsPlugin is not >> covered in the README. I'll submit a patch by end of the day tomorrow >> to address it. >> >> The namespace code isn't mandatory, strictly speaking. It's not >> required at all when running the action tests, only with the filter >> tests as those need a specific device to be attached to. >> >> The actual problem is that the nsPlugin creates a veth pair using the >> names found in the config file (DEV0/DEV1) - but if you aren't using >> the plugin, then a port won't be created. The intention is that you'd >> create a port manually before starting the tests. > > That's poor behavior. > > If I just want to run all the tests, I should be able to just execute > the script with no special arguments. +1 If we want that people use those kind of tests, it must work without any operations. Regards, Nicolas