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 ADC11A04AD; Tue, 8 Feb 2022 11:00:14 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8714D410FD; Tue, 8 Feb 2022 11:00:14 +0100 (CET) Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by mails.dpdk.org (Postfix) with ESMTP id 28EA9410FC for ; Tue, 8 Feb 2022 11:00:13 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1644314412; 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=72DH81/8tZPkA6LhPU1Xu+hx16zyeRI2rtqPxknEGOc=; b=MEYrQRg/WUa3upw2VbEwfHFTX7PH3Rnd8FPYXqI1uPyFSi4SUA4AVxjCC05yzp1eUXN3Kw 7ha5qaIZMTuK6GJTlSjpMoQPznoZHqdZbRDR1b8jzFeE/76UitnikLHDgFDUrdFpoWIrHz Rqw4CmJc4L4I9JHtIgqszuZRrZOwsGc= Received: from mail-lj1-f199.google.com (mail-lj1-f199.google.com [209.85.208.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-21-Tihrqmu7P3uwANDASDZMFA-1; Tue, 08 Feb 2022 05:00:11 -0500 X-MC-Unique: Tihrqmu7P3uwANDASDZMFA-1 Received: by mail-lj1-f199.google.com with SMTP id p9-20020a2ea409000000b0023ced6b0f51so5833437ljn.19 for ; Tue, 08 Feb 2022 02:00:11 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=72DH81/8tZPkA6LhPU1Xu+hx16zyeRI2rtqPxknEGOc=; b=sAh/eRn4xKZ8aGTkmWvgYIvRM5RudJmZ9eQAu2svA/i43bjhNUWGBfebQQ1nuqZaZh I6/3WK5dIopBDq1DG5H1TXaM7UsexwP8qoaeiYtjUZtjzn7ajyif8EvyebsaBpEOyDnc L+irEcvV5iLeWh/zCxaMxBOkiJLsmIXXRwr425nKE9j7Ayvtz1zx/Fxt73ga3DQoRwBX lkL9iLo7A/YruGgEVkxMBiJl8lGwslqr0MDJyhxRW88tT11MK8fzqyqpY7nPSW2xYP55 Ztu4hO55CBhi7V63aP0sxREeby9uPg0icB9a3ia7iPwxWj4g84+OdsHcBBQPIG83qaVD FNuw== X-Gm-Message-State: AOAM5303+c2MnziOcpumbIED0d8+G7Nl9+rp1N7d3KfxzmSKxAvzGGmt UFHgu7YePAmvfVIf7msjKEIzOFjlPfd9vn4Ae4j9ZRfn5hWeHEpPQCKpdOXGCnjBzArIW79U1pG gqxPAy50nkfWfb0oGpZs= X-Received: by 2002:a2e:878f:: with SMTP id n15mr2300951lji.159.1644314410080; Tue, 08 Feb 2022 02:00:10 -0800 (PST) X-Google-Smtp-Source: ABdhPJzSwGtaXZcl2IgqfUb9E0YnHs6ApdRElNzqXu6qUILhAoSvuPZZ08zWuezsr+h1buMeqzJapBKcu9v6NJZjtbg= X-Received: by 2002:a2e:878f:: with SMTP id n15mr2300940lji.159.1644314409920; Tue, 08 Feb 2022 02:00:09 -0800 (PST) MIME-Version: 1.0 References: <20220123115927.76130-2-cfontain@redhat.com> <20220207102129.59170-1-cfontain@redhat.com> <20220207102129.59170-2-cfontain@redhat.com> In-Reply-To: <20220207102129.59170-2-cfontain@redhat.com> From: David Marchand Date: Tue, 8 Feb 2022 10:59:58 +0100 Message-ID: Subject: Re: [PATCH v2 1/1] vhost: move fds outside of VhostUserMessage To: Christophe Fontaine Cc: Maxime Coquelin , "Xia, Chenbo" , dev , Christophe Fontaine Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=dmarchan@redhat.com X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset="UTF-8" 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 On Mon, Feb 7, 2022 at 11:22 AM Christophe Fontaine wrote: > > From: Christophe Fontaine > > FDs at the end of the VhostUserMessage structure limits the size > of the payload. Move them to an other englobing structure, before > the header & payload of a VhostUserMessage. > Also removes a reference to fds in the VHUMsg structure defined in > drivers/net/virtio/virtio_user/vhost_user.c > > Signed-off-by: Christophe Fontaine Reviewed-by: David Marchand -- David Marchand