Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp599593pxj; Thu, 13 May 2021 12:13:54 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxoD2ZO2zW5Lm2f9J1F7yg3sgqj9u3x2PUQ46uZALOi9pKAu4xeJGIiHXubBDknD4iNkPJD X-Received: by 2002:a17:906:1f07:: with SMTP id w7mr25015384ejj.203.1620933233900; Thu, 13 May 2021 12:13:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1620933233; cv=none; d=google.com; s=arc-20160816; b=jHAFavAtBW/QzMtC7R+V40k/EBal3xM2oK//7awkMVBvSNbwe1FGVrofkAHOzKgpwm U8xWDKjZTN0eYBR1EW3UzoRzX2qb20Z8iBY9z9kdmlViTzMXEF+ZdxGF9FtsTNjvLW89 fJyDndKHVHx2N1G+QqApsrHozTrVUypLPgdVUB6OR1FT73k9f7vTbDcTiEbvfa/o9e/b zTtXVun7DgiyeoRWZQTVgJWqDaOL58DjQ18zYtSpjjTiKUWP1DIAecjRxvxQlnrfWX8x wOSnF4uCbSkj5qEzWBiqMm8kWBg1lsK3oqmDILfWZd9EV9DpdrDlBAtFsT0XS0n9sq1S NdBw== 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=MT3wo5NP4c6jdkY4rdnz2C8pxWgXXp6JkWRd1hEobAU=; b=bfDUEbwAuhU9e+sqrb7FLqyPeeEjysP+n0ad6oypLVRc5+X8T/7+OPLWPcw30S+IgH QDtTaeNQGq2KGWhOnVefsBD8w8xL7hi21DY/45cLyJkzex+gWmnI5UQWV+xL6zRN2rev /rnLyC9TUXL7joFXNoTPFrpmEwoHWRYw0HU7J+Gp4THhrp/lz3EVTEyG51mcmCX6cZyq oQJKiwzUku8dxHnEd69TtnPW9VF/lZQXy+B+GW/asTMXk9AlYqNheOlMkZnWMddZcC9D fXXb/HzSXzZ83zYOjkp4tmOOYuGpIIYamKgF5Z0zVUz26TaF15K0DioKj+a4bMXoqbPF UmUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=g9lNaNob; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id c14si4183134edr.0.2021.05.13.12.13.30; Thu, 13 May 2021 12:13:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=g9lNaNob; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 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 S231920AbhEMLrB (ORCPT + 99 others); Thu, 13 May 2021 07:47:01 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:50076 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231602AbhEMLrA (ORCPT ); Thu, 13 May 2021 07:47:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1620906350; 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=MT3wo5NP4c6jdkY4rdnz2C8pxWgXXp6JkWRd1hEobAU=; b=g9lNaNobZgESD/ykD08L/iU8xz2b8kqaQaBv2qfrx+D2bpMbtHiVGX0jYC9VhdlfJyoeVT BujTGwMo5vym45isGIlVtbE4rdDDK6737gYuuXaRtYhDpzuYIxl5qbz7BiXkqeWl9ZToHT q1qGN1mNCfJjXuA9CEptGksD0nUXpr4= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-100-ixXQS4BRP2yLlwcZdHAaoA-1; Thu, 13 May 2021 07:45:48 -0400 X-MC-Unique: ixXQS4BRP2yLlwcZdHAaoA-1 Received: by mail-ed1-f72.google.com with SMTP id c21-20020a0564021015b029038c3f08ce5aso9030628edu.18 for ; Thu, 13 May 2021 04:45:48 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=MT3wo5NP4c6jdkY4rdnz2C8pxWgXXp6JkWRd1hEobAU=; b=ZHy8bCc6j/WQvx9BnUmcyWpsWnqcPUY2yn8KCYkQ34mOEmMvjeESVbCJbPaoLs35c3 j9U1UzMS/HHifaaohXBvR4ZCy/NbTqcCJzjkn9wZNn6PMLzNU5vx6a0bAA1ewoOcKNDO 0rWPak8bycRXuNPFqR+Y2C9Iq55b4J0wfjWbn2rl3jRbzN+EmhZMq6szSdG/KJAzx7EJ RhEfdI/Dw0rmzqH9zFTVbdoLEfDcdEWk/r1DG4pAVQZ+6PaOLXJl3NZnlckqyUABJb9S 2ZUKl60rFBN75epBqKFOYVP9oe5X3vLWoITgU654/4IpkjpgoRO85eHXO2+O0bKtf9B1 Hgow== X-Gm-Message-State: AOAM532CdDhLnVkUTjVJqGtRd9po/ORUud8uoKTM2JTPy5CX/2WbdDPN saznb9TlMXgTvYnUcHuLVlt3nfiRBW9mUnnKNwNo2ccGuJH7ZlxKEUhgZ2EiWVE44NwtBMFq0km 1ioiZyHsQqwfnHmHC8vnSSY1d X-Received: by 2002:aa7:db90:: with SMTP id u16mr49671407edt.106.1620906347032; Thu, 13 May 2021 04:45:47 -0700 (PDT) X-Received: by 2002:aa7:db90:: with SMTP id u16mr49671388edt.106.1620906346853; Thu, 13 May 2021 04:45:46 -0700 (PDT) Received: from steredhat (host-79-18-148-79.retail.telecomitalia.it. [79.18.148.79]) by smtp.gmail.com with ESMTPSA id f7sm1685809ejz.95.2021.05.13.04.45.45 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 13 May 2021 04:45:46 -0700 (PDT) Date: Thu, 13 May 2021 13:45:43 +0200 From: Stefano Garzarella To: Arseny Krasnov Cc: Stefan Hajnoczi , "Michael S. Tsirkin" , Jason Wang , "David S. Miller" , Jakub Kicinski , Jorgen Hansen , Andra Paraschiv , Colin Ian King , Norbert Slusarek , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, stsp2@yandex.ru, oxffffaa@gmail.com Subject: Re: [RFC PATCH v9 10/19] virtio/vsock: defines and constants for SEQPACKET Message-ID: <20210513114543.hucvkhky3tlmvabl@steredhat> References: <20210508163027.3430238-1-arseny.krasnov@kaspersky.com> <20210508163508.3431890-1-arseny.krasnov@kaspersky.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20210508163508.3431890-1-arseny.krasnov@kaspersky.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, May 08, 2021 at 07:35:05PM +0300, Arseny Krasnov wrote: >This adds set of defines and constants for SOCK_SEQPACKET >support in vsock. Here is link to spec patch, which uses it: > >https://lists.oasis-open.org/archives/virtio-comment/202103/msg00069.html Will you be submitting a new version? > >Signed-off-by: Arseny Krasnov >--- > include/uapi/linux/virtio_vsock.h | 9 +++++++++ > 1 file changed, 9 insertions(+) > >diff --git a/include/uapi/linux/virtio_vsock.h b/include/uapi/linux/virtio_vsock.h >index 1d57ed3d84d2..3dd3555b2740 100644 >--- a/include/uapi/linux/virtio_vsock.h >+++ b/include/uapi/linux/virtio_vsock.h >@@ -38,6 +38,9 @@ > #include > #include > >+/* The feature bitmap for virtio vsock */ >+#define VIRTIO_VSOCK_F_SEQPACKET 1 /* SOCK_SEQPACKET supported */ >+ > struct virtio_vsock_config { > __le64 guest_cid; > } __attribute__((packed)); >@@ -65,6 +68,7 @@ struct virtio_vsock_hdr { > > enum virtio_vsock_type { > VIRTIO_VSOCK_TYPE_STREAM = 1, >+ VIRTIO_VSOCK_TYPE_SEQPACKET = 2, > }; > > enum virtio_vsock_op { >@@ -91,4 +95,9 @@ enum virtio_vsock_shutdown { > VIRTIO_VSOCK_SHUTDOWN_SEND = 2, > }; > >+/* VIRTIO_VSOCK_OP_RW flags values */ >+enum virtio_vsock_rw { >+ VIRTIO_VSOCK_SEQ_EOR = 1, >+}; >+ > #endif /* _UAPI_LINUX_VIRTIO_VSOCK_H */ >-- >2.25.1 > Looks good: Reviewed-by: Stefano Garzarella