Received: by 2002:a05:6358:c692:b0:131:369:b2a3 with SMTP id fe18csp1479298rwb; Wed, 26 Jul 2023 13:11:51 -0700 (PDT) X-Google-Smtp-Source: APBJJlENtGxwmK1Cyr+udZ6pNUBAZMAAsgZhc2yCPt6Seii/1+wGBJSeioX/8zQ1EvsSnq2Lu4fG X-Received: by 2002:a17:902:da8a:b0:1b3:fb76:215b with SMTP id j10-20020a170902da8a00b001b3fb76215bmr3466008plx.48.1690402311015; Wed, 26 Jul 2023 13:11:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1690402311; cv=none; d=google.com; s=arc-20160816; b=HQn4EKOmYjY8CX4KEfFRAVnyvbeYmCw55hlEtnVMamaUdFwv0PQrfyNXMwrMtXz0fc MtrEUoHbeSbG6e3fJwIhiDYaKVC9uNpuktXuSH00BNr5H9FUfw8MJTkg/Xp9oHISdx60 1SwhbzMdFfGZ2WP672Evs+P4uo70BMsa5bIN3QC/TjZI2FrCkbqpNIG8qs7b3YR/+OYt rmnYFFiNcIcdOkVWdhGsqo8Y2lkjnh4CiOKlEz0r2waC1eMdDCUJE6Hj1qnjiAedMCVC rsVca+hDzuMWXpE5gGr4XzMSuNYvbSkGeDxfKKTSl6H1N54XdpiiSJhSG7Rv/6nCjAqJ AClw== 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=0ZkfxuuQUI6WS1OsCy4f4xk/TS/NLkS7ZKlAlhCGBD4=; fh=Xx9AsCgFUBFE78uebQYDRJv56n8gnT1lEo+yN9q25pU=; b=ayWWyoEr2n2Gd77W/HK+8kqudQ0+szkD7t+12IZ29G7HmsWveVHQiCcWTsm1jk0YmP N757z1gG8Gw6zZIhHlgyMcXE1TAr46AeSdRrqad0VjdhCne7XKIkVlKBrkIgDWOZDul1 YQXJadq/5XBYoklszXlYM8Ewk4ELdMgY6WwrwS0likzWGY8a9V3KDP/H3ESf9PhIyuhl QcnxeWXPhr+eNjsiUPpPiNnTwST9x7Po6vHdsr1tOcEWarOuW9Ukizt/p8yrbdX4n7kz xftocEbx/+0hgM2SevLa3nCdJH+LkTQGEAMU3KDT70uhwZsKBSLU3LNwuJbC1YHtnaDO dQYw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b="i0oJ/x71"; 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 d13-20020a170903230d00b001b9736814b6si14470374plh.309.2023.07.26.13.11.37; Wed, 26 Jul 2023 13:11:50 -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="i0oJ/x71"; 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 S231249AbjGZSjR (ORCPT + 99 others); Wed, 26 Jul 2023 14:39:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38254 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229483AbjGZSjM (ORCPT ); Wed, 26 Jul 2023 14:39:12 -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 A64DB1BF6 for ; Wed, 26 Jul 2023 11:38:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1690396700; 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=0ZkfxuuQUI6WS1OsCy4f4xk/TS/NLkS7ZKlAlhCGBD4=; b=i0oJ/x71pY4hcc4ApJlqbN1g+GUDIS9Vg8iTAS/adzcXN0rx6T+QevqxWNtd4HwXrlfwin BN7Aq0TOqiQukLTuANQ9mLCyreHgSJH8gfpc4sV1qdQir1s98eXE0YJTCJIMXsgFv9tKP1 KQaLFFR9LPbvOkkGyizM7GwJ1PxGkUo= Received: from mail-lf1-f69.google.com (mail-lf1-f69.google.com [209.85.167.69]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-62-mpCvUa04OS-Kj-QKpzkxog-1; Wed, 26 Jul 2023 14:38:17 -0400 X-MC-Unique: mpCvUa04OS-Kj-QKpzkxog-1 Received: by mail-lf1-f69.google.com with SMTP id 2adb3069b0e04-4fe0e1dfdbaso86585e87.1 for ; Wed, 26 Jul 2023 11:38:17 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1690396696; x=1691001496; 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=0ZkfxuuQUI6WS1OsCy4f4xk/TS/NLkS7ZKlAlhCGBD4=; b=CW2YDnioh8WOQYrdMD1oJyC1u6unGM3ByCI1Fj4/oNdBk7eh6M0bK4oMNt/UOMZpZl rlQVupeh7Bp/R6QbgpWuCMEcQaaSXU1VPmqonpTM/nT59BHkgrklFFgdqpY6LixwF/Rz YDj5DzpJ/NkDvok+CwB4bsiVEQNckmHghvklBu/X48IQ7/O/qN4RBz4X5prHWavMHgOq CtBCqhEgVGk77HrHpzyATvHmYNqyFCe5gDIRYhfIuf1GmkRQtb6HRovg3B2yhqnn9h3Q 0mbkjaBCDMHUXMvqbOpxK+OU6PS/VQEL3ZN4Dy3+5aMobxG//55wZwzVkOQbc0VLdwJL E1rQ== X-Gm-Message-State: ABy/qLY9VzThwLtJ0s709X8oL5GzLDTCVJElai89VQ1BxktPOZY0tREn pHLd2LpT7ddQNgWNjcZtY2qXi3gSq0sy9huTXy0is42Kpq4LaO1ldzdWctHX2+FtpKgROthOg0Z l7o/FeUHRcCtm5z+iAkoIL1Dx X-Received: by 2002:a05:6512:32aa:b0:4fe:d9e:a47 with SMTP id q10-20020a05651232aa00b004fe0d9e0a47mr2160161lfe.69.1690396696360; Wed, 26 Jul 2023 11:38:16 -0700 (PDT) X-Received: by 2002:a05:6512:32aa:b0:4fe:d9e:a47 with SMTP id q10-20020a05651232aa00b004fe0d9e0a47mr2160137lfe.69.1690396695997; Wed, 26 Jul 2023 11:38:15 -0700 (PDT) Received: from redhat.com ([2.52.14.22]) by smtp.gmail.com with ESMTPSA id v2-20020a170906380200b0099b6becb107sm8669173ejc.95.2023.07.26.11.38.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 26 Jul 2023 11:38:14 -0700 (PDT) Date: Wed, 26 Jul 2023 14:38:08 -0400 From: "Michael S. Tsirkin" To: Bobby Eshleman Cc: Stefan Hajnoczi , Stefano Garzarella , 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: <20230726143736-mutt-send-email-mst@kernel.org> References: <20230413-b4-vsock-dgram-v5-0-581bd37fdb26@bytedance.com> <20230413-b4-vsock-dgram-v5-10-581bd37fdb26@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230413-b4-vsock-dgram-v5-10-581bd37fdb26@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_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 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. > -- > 2.30.2