Received: by 2002:a05:6a10:1d13:0:0:0:0 with SMTP id pp19csp2591763pxb; Tue, 24 Aug 2021 02:55:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJysRKL+naLCfVFGmV/96MLI/ZWZU1xZ3zUUYikiKWgVhDsQdJJjd4c+FfuMpUow4t25OIXh X-Received: by 2002:a05:6402:1cb9:: with SMTP id cz25mr15615617edb.11.1629798911002; Tue, 24 Aug 2021 02:55:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1629798910; cv=none; d=google.com; s=arc-20160816; b=DRtj/V72wpEE6sHpy5m/2zkRSBJ3GcJ/P3/bFNHuYgAQSzaHZYud6ZYqjNLJYZyYZq I5U6aaaxQcVPlHyS7XFdjPo2qoT3QvzCuOjhkHmwNcVkzLPEXa9cK1HTRIYhJ0AiznYO XcRrLwyOSWVyF/rYc4Bt2dQnNN3h5k4TjwB82pdcO6+0KHVZigPZpkyurscjC8mUcgrM 5jmygRq5WzHxwdSPnj9eZ1/ODuAWwFKwRi9yyvZXpLU4W33qVa/1Bz8Kl3kf0/JtEC8y AUU3z+sWzVCbdlzRWYTdiOBQTei2JEf8AXj3ThcYTLijXT9h8Pkl8aWdeEQ9C3PYZjJ5 ptlQ== 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=OQ7wXqd35jkq9u//jEUxGDrlsnHE5KbTspU7KytW0gQ=; b=ulALy7faofd8Th276FUjZL+Eing1NBELddR49Nin5GoJ7QVhKXX1VwjUnoDT1gINws ii9o1RNYNSw2SKpX7BWsO7ROFsNe5kO+K86NnyGiCRynEdpqP/49zwvH6MPDY/w1JcU/ U26cD08lsZqxvGTHO96lciqkqEa32+38XuZsIDGboJYQIEzYn0Vgvbry+rkA2y5PHGt/ +SIwBysxlGxxLkEfDY5JMNaGAJxcgXcfPOCqNBLlFdvRJ8t0ZUxIWSli1c6MU0PdLetJ wmbYSXG4OFkR8zCzPf5YShVX59VtQ7wB2gGjwxCwkuBGFXeB9QqnzSl9Emj/MKuAc7au yTIg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=HqDwvJ99; 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 p15si20541528edj.97.2021.08.24.02.54.46; Tue, 24 Aug 2021 02:55:10 -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=HqDwvJ99; 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 S235915AbhHXJxx (ORCPT + 99 others); Tue, 24 Aug 2021 05:53:53 -0400 Received: from us-smtp-delivery-124.mimecast.com ([170.10.133.124]:52902 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235818AbhHXJxv (ORCPT ); Tue, 24 Aug 2021 05:53:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1629798787; 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=OQ7wXqd35jkq9u//jEUxGDrlsnHE5KbTspU7KytW0gQ=; b=HqDwvJ99XBvCZQC1rPGzjJjsNnGox5/vLTV7sKI/8CokpE54MFitxMGvFhnmAUcVLVkj+G 4dZfa206SoATwy1RTbUndxLpLyxcR4cRynS9d3uGFDj0vttmO/yWglYNXa7t4VVluAAChG rY7vLzrD2LqcH8FDSTjxfebYV/UnOTU= 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-266-3ymzRWN6P1CXvkG0KNMacA-1; Tue, 24 Aug 2021 05:53:05 -0400 X-MC-Unique: 3ymzRWN6P1CXvkG0KNMacA-1 Received: by mail-ed1-f72.google.com with SMTP id a23-20020a50ff170000b02903b85a16b672so10257857edu.1 for ; Tue, 24 Aug 2021 02:53:05 -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=OQ7wXqd35jkq9u//jEUxGDrlsnHE5KbTspU7KytW0gQ=; b=ILuPGhgIZ91MF6UouzOT3SirQrHchs5qbciv8tTub9Ok9T3D7XEVFG0kQs0vcelFCE BN5+mfULkbBFMKrHVpDN56+su8sN8GetqjY26mZ0xDtHsVpEjbMmXeMiAujWTKX1Sfwl jR9dLsMqpTkOs1lKk1ZtU4lJH2KrJ54a21G+giWx3QA/6O6ILTtzKdMCFa9ebHnfU0Cv IzmaIswA+7c5ytb5rPZMx9R56BgiKiqL0N/Fke2h0vuTsZ9A8BkfM/HXzYt1mTp8MSkL MxcKDnoLoykZM/E0LfEbdxZBGbKtEoA4IUp2rYvGLYuMylo+BpoVS4moKZQ6YcjNy+DK AoiA== X-Gm-Message-State: AOAM530J6KBkyAvzCZ2J/yT7WuF4NOzNm1b59EcfClKxlwLcVVc2OoZ2 7xVTkOa+0KQgEzbcthXUu1ZQUA2QdlemjXaeHAEwfjlBbUmZ1LTNtaLn5Jh466NzZnSUyyC4Oym VXPFAG0viSB6ed10w+F7iYa8f X-Received: by 2002:a17:907:1dcf:: with SMTP id og15mr4899943ejc.470.1629798784613; Tue, 24 Aug 2021 02:53:04 -0700 (PDT) X-Received: by 2002:a17:907:1dcf:: with SMTP id og15mr4899921ejc.470.1629798784495; Tue, 24 Aug 2021 02:53:04 -0700 (PDT) Received: from steredhat (host-79-45-8-152.retail.telecomitalia.it. [79.45.8.152]) by smtp.gmail.com with ESMTPSA id o6sm4341681eje.6.2021.08.24.02.53.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 24 Aug 2021 02:53:04 -0700 (PDT) Date: Tue, 24 Aug 2021 11:53:01 +0200 From: Stefano Garzarella To: Arseny Krasnov Cc: Stefan Hajnoczi , "Michael S. Tsirkin" , Jason Wang , "David S. Miller" , Jakub Kicinski , Colin Ian King , Andra Paraschiv , 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.co Subject: Re: [RFC PATCH v3 2/6] virtio/vsock: add 'VIRTIO_VSOCK_SEQ_EOR' bit. Message-ID: <20210824095301.udvwh2hatrf2l3mh@steredhat> References: <20210816085036.4173627-1-arseny.krasnov@kaspersky.com> <20210816085126.4173978-1-arseny.krasnov@kaspersky.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <20210816085126.4173978-1-arseny.krasnov@kaspersky.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Aug 16, 2021 at 11:51:23AM +0300, Arseny Krasnov wrote: >This bit is used to handle POSIX MSG_EOR flag passed from >userspace in 'sendXXX()' system calls. It marks end of each Maybe better 'send*()'. >record and is visible to receiver using 'recvmsg()' system >call. > >Signed-off-by: Arseny Krasnov >--- > 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 8485b004a5f8..64738838bee5 100644 >--- a/include/uapi/linux/virtio_vsock.h >+++ b/include/uapi/linux/virtio_vsock.h >@@ -98,6 +98,7 @@ enum virtio_vsock_shutdown { > /* VIRTIO_VSOCK_OP_RW flags values */ > enum virtio_vsock_rw { > VIRTIO_VSOCK_SEQ_EOM = 1, >+ VIRTIO_VSOCK_SEQ_EOR = 2, > }; > > #endif /* _UAPI_LINUX_VIRTIO_VSOCK_H */ >-- >2.25.1 > Reviewed-by: Stefano Garzarella