Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp2065835rwb; Thu, 27 Jul 2023 01:11:55 -0700 (PDT) X-Google-Smtp-Source: APBJJlFXVgraUe2NEnsjqdYYJUi6/OneugL6M6I1lEUyYaRwILJfx9bXFYKeNgD/PXbl4uhJf0c9 X-Received: by 2002:a05:6a21:7898:b0:126:8b2d:4462 with SMTP id bf24-20020a056a21789800b001268b2d4462mr2136778pzc.24.1690445514724; Thu, 27 Jul 2023 01:11:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690445514; cv=none; d=google.com; s=arc-20160816; b=Ja2f79zLE8UQaZso9p6pKiEDVta2ANTJWIhusmwvhjofPsdUwHYA0+8zZ1tSCRaqV8 kWFW6f1PETKhLKLOOSRQXaMlF5APOixF+G53/ROmBR4ykxdPYtHqwqHg16tdeV6Xfuhe 5VRYWEYEfY2YsklTNX0iRfa4lyiqJX/mKj4Ay9tw5oN6tU1mrR6sGCE1ohy1uEm5ucLV sb2zvbU2SgqxXrLwN8oONTH+Nwd2iQj5+nDsv805DWaqb/Voh78ITIIsgtzcO/I8FeKo N/xTQ7MF7cC4X02vTwbb9SYiUCHnC3boSl6zvLGjopeD/Cf0Ron6Wr1lOBY25FALfih+ Ozaw== 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=j1sGpcCh25quOAjflnOwlUM9P1X98CB5H9u91wgYUjs=; fh=tg4wzEb+kNBARQIXA5fq+iiXquWBzKPK9DIr0jG7Oqg=; b=JbtlOiM2VoyBFWr8OR/BTTdd7K6+ZQ1bnAisZk8bfIGlZ/J093dbL7W3UWnNC6rzJb yfuT577drw32+33U1p0fWDFKfPl9OAa7bQLmhnoHBN+MDcN7Sb4JdQZKoudQNf2fw8sU biHrTJ1KtTKDBM6jIrpZxT89FbbHDZq9Lpf7OijsQoEzixo2eFdEakoVIrA9aoWrnasP +ZI2mxGJdoU9T8opmEJE3cosXcn67usf+JP8LqZ7nsSiXrxmWus3d/N+t/wFQUjmYgYK j3WndCVS4RDa8CTZsyuaDj1G2qorcUbGxwgYjWvYIIRz+XXGM9GHTTsGeotDi/m9qVbd VRdA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=BAfH3eZZ; 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 h26-20020a63531a000000b0055bc27f07aesi889680pgb.480.2023.07.27.01.11.42; Thu, 27 Jul 2023 01:11:54 -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=BAfH3eZZ; 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 S233538AbjG0Hyz (ORCPT + 99 others); Thu, 27 Jul 2023 03:54:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58866 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233332AbjG0Hyh (ORCPT ); Thu, 27 Jul 2023 03:54:37 -0400 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 940D130DB for ; Thu, 27 Jul 2023 00:48:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1690444111; 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=j1sGpcCh25quOAjflnOwlUM9P1X98CB5H9u91wgYUjs=; b=BAfH3eZZvfwnJ81BopGYpP+k8GjtSQzt79eEbkVEr2cVjPdLpQmwhB4yTswajYRZ6B+NFY fnfDIP4z5sl/B+tKOj4oqLqDwYTAdYRIMFU4jI42pyT3K469KCFzWOCfcsqF3klvqX6pqw hW/6iJzApCwFccZ6IjdClK7JPKCvBdw= Received: from mail-ej1-f70.google.com (mail-ej1-f70.google.com [209.85.218.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-522-WcjX1r9zM9yBkLjzNR6mDA-1; Thu, 27 Jul 2023 03:48:30 -0400 X-MC-Unique: WcjX1r9zM9yBkLjzNR6mDA-1 Received: by mail-ej1-f70.google.com with SMTP id a640c23a62f3a-993831c639aso35741766b.2 for ; Thu, 27 Jul 2023 00:48:29 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690444109; x=1691048909; 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=j1sGpcCh25quOAjflnOwlUM9P1X98CB5H9u91wgYUjs=; b=IXuykYbpBjQHN1Wqi5/mxLTo7ddE1CR+L+KmMAzer1Hm1qQNUdAGIWJwF+ex+miiSR 0aQcef7RtcCmVMfPPobjROSHSrjz2ImBQvGZHa5bqaKpvDR1Q2w/CrfYxkod54/G6Ztq MvijngRuPcrffmASk7JyA2pvAorrtBXGlsseEZwgnzxzElmM8Rp/X8R9h3rjltqIz9gr ng+e9xQqlwyeEeOCoGROe68+BsG047iGu15lQGnp/hh8TuilDjpy9zGR6xI71TQwwf7C 80n+SqmNIHVcdUeE1/oq4fFUDCN3/lfCdgP2qatO6Ds+5+1nHeU4pEcxZjquVThYVga3 FFjg== X-Gm-Message-State: ABy/qLYn9hQqfnePiSyuQWNmxV+cn6OIv+7w8sRouy+CDiHah8XBtXZv 6Xp2m1kBzdxw2mnBKfQx6o/n8+6iNBlObxqcHZ/06AVPU1Hf0gcBtI/fQwj7PTY/NAT83A/28dF lRfXE4oJEXuvV3eu5V1EJLadb X-Received: by 2002:a17:907:a068:b0:989:3148:e9a with SMTP id ia8-20020a170907a06800b0098931480e9amr1273095ejc.41.1690444108917; Thu, 27 Jul 2023 00:48:28 -0700 (PDT) X-Received: by 2002:a17:907:a068:b0:989:3148:e9a with SMTP id ia8-20020a170907a06800b0098931480e9amr1273068ejc.41.1690444108579; Thu, 27 Jul 2023 00:48:28 -0700 (PDT) Received: from sgarzare-redhat ([193.207.217.102]) by smtp.gmail.com with ESMTPSA id z16-20020a170906075000b00993a9a951fasm467215ejb.11.2023.07.27.00.48.25 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 27 Jul 2023 00:48:28 -0700 (PDT) Date: Thu, 27 Jul 2023 09:48:21 +0200 From: Stefano Garzarella To: "Michael S. Tsirkin" , Bobby Eshleman Cc: Stefan Hajnoczi , Jason Wang , Xuan Zhuo , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , "K. Y. Srinivasan" , Haiyang Zhang , Wei Liu , Dexuan Cui , Bryan Tan , Vishnu Dasa , VMware PV-Drivers Reviewers , Dan Carpenter , Simon Horman , Krasnov Arseniy , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, linux-hyperv@vger.kernel.org, bpf@vger.kernel.org, Jiang Wang 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: <20230726143736-mutt-send-email-mst@kernel.org> 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 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? Thanks, Stefano