From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 58FFFC04A94 for ; Fri, 4 Aug 2023 12:21:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229988AbjHDMVU (ORCPT ); Fri, 4 Aug 2023 08:21:20 -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 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