From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 30287A0A02; Thu, 25 Mar 2021 10:35:44 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id BA38B4067B; Thu, 25 Mar 2021 10:35:43 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by mails.dpdk.org (Postfix) with ESMTP id 3F11F40147 for ; Thu, 25 Mar 2021 10:35:43 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1616664942; 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=0bTcfp3u802E9dEMm4ZfdwDsvV+PQWCZvkQCxZDgF7A=; b=G23cvCFJUTco14NKxcHuRPMognrsPTvHDHUtA06v8p64ZhOI97GnMwrrt1pxfuol+HHtIt 4Hu9nSOYeo7Hk7N070eZbcZjltneRzja338dQvptGBVHubBEDnewrU0sEFxSjbrVilOCIJ Y3NpGT6gSC7PTqGiUKq/tNa+RlOJZCM= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-250-NhCW1j_rP9iGpgC-C_P45Q-1; Thu, 25 Mar 2021 05:35:38 -0400 X-MC-Unique: NhCW1j_rP9iGpgC-C_P45Q-1 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 70AE61084C99; Thu, 25 Mar 2021 09:35:37 +0000 (UTC) Received: from localhost (ovpn-114-246.ams2.redhat.com [10.36.114.246]) by smtp.corp.redhat.com (Postfix) with ESMTP id A7BF11007606; Thu, 25 Mar 2021 09:35:27 +0000 (UTC) Date: Thu, 25 Mar 2021 09:35:26 +0000 From: Stefan Hajnoczi To: Ilya Maximets Cc: Billy McFall , Adrian Moreno , Maxime Coquelin , Chenbo Xia , dev@dpdk.org, Julia Suvorova , =?iso-8859-1?Q?Marc-Andr=E9?= Lureau , Daniel Berrange Message-ID: References: <53dd4b66-9e44-01c3-9f9a-b37dcadb14b7@ovn.org> <597d1ec7-d271-dc0d-522d-b900c9cb00ea@ovn.org> MIME-Version: 1.0 In-Reply-To: <597d1ec7-d271-dc0d-522d-b900c9cb00ea@ovn.org> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=stefanha@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="t+o+DbkG03YvvI0Z" Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.29 Subject: Re: [dpdk-dev] [RFC 0/4] SocketPair Broker support for vhost and virtio-user. X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" --t+o+DbkG03YvvI0Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Mar 24, 2021 at 02:11:31PM +0100, Ilya Maximets wrote: > On 3/24/21 1:05 PM, Stefan Hajnoczi wrote: > > On Tue, Mar 23, 2021 at 04:54:57PM -0400, Billy McFall wrote: > >> On Tue, Mar 23, 2021 at 3:52 PM Ilya Maximets wro= te: > >>> On 3/23/21 6:57 PM, Adrian Moreno wrote: > >>>> On 3/19/21 6:21 PM, Stefan Hajnoczi wrote: > >>>>> On Fri, Mar 19, 2021 at 04:29:21PM +0100, Ilya Maximets wrote: > >>>>>> On 3/19/21 3:05 PM, Stefan Hajnoczi wrote: > >>>>>>> On Thu, Mar 18, 2021 at 08:47:12PM +0100, Ilya Maximets wrote: > >>>>>>>> On 3/18/21 6:52 PM, Stefan Hajnoczi wrote: > >>>>>>>>> On Wed, Mar 17, 2021 at 09:25:26PM +0100, Ilya Maximets wrote: > - How to get this fd again after the OVS restart? CNI will not be invoke= d > at this point to pass a new fd. >=20 > - If application will close the connection for any reason (restart, some > reconfiguration internal to the application) and OVS will be re-started > at the same time, abstract socket will be gone. Need a persistent daem= on > to hold it. I remembered that these two points can be solved by sd_notify(3) FDSTORE=3D1. This requires that OVS runs as a systemd service. Not sure if this is the case (at least in the CNI use case)? https://www.freedesktop.org/software/systemd/man/sd_notify.html Stefan --t+o+DbkG03YvvI0Z--