Received: by 2002:a05:6358:11c7:b0:104:8066:f915 with SMTP id i7csp1970149rwl; Fri, 31 Mar 2023 22:09:46 -0700 (PDT) X-Google-Smtp-Source: AKy350bzy/5D6XhElkQa/7RCzqSvbU5FXkejXtThoeCphJH+WoMfzxJg+m/5Uo3wiGZnq5L0mZmH X-Received: by 2002:a05:6402:1d48:b0:4bb:afe3:e0a with SMTP id dz8-20020a0564021d4800b004bbafe30e0amr9732270edb.3.1680325786061; Fri, 31 Mar 2023 22:09:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1680325786; cv=none; d=google.com; s=arc-20160816; b=A9/L2hBLY3vxVQNAmqn4Jaoe/6RuLgNX9802/JWIJqfqOh3bDmxc8QgZemYcEEiwYy P8lX9k/3aBQixBnsgzoM6spSy0wU2ABUlBfP8mHLnjPLXReq/mGkFkaRg3bBIOyrvEUO kGV15pej5jkOAeFbFIqMDDGPc5xyZjXLzlg3D3GRVvrbqDuDRsdT4HDYbvnE/B5YrSba 9K0Fs7bwUI+nR+S6TV2sinc+CLh7Uj5tlHS1xNoW/9rG4BbDKcmvX0tNfWObAXry1bYz pOqc+MzFLepE9yo3m3eMw5udN0ekZ9sCnjSAInQTFmorO0uesnuQvkilk15eFVziFs8h FL0w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date :dkim-signature; bh=X2W64V8KUCq7jchmxwEvJPNAU92CQdQ2HVzSSEp4Mek=; b=J0DWd/Klp/htisFMFd2CPQ50KiRcKIPTdpwa5XCiNuomDxF971FR9CdcLoSHvTHO1I wPDyma4HaYuVxwJ2ElQqPXhN6nTUOkv+22ukLHJHXamezMf58/yf4mc0nlN9gh29Mlm/ isi1WYst0UCFUECJN5jVeG7ljxM90ySi/Mc1QSosYckeYG+hFMSJ6xgXOFl+n8jMW98y 3YC51n5obyB4aMZ7N3LG5pbw3gD8Hht5BgvVaNd7uZ/AWtHcCntPUiStRdidn2DgMhpG QhNd5rlTiLu8ql8Ybo1vQjgjrhYCZCFy9dLzk/O0ywnargMDpJQOZHzMe7VSOR8IGOuX /pfw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="XLSXDD/+"; 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=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id b13-20020aa7c6cd000000b004fb8724cc4esi687088eds.292.2023.03.31.22.09.15; Fri, 31 Mar 2023 22:09:46 -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=@kernel.org header.s=k20201202 header.b="XLSXDD/+"; 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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233492AbjDAE00 (ORCPT + 99 others); Sat, 1 Apr 2023 00:26:26 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:50618 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232111AbjDAE0Z (ORCPT ); Sat, 1 Apr 2023 00:26:25 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id AC4A91E713; Fri, 31 Mar 2023 21:26:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 3630361924; Sat, 1 Apr 2023 04:26:24 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 60991C433D2; Sat, 1 Apr 2023 04:26:23 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1680323183; bh=g5OXxn6VSpzyfmEVpzQPnAo4G3AknW/LtV8X932z1AY=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=XLSXDD/+oG6Zwn8ARpvW7dAYxLywQnaS6IRQ94R8f+0qYiEn2n4MC0es/eYWKnv+r N7XuDgvAfrBfR3wnHatwIDJx3cRfmDPZXTnGVTGjgCE3rmGd0GqLeTdkffNaH38Sdm 0EQBKwM1DlR17xA9XcKgo1bdLelDwdPogxJXWJlq1MCj+uTqFnFX3DB0uAnTCUeti/ 1cF32OPylAyhsnttQYVCU+Y/oH5td0B3a6R+uYuv29ptUYi6rRw3nipfA/YkxCYn0J Ki7cBFeh4ztYAcQsMoPj//EbjUB9OTqJY/wYVnS3dA0mRdSKH6g5yga7JO2ILaAvQj OaTvk1+MUJLGw== Date: Fri, 31 Mar 2023 21:26:22 -0700 From: Jakub Kicinski To: Felix Huettner Cc: netdev@vger.kernel.org, dev@openvswitch.org, linux-kernel@vger.kernel.org, luca.czesla@mail.schwarz Subject: Re: [PATCH] net: openvswitch: fix race on port output Message-ID: <20230331212622.44256513@kernel.org> In-Reply-To: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-2.5 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS 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 On Fri, 31 Mar 2023 08:19:09 +0000 Felix Huettner wrote: > 1. An openvswitch instance with one bridge and default flows > 2. two network namespaces "server" and "client" > 3. two ovs interfaces "server" and "client" on the bridge > 4. for each ovs interface a veth pair with a matching name and 32 rx and > tx queues > 5. move the ends of the veth pairs to the respective network namespaces > 6. assign ip addresses to each of the veth ends in the namespaces (needs > to be the same subnet) > 7. start some http server on the server network namespace > 8. test if a client in the client namespace can reach the http server grunt.. please read: https://www.kernel.org/doc/html/next/process/maintainer-netdev.html