Received: by 2002:a05:6358:700f:b0:131:369:b2a3 with SMTP id 15csp3535608rwo; Fri, 4 Aug 2023 06:28:22 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGNFaAZxEURdcaEnCl/XwZFqQ/bXI5hfAhcXczENYdVeKTISGZjo0AYPWC2LGCKbeG2bx0N X-Received: by 2002:a17:902:aa05:b0:1b0:3637:384e with SMTP id be5-20020a170902aa0500b001b03637384emr1490305plb.25.1691155701761; Fri, 04 Aug 2023 06:28:21 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1691155701; cv=none; d=google.com; s=arc-20160816; b=uzT/Ii0SgUdtpA3bTBWnsfNwg4D6bNm+25MqLmdJ6gPNsInRIRueKwH40CjXjlvGkg cmJZtiaPFzvAMndTAUVhPexyGCrDfdBtWNlwXVVTc64Jlp+L+6gfvH4nKssCnMXUfpsJ 7vDbSm1PgZOwTxqbVk/j69LfVvHCm30SkBs5fPdn7mafoWuQriFRQzhsB4WWidHA9bMn REWgWLS/ld0K1pf930vE4xZ8iW5La/G+76ikE7gVzUgc5C26yU3Ed14QEnLnxuTyhtn3 YFWT5CXICISz24oJeGNj4NwQndJ9UhGtgTXMxc86YIE6h+FG4mp8H4oKlm006MoxusPN ySXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent:message-id:in-reply-to :date:references:subject:cc:to:from:dkim-signature; bh=Bi7oZhJ0pwsGnsF8DihtaSZ95yhE0U9tzdVwK9en+qo=; fh=9mrpNRKoZA57jBqAqZSYYQU2F8CnOrcR5TJbTjw7s44=; b=WjgiAkYk4ZBtq1leTxssYBS9pQP6vqyOGzUjLuzRfkcsg2GFWG0Wfgxu8mp8+xiqKy GKiORIpnFT9Tae5l3GQ+gtYutbtGb/27cqjmr1tluFYkp5ItUYn2aqQ7xrIvvXxugxrX Qz5KWr57oJvU8XaizRNEZW3wdcGMlNAlmBIbK6ulQjjS4YkmBPyXepMulA9Hqc+4ceR2 y5L9wze9J2hk4eapWIfoSHzWzNHqwxppLzJmaT+ijy970NO0OygaAYkOOxzcmxoBnL+G KtBw1WMe5/GRXkDU5a9ZU0gIymFK/LAtgM9SdKpV46q9uXhX7DHWdsjgI02fpfPHHxSR rzKQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FaYhn+6T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id w3-20020a170902e88300b001bb9d64f01fsi1831082plg.85.2023.08.04.06.28.09; Fri, 04 Aug 2023 06:28:21 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=FaYhn+6T; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229978AbjHDMVT (ORCPT + 99 others); Fri, 4 Aug 2023 08:21:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33230 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229767AbjHDMVS (ORCPT ); Fri, 4 Aug 2023 08:21:18 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC04049C7 for ; Fri, 4 Aug 2023 05:20:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1691151628; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Bi7oZhJ0pwsGnsF8DihtaSZ95yhE0U9tzdVwK9en+qo=; b=FaYhn+6TmXPsx/A0NrZRkdoKjcLpVnWM3dvgNEnOi6MRtrkEClcrXoZi1ozWbxRI9+xbBH zDce1vjTEWssyr6nQs18IypraVmEDr4d0h27hc5umI30EBEz4as+sjYP9A4UNQHoTAmj3w iYIixskt6Eu9lT2w1qybwHnZpq4V+s8= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-205-4JDI8jaOPTm4SGbyil7H2A-1; Fri, 04 Aug 2023 08:20:24 -0400 X-MC-Unique: 4JDI8jaOPTm4SGbyil7H2A-1 Received: from smtp.corp.redhat.com (int-mx09.intmail.prod.int.rdu2.redhat.com [10.11.54.9]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 1061E10113C1; Fri, 4 Aug 2023 12:20:24 +0000 (UTC) Received: from RHTPC1VM0NT (unknown [10.22.33.16]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 1DF93492CA6; Fri, 4 Aug 2023 12:20:22 +0000 (UTC) From: Aaron Conole To: Paolo Abeni Cc: netdev@vger.kernel.org, dev@openvswitch.org, linux-kselftest@vger.kernel.org, linux-kernel@vger.kernel.org, Shuah Khan , Jakub Kicinski , Eric Dumazet , "David S. Miller" , Pravin B Shelar , Adrian Moreno , Ilya Maximets Subject: Re: [PATCH v3 net-next 0/5] selftests: openvswitch: add flow programming cases References: <20230801212226.909249-1-aconole@redhat.com> <8470c431e0930d2ea204a9363a60937289b7fdbe.camel@redhat.com> Date: Fri, 04 Aug 2023 08:20:21 -0400 In-Reply-To: <8470c431e0930d2ea204a9363a60937289b7fdbe.camel@redhat.com> (Paolo Abeni's message of "Thu, 03 Aug 2023 15:22:12 +0200") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Scanned-By: MIMEDefang 3.1 on 10.11.54.9 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Paolo Abeni writes: > On Tue, 2023-08-01 at 17:22 -0400, Aaron Conole wrote: >> The openvswitch selftests currently contain a few cases for managing the >> datapath, which includes creating datapath instances, adding interfaces, >> and doing some basic feature / upcall tests. This is useful to validate >> the control path. >> >> Add the ability to program some of the more common flows with actions. This >> can be improved overtime to include regression testing, etc. >> >> v2->v3: >> 1. Dropped support for ipv6 in nat() case >> 2. Fixed a spelling mistake in 2/5 commit message. >> >> v1->v2: >> 1. Fix issue when parsing ipv6 in the NAT action >> 2. Fix issue calculating length during ctact parsing >> 3. Fix error message when invalid bridge is passed >> 4. Fold in Adrian's patch to support key masks > > FTR, this apparently requires an [un?]fairly recent version of > pyroute2. Perhaps you could explicitly check for a minimum working > version and otherwise bail out (skip) the add-flow tests. I'll make sure to get a follow up out ASAP that includes some check for supported version and will skip if not. I will try to also include some additional robustness checks. Thanks Paolo! > Cheers, > > Paolo