Received: by 2002:ac0:e350:0:0:0:0:0 with SMTP id g16csp370051imn; Wed, 3 Aug 2022 07:23:52 -0700 (PDT) X-Google-Smtp-Source: AA6agR7fef3Y+e8bD6DVEQQPKdKpuac4lSF76ioxMIrb58Fd8QB5kL6Y9tlSnWvm2CqXHVYkfvdW X-Received: by 2002:a17:902:e5c9:b0:16e:f3b6:ddc4 with SMTP id u9-20020a170902e5c900b0016ef3b6ddc4mr12897602plf.30.1659536631876; Wed, 03 Aug 2022 07:23:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1659536631; cv=none; d=google.com; s=arc-20160816; b=UK3xJb5F7/mfy+yqZZjdmnjMSuXfooWN3FUkG4ujoKRLaM8iPsbcT345bWQACzIUpx GvzaTEm0iqOJ27mg5tgmFJ5WK6zSdEjmYpRsq/Z25A8UnevCAhI1BdkJuG1PjMbdmb7+ r/IND32MX3I/Bb1guSfryR+NkPl0MKuXDjVgDNql1NRdcf6BXK/qDmngKBfszDvzuiwO 8Uqp0AbAZahWpRNZVAOYTkGblEylL4h6DRZTmr/Es+QFdYDV7SnPHhsBDGYZ8viqBTZ1 sg7lL4Yni4MQUwlOwjak1ntPpozCPp2Xn1B6gCkOWtMhtSGj1xxQg/EoSQuVuQgdXOd4 BJmQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:content-language:accept-language:in-reply-to:message-id :date:thread-index:thread-topic:subject:cc:to:from:dkim-signature; bh=B7MnM9LlcIMliFAHXLeyzEfSXIZ8NB66nwrKZJSvDgc=; b=PVweahIuvBHfLUnDAgeuFtJe8vbjtQ7qIcNaOJivktOPPmXZdP2tNEbvRGeqwgcTOg 8qhA7IW10W6Rd+iV3QFKRTgbkWD3JH3LF6DzR5mvo+oEkW9zgO3flHWhegZuyqZTqL6d eUX44UV0i8elE68j0gBl1MdpU8SBaDumfRQyA0NTE5vlWGHaJLpF+wkQ7WOdjJn1LQkl /VBTxPYY7boTXy+31Ulax9Qp1Y8iagrFVRUuOLEilUAjLdFHZ9fz1bFPm5R4onx4SOp7 GHB67avQZ1ZCNVzuVI0g2536X54ipjDeGNFWzdY31LGCe0ynaiY2oC3MNOIWbkof3QlU MQPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=dubY+hTM; 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=sberdevices.ru Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id v17-20020a63f211000000b0041bdf3cfd7fsi12107085pgh.340.2022.08.03.07.23.36; Wed, 03 Aug 2022 07:23:51 -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=@sberdevices.ru header.s=mail header.b=dubY+hTM; 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=sberdevices.ru Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238571AbiHCOCQ (ORCPT + 99 others); Wed, 3 Aug 2022 10:02:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55840 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236785AbiHCOCO (ORCPT ); Wed, 3 Aug 2022 10:02:14 -0400 Received: from mail.sberdevices.ru (mail.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 56ADC2CE1C; Wed, 3 Aug 2022 07:02:12 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mail.sberdevices.ru (Postfix) with ESMTP id A28B15FD2E; Wed, 3 Aug 2022 17:02:10 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1659535330; bh=B7MnM9LlcIMliFAHXLeyzEfSXIZ8NB66nwrKZJSvDgc=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=dubY+hTMsFMWN19jwfE4rvvJP42QM4Q1Rlayal/qamG5DnPV1O6AZrOmFdfK+MLlh yH2241C6lJ0DegbnqYsKDBn0rs7Q3l0xU04J7gNW0IhfbdIhZ3Qw/uDYE0gcc2faN3 xGllPhWGN2OeRcK1s+cTaiXGjbI/x/EDLfwZqUL+gQXjXrxGpkdJ+M37vtkA45HH43 6uz/RXK6ghh3QAukfqDSx5Yb5Ep5dKLmp+RF4hwblnB9coftL3GR8m488A2T+xD0+b 5qc/aT4TyBS+Obq0WEH6Xmq/h7JnaXKCDdTkqhj7HA62bTPobp9LUgYFaOiGwsrQXY cZYSj59OemWeg== Received: from S-MS-EXCH01.sberdevices.ru (S-MS-EXCH01.sberdevices.ru [172.16.1.4]) by mail.sberdevices.ru (Postfix) with ESMTP; Wed, 3 Aug 2022 17:02:10 +0300 (MSK) From: Arseniy Krasnov To: Stefano Garzarella , "David S. Miller" , "edumazet@google.com" , "Jakub Kicinski" , Paolo Abeni , "kys@microsoft.com" , "haiyangz@microsoft.com" , "sthemmin@microsoft.com" , "wei.liu@kernel.org" , Dexuan Cui , Stefan Hajnoczi , Bryan Tan , Vishnu Dasa , VMware PV-Drivers Reviewers , Krasnov Arseniy , "Arseniy Krasnov" CC: "virtualization@lists.linux-foundation.org" , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" , "linux-hyperv@vger.kernel.org" , "kvm@vger.kernel.org" , kernel Subject: [RFC PATCH v3 6/9] vsock: add API call for data ready Thread-Topic: [RFC PATCH v3 6/9] vsock: add API call for data ready Thread-Index: AQHYp0GXMIwj7aEDFUyU7Z65eKQpMg== Date: Wed, 3 Aug 2022 14:01:57 +0000 Message-ID: In-Reply-To: <2ac35e2c-26a8-6f6d-2236-c4692600db9e@sberdevices.ru> Accept-Language: en-US, ru-RU Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [172.16.1.12] Content-Type: text/plain; charset="utf-8" Content-ID: <85A4929A98C0C144AB0C8DA1959BA189@sberdevices.ru> Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-KSMG-Rule-ID: 4 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Status: not scanned, disabled by settings X-KSMG-AntiSpam-Interceptor-Info: not scanned X-KSMG-AntiPhishing: not scanned, disabled by settings X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 1.1.2.30, bases: 2022/08/03 07:41:00 #20041172 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,SPF_HELO_NONE,SPF_PASS autolearn=ham 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 VGhpcyBhZGRzICd2c29ja19kYXRhX3JlYWR5KCknIHdoaWNoIG11c3QgYmUgY2FsbGVkIGJ5IHRy YW5zcG9ydCB0byBraWNrDQpzbGVlcGluZyBkYXRhIHJlYWRlcnMuIEl0IGNoZWNrcyBmb3IgU09f UkNWTE9XQVQgdmFsdWUgYmVmb3JlIHdha2luZw0KdXNlcix0aHVzIHByZXZlbnRpbmcgc3B1cmlv dXMgd2FrZSB1cHMuQmFzZWQgb24gJ3RjcF9kYXRhX3JlYWR5KCknIGxvZ2ljLg0KDQpTaWduZWQt b2ZmLWJ5OiBBcnNlbml5IEtyYXNub3YgPEFWS3Jhc25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