Received: by 2002:ac0:da4c:0:0:0:0:0 with SMTP id a12csp2548510imi; Mon, 25 Jul 2022 01:20:20 -0700 (PDT) X-Google-Smtp-Source: AGRyM1uq19x7grFlcZMDTiwTF0wyw9YiB7RDbEYM0jNFhMsxgscmW50cVuHspkalNM1mcIcOe9SO X-Received: by 2002:a63:d54:0:b0:416:73d:d5cf with SMTP id 20-20020a630d54000000b00416073dd5cfmr10052163pgn.579.1658737220272; Mon, 25 Jul 2022 01:20:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1658737220; cv=none; d=google.com; s=arc-20160816; b=w81lB144Zdm/s1UpSwaG4HwWt+HEPS5IrsZV8gsRZ/OIDms4FrHP8C5+OQsIkvq+py Pe8hE/fUqdF0QTjz5OqTaUBgqmFRPaX2GeqjwSkc/Nhpp24kHVXdkSuldHG7ml0y6Z/R SIZ/VF2jpYmPfRA6N5xCftQTRuNoBUIYXkCV63wwbbIPfzmoaO3qAYBmJd9/qTL+q4My EQOaBD1pf5LwFWZeGM3pt670PLae6cPZGQ68Lbcy1SF43I0Km6B9E7mAd/Gp3/lKDaME qjyjl5r/remH7I+8s9qcaazNKlUM4JLDjg4kiQFRWf8+jAqwXkzGYh2I186OWPFYmAzb ilww== 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=8Ivq+HaIhab5sDZRwlp1YxHLjfjPLxbgUFjb3B5LEag=; b=XL7FIQMrdLOHw6X9XjlqtVS48bl4SQPsXHyYHzoUdLi1JkdRUcPxTnBeFdB7mVzcA0 ngBcvhRHmdmWxaKbUIebpGwPBs4wafARy6G0aqRsFNXBlyHFwfPpsCFSzdF7KeCXYTGC /FWWI83VbrWQq8t00CZqCWOwscOiFQTQ/5i6CGKvwm7rlcP/RDQfMV1p+ugFPk9n9EZU eVCErb4bF5QVoLJNoGq7vVH8TE2ifu1v4be2p/2qNl8GUxfMi+06HW6nbe5E+UB5ksdc Zcs2oP8EmSdZee8jnxFAEsApwpwo/l6GfoYJT3PgWp1Xu7Ghgxq8s0u6HRPMWV8HerRT ruBg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b="miO2/SbY"; 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 n17-20020a170903111100b0016c87fed20bsi15638188plh.386.2022.07.25.01.20.04; Mon, 25 Jul 2022 01:20:20 -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="miO2/SbY"; 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 S233598AbiGYIJi (ORCPT + 99 others); Mon, 25 Jul 2022 04:09:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58656 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229900AbiGYIJh (ORCPT ); Mon, 25 Jul 2022 04:09:37 -0400 Received: from mail.sberdevices.ru (mail.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D6AFA13CF1; Mon, 25 Jul 2022 01:09:35 -0700 (PDT) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mail.sberdevices.ru (Postfix) with ESMTP id 2FEB15FD0B; Mon, 25 Jul 2022 11:09:34 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1658736574; bh=8Ivq+HaIhab5sDZRwlp1YxHLjfjPLxbgUFjb3B5LEag=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=miO2/SbY2I/aFgai9tTMeYxTqrqOESBDM5W50xeYgwrfl/w3iOi18mjdI2/wjPIgc 1iJhq9I/ck69I6/JUBJL6oc05XLjYduRzyHEfRVtlwq5eui/8qmfrEo/NUJlbFR5AS aRWF4DlvG44nnQqzXX6i1HZq/4EeuMLUhXTubQJghJZufe5KDBGkzj3RLGMHgiV7dq H3osn6G6llMi/fj3oIIsTdLqS+dkZtBML2IA4kOWGNtGAkkmxJTFrTPavob9FxGOKn ZevFhdRWZCTrHciwGk4LRVUy9/p6TPK81UBvTyBIbiFLM7wg7tj2MCi3fssRvIR46A MGoVN7hJ84teA== Received: from S-MS-EXCH01.sberdevices.ru (S-MS-EXCH01.sberdevices.ru [172.16.1.4]) by mail.sberdevices.ru (Postfix) with ESMTP; Mon, 25 Jul 2022 11:09:32 +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 , Arseniy Krasnov , Krasnov Arseniy 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 v2 7/9] vsock: add API call for data ready Thread-Topic: [RFC PATCH v2 7/9] vsock: add API call for data ready Thread-Index: AQHYn/3THBoZAnkEuk6UJ/SrjY0PHA== Date: Mon, 25 Jul 2022 08:09:13 +0000 Message-ID: <56c7f26b-2996-9a0c-c5fa-0941d6f01542@sberdevices.ru> In-Reply-To: <19e25833-5f5c-f9b9-ac0f-1945ea17638d@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: <7EEE6F4618DD0C4DB88CB2235D12D41E@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/07/25 03:52:00 #19956163 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 b2ZmLWJ5OiBBcnNlbml5IEtyYXNub3YgPEFWS3Jhc25vdkBzYmVyZGV2aWNlcy5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