Received: by 2002:a05:6a10:eb17:0:0:0:0 with SMTP id hx23csp189145pxb; Thu, 2 Sep 2021 23:16:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxp98g6OyLylV7BSCWI8MIoHbfcOxjMC5T5pQ2Y4mxLtua7AvUsGYdih1FOBeVc2m9GRRKf X-Received: by 2002:a6b:be02:: with SMTP id o2mr1794972iof.103.1630649804630; Thu, 02 Sep 2021 23:16:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1630649804; cv=none; d=google.com; s=arc-20160816; b=dwwwrGQWCyV79gfYwyrZPvpZvvFfyDLGZ65JOfyNBfZoqu28XAc/sAjOoeaFirs48f ENEXOWUSOZUp/B/lylZmy0Q4s8Cy0dAF1DC8fOqkLsSnzZKvhkH3qJ6SDzeaMQMqEV73 dYY+wQSNRgEfR9ZJuO8QbV7knwiMOh1r9Ma1VBjwiJiPWI3ncXxj9S4FlXeM5UnGg/JP eSDojKi2A600smoRO/yHC6v+yrEXseHBdAzbIqEK3Y14nuH7HCehL45fr6IJJ4/20OB6 FzQGZZzVcKUV3PwGZL3FcYJD8ZzJh4LdQSN0rwbscvKTh3hsFCC1ct15R2NulB10/6ec hieg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=w6b3hBfgKzuSLtlGwqX0lECy4nwzwgbD4r0bxYsd3g4=; b=osuTe46Z+MO6y1pvcYszOj0opNJzpqy8vbHuoCINu7uAFZg4lzeMSdREAxWD0LVo7q HdznNjS9dErn8dhS2sLvX7TzoYA/rupfDpWFNoZkMviwfXuQeiDblxQCUCpjZILMjeje k35UfasUTEpETkBAdMzwjJb1ro9yHeCt42ahUgfpX0SKVxlFrJG9HlbZTfCJ8yjUi0IT SyLqaHrZLrHTF0KmtDJQXspAxSL9HEKsKaz3XsG5Yh9ooUY5roQNWIk7aM/lpRyf0ibe eljyOx3A9U6InL6FOOeNfyoEU79srzulJNjfi6LB6QO/jMb/btyOzmvFO9AGzWXb7U4k 69Mg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kaspersky.com header.s=mail202102 header.b=LvWbr0AL; 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=REJECT sp=REJECT dis=NONE) header.from=kaspersky.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id l18si4021617ilc.72.2021.09.02.23.16.32; Thu, 02 Sep 2021 23:16:44 -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=@kaspersky.com header.s=mail202102 header.b=LvWbr0AL; 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=REJECT sp=REJECT dis=NONE) header.from=kaspersky.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345271AbhICGQd (ORCPT + 99 others); Fri, 3 Sep 2021 02:16:33 -0400 Received: from mx13.kaspersky-labs.com ([91.103.66.164]:25601 "EHLO mx13.kaspersky-labs.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229634AbhICGQc (ORCPT ); Fri, 3 Sep 2021 02:16:32 -0400 Received: from relay13.kaspersky-labs.com (unknown [127.0.0.10]) by relay13.kaspersky-labs.com (Postfix) with ESMTP id BFE5D520CB7; Fri, 3 Sep 2021 09:15:31 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kaspersky.com; s=mail202102; t=1630649731; bh=w6b3hBfgKzuSLtlGwqX0lECy4nwzwgbD4r0bxYsd3g4=; h=From:To:Subject:Date:Message-ID:MIME-Version:Content-Type; b=LvWbr0AL2Ls5APiMSrQCOhX4yNJV5OivXZQ6YY0ytEnKrd2nw904+9Ntp5RjNooOD WI32m9JZnKUvnfU6HLxutgPf2LWIcksmLdy5eleIF71kL3Pddhx484YEqnKp8gYxKv Xt0rhNsz9UVpaQvraIajCSg3LQMwigzmmj89j32l6wrMfGl5jasNI9NeXdh9TMlvNy 6NO3e5eQorn9DER2wo2AQYy0LlGxFpK+AdMTH2s7sbSYjdEtlKR5haWHmBHj0wdKMf xN9TBqpSa0DyxH5byuF+RwIlm4u3quFeYsgnUa+EIr5OCZLiBhfwsKS07s+1HmGkVx OiUatMbdhKQIA== Received: from mail-hq2.kaspersky.com (unknown [91.103.66.206]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail-hq2.kaspersky.com", Issuer "Kaspersky MailRelays CA G3" (verified OK)) by mailhub13.kaspersky-labs.com (Postfix) with ESMTPS id 6C138520CAF; Fri, 3 Sep 2021 09:15:31 +0300 (MSK) Received: from arseniy-pc.avp.ru (10.64.68.128) by hqmailmbx3.avp.ru (10.64.67.243) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.2308.14; Fri, 3 Sep 2021 09:15:30 +0300 From: Arseny Krasnov To: Stefan Hajnoczi , Stefano Garzarella , "Michael S. Tsirkin" , Jason Wang , "David S. Miller" , Jakub Kicinski , Arseny Krasnov , Norbert Slusarek , Andra Paraschiv , Colin Ian King CC: , , , , , Subject: [PATCH net-next v4 2/6] virtio/vsock: add 'VIRTIO_VSOCK_SEQ_EOR' bit. Date: Fri, 3 Sep 2021 09:15:20 +0300 Message-ID: <20210903061523.3187714-1-arseny.krasnov@kaspersky.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210903061353.3187150-1-arseny.krasnov@kaspersky.com> References: <20210903061353.3187150-1-arseny.krasnov@kaspersky.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Originating-IP: [10.64.68.128] X-ClientProxiedBy: hqmailmbx1.avp.ru (10.64.67.241) To hqmailmbx3.avp.ru (10.64.67.243) X-KSE-ServerInfo: hqmailmbx3.avp.ru, 9 X-KSE-AntiSpam-Interceptor-Info: scan successful X-KSE-AntiSpam-Version: 5.9.20, Database issued on: 09/03/2021 05:49:39 X-KSE-AntiSpam-Status: KAS_STATUS_NOT_DETECTED X-KSE-AntiSpam-Method: none X-KSE-AntiSpam-Rate: 0 X-KSE-AntiSpam-Info: Lua profiles 165946 [Sep 03 2021] X-KSE-AntiSpam-Info: Version: 5.9.20.0 X-KSE-AntiSpam-Info: Envelope from: arseny.krasnov@kaspersky.com X-KSE-AntiSpam-Info: LuaCore: 461 461 c95454ca24f64484bdf56c7842a96dd24416624e X-KSE-AntiSpam-Info: {Tracking_from_domain_doesnt_match_to} X-KSE-AntiSpam-Info: arseniy-pc.avp.ru:7.1.1;127.0.0.199:7.1.2;kaspersky.com:7.1.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1 X-KSE-AntiSpam-Info: Rate: 0 X-KSE-AntiSpam-Info: Status: not_detected X-KSE-AntiSpam-Info: Method: none X-KSE-Antiphishing-Info: Clean X-KSE-Antiphishing-ScanningType: Deterministic X-KSE-Antiphishing-Method: None X-KSE-Antiphishing-Bases: 09/03/2021 05:52:00 X-KSE-AttachmentFiltering-Interceptor-Info: no applicable attachment filtering rules found X-KSE-Antivirus-Interceptor-Info: scan successful X-KSE-Antivirus-Info: Clean, bases: 03.09.2021 4:06:00 X-KSE-BulkMessagesFiltering-Scan-Result: InTheLimit X-KSE-AttachmentFiltering-Interceptor-Info: no applicable attachment filtering rules found X-KSE-BulkMessagesFiltering-Scan-Result: InTheLimit X-KLMS-Rule-ID: 52 X-KLMS-Message-Action: clean X-KLMS-AntiSpam-Status: not scanned, disabled by settings X-KLMS-AntiSpam-Interceptor-Info: not scanned X-KLMS-AntiPhishing: Clean, bases: 2021/09/03 04:45:00 X-KLMS-AntiVirus: Kaspersky Security for Linux Mail Server, version 8.0.3.30, bases: 2021/09/03 02:56:00 #17151492 X-KLMS-AntiVirus-Status: Clean, skipped Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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