Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp11186147rwd; Thu, 22 Jun 2023 09:46:18 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7eG/0dey/adCF5Qo5hm70tYWBsbS59KTcxrZCj4iQME8hpz1KIbUnQExcEJwZ/IaRTe+YZ X-Received: by 2002:a05:6a20:4402:b0:125:11da:f951 with SMTP id ce2-20020a056a20440200b0012511daf951mr2897362pzb.45.1687452377856; Thu, 22 Jun 2023 09:46:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1687452377; cv=none; d=google.com; s=arc-20160816; b=id8zBCLkKGzFmyE4iIFxC/mAK0StThGz7vF+/eK9wKFblSDEGoh1zILWRoNZABKaPl QOtAmBq22a+G8DrfwJHnrkzMMFStN9K/ZurUt+1QW3n2qaWjeG6y6AYh/40qlMUNjiPC 8pCamJ8gdI/oDj9pL6oYWxUkpTmPWBHS+PXg5Xyt3HSxx7gesZoSoVztjhiVK510Vu7i 4cbTygN9fbxizYO9g/gderEmjJm7OmiXSnyU07oKA1sJ6HgASGqzFCF/7MbIoN2tiobA IS2/rGmeidVO6NrirJHroSFIUPIXFeEt01/PAqcWoULF2Eb6n+jnMBKXc/1g3aEOkSpj yJ0g== 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=LHj7B9f0CgOb6vLBDwdZy7CybIY89mtFfpP8ghtMr90=; b=ot3FFX3WZTSD/thB0/0vjrD9SQ25ILL+lc9UbKzFo0Jl6Mj6erzDphQXjEFejZjKO9 eDFJZ5UKkShh2WeITG0PKhB9EKdab6ptlliSNDPAYTCsQs3M7LcdIHolHS7NAqioOKnY Z78aRKzVizoyUw7nwTa7H2lxZe5MtPPUkKHzCtDHo7tvZ8yNHfxkPYzN/2ux4W7pzjUK k4o0AbMKnpZdAlCeP+l01O2N5Co918Hod0eT3vaybzNbCaXhhHcMnpKswUo1E3rn7lby 6P5AMafyeXsBotrufZMs8gRLZXruNfl86z6flK0aFJ9yVtp4GJ66GX52qw+MleVd8MRx toRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=XgQCK5ER; 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 t18-20020a639552000000b0052c7ad564e2si6637417pgn.707.2023.06.22.09.45.59; Thu, 22 Jun 2023 09:46:17 -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=XgQCK5ER; 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 S232527AbjFVPc2 (ORCPT + 99 others); Thu, 22 Jun 2023 11:32:28 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58680 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232528AbjFVPcH (ORCPT ); Thu, 22 Jun 2023 11:32:07 -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 AE4C12D52 for ; Thu, 22 Jun 2023 08:30:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1687447767; 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=LHj7B9f0CgOb6vLBDwdZy7CybIY89mtFfpP8ghtMr90=; b=XgQCK5ERgYCAtUZmrNaAgYisg63Jgmbq3LFmIzvxlwq64JtxOzlLpO6qRk0lsfx5zOANIT TjrfjXHSTuGjt7Wd8ip/AU1zyLm8VghIPujI5ivrvZsUuW+mG5mhi+NREljwd4CNwfO0DR TwNwo/MyZ5dzk/x4YDQzKEsaPuf7/8U= Received: from mail-wr1-f69.google.com (mail-wr1-f69.google.com [209.85.221.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-79-yWvOwI8bOFmwXRXLVvcx7g-1; Thu, 22 Jun 2023 11:29:19 -0400 X-MC-Unique: yWvOwI8bOFmwXRXLVvcx7g-1 Received: by mail-wr1-f69.google.com with SMTP id ffacd0b85a97d-31273e0507dso2042930f8f.3 for ; Thu, 22 Jun 2023 08:29:13 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1687447753; x=1690039753; 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=LHj7B9f0CgOb6vLBDwdZy7CybIY89mtFfpP8ghtMr90=; b=er4DxdM9FbwSqnoo0554iiEZVJOGjTIEJaXv/2l/5xwZ28ZvMRDDTzLDPKhB1+R2QC NbcanSeCT0t7pYyeW+237ccSyWMSycGuBoA/e7PK5eMnrpAGriUzwzV373WIGcOcfEhz JQP/8NjrsHMorPooSRAbhAM8ra3lGVkvY5FOaRNJvzcmPy9DCpwPe4ZriytwzfteIHc4 VvkS1Nb5ibnUmknAZpoGg3NiwWUl3e9wegnNkwuoH5VpDttwp3Nw4NMkBP1S5s1gKk1w W0kxpyV53CosFoKKGgGLjhcz68Qeq8rXFlrNkxNos1Jef2rNqK/aR8xre660TGEPNNc6 0R+A== X-Gm-Message-State: AC+VfDwp3EbWBWgpi2XZ1XeA+FX9BEhzh66CstLkwTB6D2lqVfMUUqxB +8+6xt6VTrcFrvcbLoz/gU2TVOAGynjuUqRnry0NDIDqkX/Lpe1B07UUtNdvj4Cdwjyyqs5xkjP U1nrVSjwY+cZymvIlgBTGdiSE X-Received: by 2002:a5d:4a45:0:b0:30f:b9a2:92c5 with SMTP id v5-20020a5d4a45000000b0030fb9a292c5mr16230754wrs.49.1687447752862; Thu, 22 Jun 2023 08:29:12 -0700 (PDT) X-Received: by 2002:a5d:4a45:0:b0:30f:b9a2:92c5 with SMTP id v5-20020a5d4a45000000b0030fb9a292c5mr16230739wrs.49.1687447752542; Thu, 22 Jun 2023 08:29:12 -0700 (PDT) Received: from sgarzare-redhat (host-87-11-6-160.retail.telecomitalia.it. [87.11.6.160]) by smtp.gmail.com with ESMTPSA id p7-20020adff207000000b00307acec258esm7389420wro.3.2023.06.22.08.29.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 22 Jun 2023 08:29:12 -0700 (PDT) Date: Thu, 22 Jun 2023 17:29:08 +0200 From: Stefano Garzarella To: Bobby Eshleman Cc: Stefan Hajnoczi , "Michael S. Tsirkin" , 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 v4 5/8] virtio/vsock: add VIRTIO_VSOCK_F_DGRAM feature bit Message-ID: References: <20230413-b4-vsock-dgram-v4-0-0cebbb2ae899@bytedance.com> <20230413-b4-vsock-dgram-v4-5-0cebbb2ae899@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20230413-b4-vsock-dgram-v4-5-0cebbb2ae899@bytedance.com> 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_H5,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 Sat, Jun 10, 2023 at 12:58:32AM +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(+) LGTM, but I'll give the R-b when we merge the virtio-spec. Stefano > >diff --git a/include/uapi/linux/virtio_vsock.h b/include/uapi/linux/virtio_vsock.h >index 64738838bee5..9c25f267bbc0 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; > >-- >2.30.2 >