Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp712409rwb; Sun, 6 Nov 2022 12:31:39 -0800 (PST) X-Google-Smtp-Source: AMsMyM787ujzE7t5rck+EBqTAVW6+Ho+l2lI+7MvbMKal8/Mv2eEP1+VRaDsoCjmjo5BhB8OIClE X-Received: by 2002:a17:907:968e:b0:7a4:bd01:d7f with SMTP id hd14-20020a170907968e00b007a4bd010d7fmr42625431ejc.542.1667766699482; Sun, 06 Nov 2022 12:31:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1667766699; cv=none; d=google.com; s=arc-20160816; b=0NO5ZnTM+1Z88Z2EZ4CqxkraexO0erEDEwnWPfKUqlWqWP1EgnD2WfjKie1hwsrU56 XtZ5ByVLRYsA/MPhFx/TrGOVGbuZeq5yIinp56xaAh028bVQxHjoaHX1Wf5pbIvwp+bz tdklj7sqxWEbW4P1wakAL5PYjkwLCZgZSRgBKmtLdSxmdUyRirmIBzXGiF51u2PrJ+1o zaKLcpCtQOB61qyQ77d7Ln2bzqnGLcYM4FJiT4h/2xJKR+Agi3ELOI2cTjsEl/8y2WmN g2DQ6ULvk8BJug1vTnD3BpwgW97H8Mb9sI1cJyW1omxvOZubgolTPpQ9hQiusvRMVLvk 9ftg== 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=JLlpkwTSfIBGrLuXfogAgrdiNEl7/2KG3a3rEAt/O1g=; b=A/HlB158Lxc4vY/oOGD2ErqogaqwboHxOFQJSTQjC7i/lqoAorGqfEOJRFBVrqP48j IM91BIZ6nGNiz9jNFETo78e0LtiYPNAbdIGNkul7A2fDLrqMRb+eFEmUJovU5w+sVR91 Zo0Fn7SYxJ6ylB1D1Zqr5MW/mmebhxRs1NiDU+NYujFDMx/K9yofc1GtWmGxoXRsXwCa va9t0gSmmanH9YgPGPAQCJ54UR6ZkZN82YgWQBWCqz/cYwdvIodzXjhsKNybNREkIQ7u dMzMXP7vyJGBE10neoX9uFg+akJfi4GTBLpSSOm5ZAoWzEjFbMBAxpHAbuqvhnOTGIc5 oOSA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@sberdevices.ru header.s=mail header.b=dG9nmPY0; 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 cw16-20020a056402229000b0046276ef250asi6350584edb.298.2022.11.06.12.31.15; Sun, 06 Nov 2022 12:31:39 -0800 (PST) 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=dG9nmPY0; 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 S230311AbiKFTvC (ORCPT + 95 others); Sun, 6 Nov 2022 14:51:02 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48070 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230280AbiKFTuy (ORCPT ); Sun, 6 Nov 2022 14:50:54 -0500 Received: from mx.sberdevices.ru (mx.sberdevices.ru [45.89.227.171]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D544D10FDE; Sun, 6 Nov 2022 11:50:52 -0800 (PST) Received: from s-lin-edge02.sberdevices.ru (localhost [127.0.0.1]) by mx.sberdevices.ru (Postfix) with ESMTP id 425565FD03; Sun, 6 Nov 2022 22:50:51 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sberdevices.ru; s=mail; t=1667764251; bh=JLlpkwTSfIBGrLuXfogAgrdiNEl7/2KG3a3rEAt/O1g=; h=From:To:Subject:Date:Message-ID:Content-Type:MIME-Version; b=dG9nmPY0hrwjfsuUxP/e2rXABuYHuQSKZhpi51SK88W3Z6wSNvdo6FoqaxIwXjaHv 6JMjYPa36C1miwBwJZxIx6JXxh9tPlb0HHkN0DwGYMcy8wDICso8J/4a60hMxRPvBH xRUJGZaVo6CB6PMPs8OVrRZ0dhjdpjI64az3dZkveXHu3oTSdGq8qOa2IAjibI0xF+ Ak47x4AQhYfGN6cCKFefqOCZabzgwDLXQJEp14Wyvtf6V4wiShRKVdI7LS23AhXiGK YVY01bGUWfqH0B7VDM1SBKP8WfukPcHIcrBqZ14PduiaPwCLasuHvujfjqNCqSw6yV wZoeWmVHS+HKw== Received: from S-MS-EXCH02.sberdevices.ru (S-MS-EXCH02.sberdevices.ru [172.16.1.5]) by mx.sberdevices.ru (Postfix) with ESMTP; Sun, 6 Nov 2022 22:50:51 +0300 (MSK) From: Arseniy Krasnov To: Stefano Garzarella , Stefan Hajnoczi , "Michael S. Tsirkin" , Jason Wang , "David S. Miller" , "edumazet@google.com" , Jakub Kicinski , Paolo Abeni , Krasnov Arseniy CC: "linux-kernel@vger.kernel.org" , "kvm@vger.kernel.org" , "virtualization@lists.linux-foundation.org" , "netdev@vger.kernel.org" , kernel Subject: [RFC PATCH v3 09/11] test/vsock: add big message test Thread-Topic: [RFC PATCH v3 09/11] test/vsock: add big message test Thread-Index: AQHY8hkAptW4O6wxGUmfu9tKRKX0oQ== Date: Sun, 6 Nov 2022 19:50:19 +0000 Message-ID: <4d2cac96-d829-fcf6-e042-2ed65493c602@sberdevices.ru> In-Reply-To: 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: 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/11/06 18:31:00 #20575158 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 VGhpcyBhZGRzIHRlc3QgZm9yIHNlbmRpbmcgbWVzc2FnZSwgYmlnZ2VyIHRoYW4gcGVlcidzIGJ1 ZmZlciBzaXplLg0KRm9yIFNPQ0tfU0VRUEFDS0VUIHNvY2tldCBpdCBtdXN0IGZhaWwsIGFzIHRo aXMgdHlwZSBvZiBzb2NrZXQgaGFzDQptZXNzYWdlIHNpemUgbGltaXQuDQoNClNpZ25lZC1vZmYt Ynk6IEFyc2VuaXkgS3Jhc25vdiA8QVZLcmFzbm92QHNiZXJkZXZpY2VzLnJ1Pg0KLS0tDQogdG9v bHMvdGVzdGluZy92c29jay92c29ja190ZXN0LmMgfCA2MiArKysrKysrKysrKysrKysrKysrKysr KysrKysrKysrKw0KIDEgZmlsZSBjaGFuZ2VkLCA2MiBpbnNlcnRpb25zKCspDQoNCmRpZmYgLS1n aXQgYS90b29scy90ZXN0aW5nL3Zzb2NrL3Zzb2NrX3Rlc3QuYyBiL3Rvb2xzL3Rl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