Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp5978335rwb; Tue, 1 Aug 2023 10:24:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlFXHdFYmnggxVlIBOGUNILapNwehVTG2bBVHSzFzv4z0Iu3IUG7aoFT8MPa2FAgMvtP+YT9 X-Received: by 2002:a17:90b:388:b0:263:d1f4:77b7 with SMTP id ga8-20020a17090b038800b00263d1f477b7mr12324295pjb.6.1690910691324; Tue, 01 Aug 2023 10:24:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690910691; cv=none; d=google.com; s=arc-20160816; b=BFMW0DnV1y3vakFnugm1A9Zo7bZsEtRcn8xVJAzSJIhtven4lmoBnCY8+Ha2N3RNKC FxLUV0chR6vppVtquyDKkTsO+U9V8Orfk2m+SyC2H9c5w5uO9noO38M6SzPUUjd7FYPB JP4QPf58H+0N9s3he2K7HCXqT2KSpBEXl854YpfwUACDD133LeOh/Xgt/pyqQUcHZsmy F2hM6US2b2ehpnA44va/SBCc7u6pJFT220brjyOEAyZgZDevggqf7JfT0u0lGQ59st6n AVJk6NJ2XwN+etypBSAQtetECQttoFAaY59P5rfLqMXHLh3IyeO1nux2DnKicVdPPhsr 3t+Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=rZTW9cojqSQW2bZi6sZ+IdoqRlKJXkCjqyxPfvTXPbg=; fh=RWbGmqKj0oT19oFCo6wihJm27o4OQ56+ovrxc4VG9RU=; b=J1w+xEQRwCRifT316fbQmJCE/D3/NUHvyQCJQX+s1yk5N1TY6/QT/8emRfauMk7zns 8psLyy3VFghL18oJIHV9jL40rDW0E5kj5tyq+TusC8dSAtD97lUDths/XU1sdWEFdPbw +FYCKMPgguOl8Md6kst5CZ90MghKZphQAy/YF9yNudIeSDsj8x4XKuD+eyZ3l0DgnF4Y vARCzQaPyw65VfqVLaqJ2F/0Ea25rBOglwtSnZpvHwDi+cESuohNFIQbVEJQcb2DXIwV +8WkJD0YkDVDBPuCdXCkv3+qps78toxZI088tX9k2PZvw/5sB/4+NSztCPpSNEtCPvTP g0Mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=SlNIaGO0; 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 r7-20020a17090a560700b00262e1adb2c7si5409175pjf.51.2023.08.01.10.24.38; Tue, 01 Aug 2023 10:24:51 -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=SlNIaGO0; 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 S230147AbjHAQFt (ORCPT + 99 others); Tue, 1 Aug 2023 12:05:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:43702 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230050AbjHAQFo (ORCPT ); Tue, 1 Aug 2023 12:05:44 -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 A8BF9CC for ; Tue, 1 Aug 2023 09:04:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1690905895; 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=rZTW9cojqSQW2bZi6sZ+IdoqRlKJXkCjqyxPfvTXPbg=; b=SlNIaGO0K/NxKj6sl82UmEsODdXrIg0BcudxS4Js8fPWMk00hWkBG/ub8/ogzdp88SLqnF 7kmjmay1OkGBbssdgBSZ1s1o99em6a9PMn6cPU5a7fviYvuGSUyBqmsDsGYLxONiM1X3/u nxw5jexS/m0ZehKhVu1FbSRjLnxSyfU= Received: from mail-wm1-f69.google.com (mail-wm1-f69.google.com [209.85.128.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-37-0_kUmalvMEye9aC_L3ATng-1; Tue, 01 Aug 2023 12:04:53 -0400 X-MC-Unique: 0_kUmalvMEye9aC_L3ATng-1 Received: by mail-wm1-f69.google.com with SMTP id 5b1f17b1804b1-3fd2209bde4so31316795e9.1 for ; Tue, 01 Aug 2023 09:04:52 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690905890; x=1691510690; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=rZTW9cojqSQW2bZi6sZ+IdoqRlKJXkCjqyxPfvTXPbg=; b=CIJXrTDUW91/sYiCiVh3f1Nvwa6E8YfceZBdk/XqmmDafqm2wQmY6UX5ZDd3P4+1YV /7HqlKVH+hspqyCuYfrx6A6VSh8Q8gdLyHF9mSRJfBtd5lMXnOVrLYTlOs98LOscjhJO y236BkBvPpgzvuDGluQksWDRSIEuPteMvrqbwcEBgHi5pCLYL+TY6EYF/SJ84rb+ORho KXI5iUpUPV8/JUMXLKGghcZZK6uqTJRtACmbFvRSNpCsUKw/ABKDgPmQvKJo/mx+CHkS gtnZNkUq9fztwDq3MntiHA7qktSgwC9W5cHk0VtX3rQ9q9bkZkDcksU+aFQTVKDQKUBw vFmw== X-Gm-Message-State: ABy/qLZwMfo5wKRTzTtspoCZwthnPFrm4apNcY8gd9gr6g0FSXLH9wwh S6HkVxWE+T9krWSvtvdHwM/nOD4sTUMa5ZSQrOWY/gZbnma3l7KZhHwXnM8SJx7tfIJrpR24a6V qGbLUgbzmjOTFueEECjNoZuwo X-Received: by 2002:a1c:7310:0:b0:3fb:e189:3532 with SMTP id d16-20020a1c7310000000b003fbe1893532mr2701265wmb.20.1690905890721; Tue, 01 Aug 2023 09:04:50 -0700 (PDT) X-Received: by 2002:a1c:7310:0:b0:3fb:e189:3532 with SMTP id d16-20020a1c7310000000b003fbe1893532mr2701225wmb.20.1690905890321; Tue, 01 Aug 2023 09:04:50 -0700 (PDT) Received: from sgarzare-redhat (host-82-57-51-214.retail.telecomitalia.it. [82.57.51.214]) by smtp.gmail.com with ESMTPSA id d7-20020adfe2c7000000b00317ac0642b0sm3078341wrj.27.2023.08.01.09.04.48 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 01 Aug 2023 09:04:49 -0700 (PDT) Date: Tue, 1 Aug 2023 18:04:46 +0200 From: Stefano Garzarella To: Bobby Eshleman Cc: "Michael S. Tsirkin" , Bobby Eshleman , linux-hyperv@vger.kernel.org, Stefan Hajnoczi , kvm@vger.kernel.org, VMware PV-Drivers Reviewers , Simon Horman , virtualization@lists.linux-foundation.org, Eric Dumazet , Dan Carpenter , Xuan Zhuo , Wei Liu , Dexuan Cui , Bryan Tan , Jakub Kicinski , Paolo Abeni , Haiyang Zhang , Krasnov Arseniy , Vishnu Dasa , Jiang Wang , netdev@vger.kernel.org, linux-kernel@vger.kernel.org, bpf@vger.kernel.org, "David S. Miller" Subject: Re: [PATCH RFC net-next v5 10/14] virtio/vsock: add VIRTIO_VSOCK_F_DGRAM feature bit Message-ID: References: <20230413-b4-vsock-dgram-v5-0-581bd37fdb26@bytedance.com> <20230413-b4-vsock-dgram-v5-10-581bd37fdb26@bytedance.com> <20230726143736-mutt-send-email-mst@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: 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_NONE, RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_NONE,SPF_NONE, T_SCC_BODY_TEXT_LINE 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 Tue, Aug 01, 2023 at 04:30:22AM +0000, Bobby Eshleman wrote: >On Thu, Jul 27, 2023 at 09:48:21AM +0200, Stefano Garzarella wrote: >> On Wed, Jul 26, 2023 at 02:38:08PM -0400, Michael S. Tsirkin wrote: >> > On Wed, Jul 19, 2023 at 12:50:14AM +0000, Bobby Eshleman wrote: >> > > This commit adds a feature bit for virtio vsock to support datagrams. >> > > >> > > Signed-off-by: Jiang Wang >> > > Signed-off-by: Bobby Eshleman >> > > --- >> > > include/uapi/linux/virtio_vsock.h | 1 + >> > > 1 file changed, 1 insertion(+) >> > > >> > > diff --git a/include/uapi/linux/virtio_vsock.h b/include/uapi/linux/virtio_vsock.h >> > > index 331be28b1d30..27b4b2b8bf13 100644 >> > > --- a/include/uapi/linux/virtio_vsock.h >> > > +++ b/include/uapi/linux/virtio_vsock.h >> > > @@ -40,6 +40,7 @@ >> > > >> > > /* The feature bitmap for virtio vsock */ >> > > #define VIRTIO_VSOCK_F_SEQPACKET 1 /* SOCK_SEQPACKET supported */ >> > > +#define VIRTIO_VSOCK_F_DGRAM 3 /* SOCK_DGRAM supported */ >> > > >> > > struct virtio_vsock_config { >> > > __le64 guest_cid; >> > >> > pls do not add interface without first getting it accepted in the >> > virtio spec. >> >> Yep, fortunatelly this series is still RFC. >> I think by now we've seen that the implementation is doable, so we >> should discuss the changes to the specification ASAP. Then we can >> merge the series. >> >> @Bobby can you start the discussion about spec changes? >> > >No problem at all. Am I right to assume that a new patch to the spec is >the standard starting point for discussion? Yep, I think so! Thanks, Stefano