Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp7568517rwp; Tue, 18 Jul 2023 18:16:19 -0700 (PDT) X-Google-Smtp-Source: APBJJlFfLNIvNPAQ+pCx0tIW5EGykPNrCOD5macrOwzhYmZ7I9h5QbOFcdF0TIA7N5kwc/ssJMqP X-Received: by 2002:adf:fd52:0:b0:313:e5f2:7cbf with SMTP id h18-20020adffd52000000b00313e5f27cbfmr2951370wrs.58.1689729379638; Tue, 18 Jul 2023 18:16:19 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689729379; cv=none; d=google.com; s=arc-20160816; b=kT/EE/jhBR7xOBMKnNojs0ji49hRI6eZU++b9UG7xt+1+HuzZdkb847V2P10AqYOqI ADUbyFk4HrF8GbiYdtvTmYSKSPOpMHp6l7bJIQFQa6bAXcfGTPzfg+e/RgsRfJP0CMZp 95IBokd+6unkXBshBlfOPdcKG7Vb4hUxrPt8MBO/3MshfgXikWYRPHaZsygFHlIPt2Ao NXlPlCAP3J/t/GVe51+l9AbTA43nTdyXz+tGsoh/RB+5rahMEsYNcSAsSn+0a5NadgbS hHuQQaIhByQfc/XFACgTC5ApGgSzRS7T4u4p0F3hJkgLgWtgtLd64TZoBfGibzLjQH+g wxrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:message-id :content-transfer-encoding:mime-version:subject:date:from :dkim-signature; bh=p5UDtnqRbXOwSk4kv7KpsqiuRSfPeujQxTt7caqoeag=; fh=jejeGpHkr9vVlEyvdVBCSLFut92eNP6vAI+O1tx9vp4=; b=zv9eUuFpjJiRUCef/w+aZDhzb+sP4iNNgj9ll5XWa3HekAYrBiB0mCRqUXfLQ8Hj9F mYM+8K0OY5IPrj0pL9fj00jWKof8b4x21elYNPBL+dgVz1Yak/akpCyoJ7Br8zYVMxyv 0pPRDCSqJLx4/Nw4T56ODznH7PTMejXKZ4W80K+ZueHZN3igSHSXgv7MOmxpbEs+vqOA 3fw+1k8LIyITquBUlnPtUXQrhCi4eGfM6rBBC11jZTIWmlZ9lEq9VHI8FtcTdGCix6ky ZSQ5irmxWovauU4Ej6AD3jtp8BA03HiCN+W0pUJCLteNTcUB4mL3vL8qwdN33Y79Kgdd SFxA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bytedance.com header.s=google header.b=Bzc5QYph; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id q14-20020aa7d44e000000b0051e33b22db7si2061136edr.497.2023.07.18.18.15.56; Tue, 18 Jul 2023 18:16:19 -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=@bytedance.com header.s=google header.b=Bzc5QYph; 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=QUARANTINE sp=QUARANTINE dis=NONE) header.from=bytedance.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229902AbjGSAuj (ORCPT + 99 others); Tue, 18 Jul 2023 20:50:39 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46986 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229521AbjGSAui (ORCPT ); Tue, 18 Jul 2023 20:50:38 -0400 Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8D5D519A9 for ; Tue, 18 Jul 2023 17:50:15 -0700 (PDT) Received: by mail-qk1-x734.google.com with SMTP id af79cd13be357-7680e39103bso364058685a.3 for ; Tue, 18 Jul 2023 17:50:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1689727814; x=1692319814; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:from:to:cc:subject:date:message-id :reply-to; bh=p5UDtnqRbXOwSk4kv7KpsqiuRSfPeujQxTt7caqoeag=; b=Bzc5QYphkJxBJAAVGcKxoftfnIy9ixoapstjfZaDHt+8ignmoEtHuP1QMFfV/NgdZv 3sj5ZjysfQgDx4p0HKOtFfmPSLhf8q9ZrgG0m5jUcvca0sYjsElAG49iWpsKB4o7xNlw uAQ40QIRMt+3ilnWtx70o1O4HaBVrlCrik+wNvo96xyR4+3Q4cUVkFT5sX2tg+JhlBe+ hSQ//wu9r44PASXmqG6/Xmmv+nIq7JhrBez2ZRRnULIsZkr3/pE+EpOBNqOpyyWWX28B g5owX/BThJ1OiSg+ZKlYhgtlbmLJZLHH8juDYc38OwYMTHaeoKsA4gvu2ohtJ4f634Uk w1RQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689727814; x=1692319814; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :mime-version:subject:date:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=p5UDtnqRbXOwSk4kv7KpsqiuRSfPeujQxTt7caqoeag=; b=IpUCNJqOTZUsGzedeaI/YhBYAuwSqr4o/sJ8awvGioEjsswsoODdmz1ZqxzGwDJ4+M uVczJC3oTiKuDPClHfvofQ+IymbZ2r5kVUkVp67Nw/KfJwtekujYgnP25DpC6U8UBza8 qA+RGC4R3bMVl9nkpYwN5pgXIeOQGLTpT7MFufU5GelOECyplS0dnjIqrmKhTHZeFgkJ fjKzJ1AZozIe+URZ+bwGui9fN14jsm086h0FES1lXyPVsWvMy9xmkKhcUkH7EEQjS41p zKW4E1Sn5jd91J8G26ebGKaL0G7Uj2z5qCA/b2KosfAwE/rr0eBaLiRnTfs87Z7aAU5A W75Q== X-Gm-Message-State: ABy/qLYY9+GET5nWUzm0stXR8hMhiZgbyF9BNefYTRSl8IW6tReMM66v EZ6Y0diZdVyFS9q964EuHtbr2Q== X-Received: by 2002:a05:620a:400b:b0:767:2a7e:1dbc with SMTP id h11-20020a05620a400b00b007672a7e1dbcmr1924213qko.17.1689727814453; Tue, 18 Jul 2023 17:50:14 -0700 (PDT) Received: from [172.17.0.7] ([130.44.212.112]) by smtp.gmail.com with ESMTPSA id c5-20020a05620a11a500b0076738337cd1sm968696qkk.1.2023.07.18.17.50.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 18 Jul 2023 17:50:14 -0700 (PDT) From: Bobby Eshleman Date: Wed, 19 Jul 2023 00:50:10 +0000 Subject: [PATCH RFC net-next v5 06/14] virtio/vsock: add VIRTIO_VSOCK_TYPE_DGRAM MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20230413-b4-vsock-dgram-v5-6-581bd37fdb26@bytedance.com> References: <20230413-b4-vsock-dgram-v5-0-581bd37fdb26@bytedance.com> In-Reply-To: <20230413-b4-vsock-dgram-v5-0-581bd37fdb26@bytedance.com> To: Stefan Hajnoczi , Stefano Garzarella , "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 Cc: 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, Bobby Eshleman X-Mailer: b4 0.12.2 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 This commit adds the datagram packet type for inclusion in virtio vsock packet headers. It is included here as a standalone commit because multiple future but distinct commits depend on it. 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 64738838bee5..331be28b1d30 100644 --- a/include/uapi/linux/virtio_vsock.h +++ b/include/uapi/linux/virtio_vsock.h @@ -69,6 +69,7 @@ struct virtio_vsock_hdr { enum virtio_vsock_type { VIRTIO_VSOCK_TYPE_STREAM = 1, VIRTIO_VSOCK_TYPE_SEQPACKET = 2, + VIRTIO_VSOCK_TYPE_DGRAM = 3, }; enum virtio_vsock_op { -- 2.30.2