Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp2107634pxb; Sun, 5 Sep 2021 08:53:18 -0700 (PDT) X-Google-Smtp-Source: ABdhPJx6fOELwY5EfdxeGYG9hwleejXPhpjXrq1N7rI7BmQvf6si7XQ+s1NI9yxTddXyqlUj3d/e X-Received: by 2002:a02:85c2:: with SMTP id d60mr7135776jai.85.1630857198096; Sun, 05 Sep 2021 08:53:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630857198; cv=none; d=google.com; s=arc-20160816; b=LTtAKol7jFd1qbDMSN8o4SAvl923/JWDT/ReJ9vo3yPpkCLvjGcH7Qoxx7btHMrM9d 5I/8kkoMGBqCCj4k76ZRfJG1WTtv9CR+OAVhwSJCF87RlNHjQE2pNpuaf4rgiTajWoGl klNvlrzgW3n7hyZMxiVIXxGfh2FWhHFKYNVRam4D5dXY803G/g/5fzbol3kzsNWPqLn+ M+1cHgJ+66H9igPVq7XGI7Z62xPxpiRon7n78st+gzIBrm410qfbeJpq3+U5XaBAiPXZ F1dBvQOyCjmhjCPlW6teKMbypsshVQDQmBzPegYrQI1ZJxIE3ibr5ToCWAvlTitB/exl WmRw== 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=dt3+lUrr17xrCqRRoNhFo4SoQOQwGb+2P4GqnUIMZG4=; b=wUzxNUPRmA8OKGr0MFmbmL4BUJ+M79N9FyuY9SmSG5tqvR1/CJ5RZYxBlKsruPLxTa LVG83Obxsil1NTXRUn0v1AkkDAk9oLLq7wGiwfz7RSeaD09pxk9au0fkfxS5gNQzct00 U6hfHPmWYfYT/JUSrjJ/IwIQliS8zXELqGKQwuHbdqUjzNC+zfc7LJkznyRXyjIIWG3o Q7fKjV7SwlsgpaugwPrllDyyptVJ5hMhIbj41HZAedbA9Irrqv1J07c0w4Huw9PXnVGg TkIYJjS5iuY6bFVCWGteuZTfFTuOb+6TutttymyjvvcRaODhcKuWEPNCKx0X4rmt4T1Q 9jqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=ZGDlo0d5; 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 h25si5734677ioj.39.2021.09.05.08.53.06; Sun, 05 Sep 2021 08:53:18 -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=ZGDlo0d5; 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 S237736AbhIEPvX (ORCPT + 99 others); Sun, 5 Sep 2021 11:51:23 -0400 Received: from us-smtp-delivery-124.mimecast.com ([216.205.24.124]:36865 "EHLO us-smtp-delivery-124.mimecast.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231657AbhIEPvW (ORCPT ); Sun, 5 Sep 2021 11:51:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1630857019; 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=dt3+lUrr17xrCqRRoNhFo4SoQOQwGb+2P4GqnUIMZG4=; b=ZGDlo0d5jxQ1ZDCumKj0VG6tpGI/E76mQRQZzSiaQXq5SQoouQ5n0ykhQ0/+rarJ7+IkBz Vki8ZuEHELeC+KDepNrk71EJr16msnlxY2GQfQ00g1azTZ11vdoZGv+wR0YXwyxaC/B3ZI YW9GsgG1YfR0i05pNY/Ko4b0XYIJk3s= Received: from mail-ej1-f69.google.com (mail-ej1-f69.google.com [209.85.218.69]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-193-XMwx7cCwN6iltkwYbC-pYw-1; Sun, 05 Sep 2021 11:50:18 -0400 X-MC-Unique: XMwx7cCwN6iltkwYbC-pYw-1 Received: by mail-ej1-f69.google.com with SMTP id cf17-20020a170906b2d100b005d42490f86bso1239387ejb.3 for ; Sun, 05 Sep 2021 08:50:18 -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=dt3+lUrr17xrCqRRoNhFo4SoQOQwGb+2P4GqnUIMZG4=; b=pNeQ9Fgrr+KPb7dswHaWEMPQeD6J7D4fjwrsy2LHxovjDeArjKda/vsiF08Q79aHQ2 1cFCZthQBzLszuxoJZ4X6QNxd65DRhHrNc0wQrNiMvH9mfYX9ajpKQ7fEmBBVdXzjf47 L7sTaXUzDsQuakXbShr2KrR2YYFVpvakNXYGNMTYkirVAqlm23ghtsDhjP2I0iSzKLB1 m4Z0EsDXmehsupGB56StkQA8dr8x1M2f7dHVLtAyaCbfoH/2wa7PjBHEY0fiJHjSsm/D b1DVTwKM33a7tfO/FmrLKLhzivZK006esdUQ6FuRx9d5N/kcSJ2KjtHGVWNSHpdKlF6V wyTA== X-Gm-Message-State: AOAM531HwJGw13GsP2ETS+T2gmPkgVegspdO2J38zXjH6oXnBHOV9fjo V9i+BVpeUsRfslICWQtLRigKwN8htkE2W3QvNNFyJZ4KVaSar+MyXBYxVEY/QXL11RjWzzA6bnv mEgedrn92JEAKofOdubnrajYY X-Received: by 2002:aa7:c514:: with SMTP id o20mr9209159edq.318.1630857016058; Sun, 05 Sep 2021 08:50:16 -0700 (PDT) X-Received: by 2002:aa7:c514:: with SMTP id o20mr9209144edq.318.1630857015928; Sun, 05 Sep 2021 08:50:15 -0700 (PDT) Received: from redhat.com ([2.55.131.183]) by smtp.gmail.com with ESMTPSA id g18sm2495519ejr.99.2021.09.05.08.50.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 05 Sep 2021 08:50:15 -0700 (PDT) Date: Sun, 5 Sep 2021 11:50:11 -0400 From: "Michael S. Tsirkin" To: Arseny Krasnov Cc: Stefan Hajnoczi , Stefano Garzarella , Jason Wang , "David S. Miller" , Jakub Kicinski , Norbert Slusarek , Andra Paraschiv , Colin Ian King , 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: [PATCH net-next v4 2/6] virtio/vsock: add 'VIRTIO_VSOCK_SEQ_EOR' bit. Message-ID: <20210905115002-mutt-send-email-mst@kernel.org> References: <20210903061353.3187150-1-arseny.krasnov@kaspersky.com> <20210903061523.3187714-1-arseny.krasnov@kaspersky.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210903061523.3187714-1-arseny.krasnov@kaspersky.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Sep 03, 2021 at 09:15:20AM +0300, Arseny Krasnov wrote: > This bit is used to handle POSIX MSG_EOR flag passed from > userspace in 'send*()' system calls. It marks end of each > record and is visible to receiver using 'recvmsg()' system > call. > > Signed-off-by: Arseny Krasnov > Reviewed-by: Stefano Garzarella Spec patch for this? > --- > 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