Received: by 2002:a05:7412:31a9:b0:e2:908c:2ebd with SMTP id et41csp5736667rdb; Sun, 17 Sep 2023 09:51:19 -0700 (PDT) X-Google-Smtp-Source: AGHT+IGMbSnWeCSqzJT1Pax/qoEXTHMOJCsYkKSJlKx3touTY1BxCO6v5aOkbj2+C4LYv77qOpBo X-Received: by 2002:a05:6a20:8f0b:b0:12e:4d86:c017 with SMTP id b11-20020a056a208f0b00b0012e4d86c017mr8849745pzk.10.1694969478882; Sun, 17 Sep 2023 09:51:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1694969478; cv=none; d=google.com; s=arc-20160816; b=H89BHuJflmVL1oxygUDg3SaYb30lS54if6CR9wK9duF32IRK8KK2zSHCAnHLvHKMXc B3BCMOL5Ywh0Z4QSUUZqtbznDgdmVVmjYMVedrF54031CWVoLD7619fbJ9PYl+gVcTZB ORFRNA2QMTntDN+nd5vsZwi5Ik5edsesMrBBdBdvKRceUBMIEdX+w05PYVFTch7XyXRk CE0LUW2cbzTSfH1AKnbNedK36jIkJjTyKUCjR8izSKnuYbiL7G1zt3Ox/OrMGhhaS3Sz x4kBfwzG8lPWb61ZW9d9lgTu/4Rdx8hO1m989aq16mATphWn2HtYRGGHIZq5vpR+rFyz GT1A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:in-reply-to:references:date:message-id :from:subject:content-transfer-encoding:mime-version:dkim-signature; bh=/gz0HFHrAu4WqBNMB5Lrsm0jyGDDMlgTl7kFM8ohFHA=; fh=FsHrpkFFFFUVH9TM08aZhyNIVAeAPl8aQWg9WCg0Th8=; b=edrLo7TpKioslnt0IMXKfxlybSlnJbWsBeLWcuZZkpPtNrKDjPL55wuG7ORMLD42mE PPvS5eohdmeSS7284zxlbBv+wMVBaFOEWSgpM4s2fgo4fuvNy80bs7TapTs8+0SbFYrl ce6hz2e9XMO+kGbBT9WIlskyU3jI+2W/z5mTJVlKirv121s0eqdI3d/Ge2XWUnppDxyt LLCfxH1uDzly/zMg2dVzRdvCIipqwzsuuiAVKLbiHVQNuvkc3XiCFKA+vMf0a25edPoB zffJoMtJy4TuGRSpi+3xwHCpEKE168pMsh6eW3KBs+8tz1Pr/bCmIMVUyqSXbAP1dX6P 5+pg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="mVZNe/Zn"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from howler.vger.email (howler.vger.email. [2620:137:e000::3:4]) by mx.google.com with ESMTPS id x190-20020a6386c7000000b00565f22ee768si6622840pgd.24.2023.09.17.09.51.18 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 17 Sep 2023 09:51:18 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) client-ip=2620:137:e000::3:4; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="mVZNe/Zn"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:4 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by howler.vger.email (Postfix) with ESMTP id 3FF02844D4CF; Sun, 17 Sep 2023 09:51:17 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at howler.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236454AbjIQQup (ORCPT + 99 others); Sun, 17 Sep 2023 12:50:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57120 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231880AbjIQQu3 (ORCPT ); Sun, 17 Sep 2023 12:50:29 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E646F11D for ; Sun, 17 Sep 2023 09:50:24 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPS id 878ECC433C8; Sun, 17 Sep 2023 16:50:24 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1694969424; bh=75bPTpm9wsWhjLLscRsZmKkJmuZeVrTEofm/5LUVa2g=; h=Subject:From:Date:References:In-Reply-To:To:Cc:From; b=mVZNe/ZneTCYdDvVZIdtwikaEPKu+9iz6rhIwinqo/LoWIkmLRQRdNYH1J9IRzkVp ZVA/QCoZs0wQnaJ720Zxc03r0xF6fJWiAqvEwmhSQGwUzRuPhT730htqxtOH7Ykzrj g58LLdmTPsxrr2f2ujZA+sdIprQ0f5PtCNe1sBT2N6OLmgF6tFub6rpGqm45SKiXFP qsgf2p8rn4lozEdyCXFTikTJzEVynS2SBQr0XIIFxuXb3iWXo1klfubWgqFCfnUeaR L6TjDwE1rf1gByJBuEA6PHuRIpdD7QnTLgItXIMD2DLE79UPX8+FaJ9/Owxz5RQkXx aBxzkTPAab7nA== Received: from aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (localhost.localdomain [127.0.0.1]) by aws-us-west-2-korg-oddjob-1.ci.codeaurora.org (Postfix) with ESMTP id 71BD0E26880; Sun, 17 Sep 2023 16:50:24 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: Re: [PATCH net-next 0/5] vsock/test: add recv_buf()/send_buf() utility functions and some improvements From: patchwork-bot+netdevbpf@kernel.org Message-Id: <169496942446.18728.7629668615433862698.git-patchwork-notify@kernel.org> Date: Sun, 17 Sep 2023 16:50:24 +0000 References: <20230915121452.87192-1-sgarzare@redhat.com> In-Reply-To: <20230915121452.87192-1-sgarzare@redhat.com> To: Stefano Garzarella Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, avkrasnov@salutedevices.com, virtualization@lists.linux-foundation.org, oxffffaa@gmail.com, bobby.eshleman@bytedance.com X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, RCVD_IN_DNSWL_BLOCKED,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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (howler.vger.email [0.0.0.0]); Sun, 17 Sep 2023 09:51:17 -0700 (PDT) Hello: This series was applied to netdev/net-next.git (main) by David S. Miller : On Fri, 15 Sep 2023 14:14:47 +0200 you wrote: > We recently found that some tests were failing [1]. > > The problem was that we were not waiting for all the bytes correctly, > so we had a partial read. I had initially suggested using MSG_WAITALL, > but this could have timeout problems. > > Since we already had send_byte() and recv_byte() that handled the timeout, > but also the expected return value, I moved that code to two new functions > that we can now use to send/receive generic buffers. > > [...] Here is the summary with links: - [net-next,1/5] vsock/test: add recv_buf() utility function (no matching commit) - [net-next,2/5] vsock/test: use recv_buf() in vsock_test.c https://git.kernel.org/netdev/net-next/c/a0bcb8357716 - [net-next,3/5] vsock/test: add send_buf() utility function (no matching commit) - [net-next,4/5] vsock/test: use send_buf() in vsock_test.c https://git.kernel.org/netdev/net-next/c/2a8548a9bb4c - [net-next,5/5] vsock/test: track bytes in MSG_PEEK test for SOCK_SEQPACKET https://git.kernel.org/netdev/net-next/c/bc7bea452d32 You are awesome, thank you! -- Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html