Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5191065rdb; Wed, 13 Dec 2023 01:17:12 -0800 (PST) X-Google-Smtp-Source: AGHT+IHkw4PlUzNlQEzWUkC5C+TqBut0IwA4+WBso89D1pwUOiFj1vufKAiigNotGqGskQu0Ht31 X-Received: by 2002:a17:90b:883:b0:286:e15a:377c with SMTP id bj3-20020a17090b088300b00286e15a377cmr8936726pjb.40.1702459032190; Wed, 13 Dec 2023 01:17:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702459032; cv=none; d=google.com; s=arc-20160816; b=LUk03jrQaxWzJP5nHlCWmI7+r115ia1W9gOU9Z36mk/4lyy11i0VOrO+5RyJfUifON +dQFrnw9sVMgKF3iKuOOyUvSOibkfENdz2i9XpAbIvDjB/UfOEHK7ufC+BYlFwctfQtI WrvOXerYhdjN1E02ECJweRv+4VrJTgwRSmozt11oBfN6BLhxNtdCAuvqJuZPb291Mnz9 eyiEh4oih7hF+Y1e0Xd4cInkTMFXiZbusNGkQxaj+MZKwn+jW0CABB30XXuFAABMtxYf /SuBTiaqeyzwkdMoYluhjpO8/Nci/IU8Q1F93037ORmVGU0jJaic+kBej9RtLZvuGPA3 5kXA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:in-reply-to:from :references:cc:to:content-language:subject:user-agent:mime-version :date:message-id:dkim-signature:dkim-filter; bh=lcFAydWJM6e3tNghes74FvbJpEn6IZgN1OI+f3Std2c=; fh=U92JnihsZnje1MVi7gPJV7jd48dG/UQJ5wZD5kg9r1M=; b=MNziGrKqR8vCdk/6WiRw9ETbahojTpxK3omDn0KrCsHDW6+FolGgXe37+zFSJ1GS0F tgX/J1lWyo9fVqhRu6LndNCOsu4RNzsuUNohzs32RhQH6lEHUlphoYkHRCBAQFsOrKuY LpPI6hWITc9vThvtMHfUTzTdjSFPhjd93KIg+P69g0s0xxEkLJGhdVdN2y9djbN+Uwkx +bn9ryrQ2EFLRzavDG0Rp8C80DK1TgcrDe/WNAXSfE1S0HECQPMru2LURzfTkh4GVgRY RgV7sQQaodOF7ySDwc6Hla38HUxmNnH6MlJVaIvu3lXMb8MweWumSRx5P0bbUFM/F3nq dQhw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=jgCCcRdt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=salutedevices.com Return-Path: Received: from lipwig.vger.email (lipwig.vger.email. [2620:137:e000::3:3]) by mx.google.com with ESMTPS id o9-20020a17090aac0900b0028ad03770fesi1718199pjq.135.2023.12.13.01.17.11 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 01:17:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) client-ip=2620:137:e000::3:3; Authentication-Results: mx.google.com; dkim=pass header.i=@salutedevices.com header.s=mail header.b=jgCCcRdt; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:3 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=salutedevices.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by lipwig.vger.email (Postfix) with ESMTP id 908C280A9740; Wed, 13 Dec 2023 01:17:09 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at lipwig.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231664AbjLMJQt (ORCPT + 99 others); Wed, 13 Dec 2023 04:16:49 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42588 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229531AbjLMJQs (ORCPT ); Wed, 13 Dec 2023 04:16:48 -0500 Received: from mx1.sberdevices.ru (mx2.sberdevices.ru [45.89.224.132]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 61B40B7; Wed, 13 Dec 2023 01:16:52 -0800 (PST) Received: from p-infra-ksmg-sc-msk02 (localhost [127.0.0.1]) by mx1.sberdevices.ru (Postfix) with ESMTP id 8608012003B; Wed, 13 Dec 2023 12:16:48 +0300 (MSK) DKIM-Filter: OpenDKIM Filter v2.11.0 mx1.sberdevices.ru 8608012003B DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=salutedevices.com; s=mail; t=1702459008; bh=lcFAydWJM6e3tNghes74FvbJpEn6IZgN1OI+f3Std2c=; h=Message-ID:Date:MIME-Version:Subject:To:From:Content-Type:From; b=jgCCcRdt6cL3fSBkwpnjeGK9vQ6xAbSOhequFl2N7W7Ucqhe25qpK7+nkYlN8DJeO /2rw6cytLJI57FO9GbPMPTnj0VhbEIFwJLskUUSctpGrBDBZ56qACpecMfNTe+I8Pb PXLbevJlom39nARCRJBclA8S/MfU3koD6gaFSs/UyyH3TKkTSSQj993/ekKsD4uZIZ yo8dvtzWovh2teUZxVFsKgjdG/RTHzk2GmeJ5xiDFfTd0fJRi7ig7+CVmMR+JSOiTL qP29CEBT/ujuhuvmpbGaH78UYv97aZndWk6OmONhv1B74BSLKJ3Mnroavu9LBf3Rvv hCfBjKFUE+QYg== Received: from smtp.sberdevices.ru (p-i-exch-sc-m01.sberdevices.ru [172.16.192.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.sberdevices.ru (Postfix) with ESMTPS; Wed, 13 Dec 2023 12:16:48 +0300 (MSK) Received: from [192.168.0.106] (100.64.160.123) by p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.1118.40; Wed, 13 Dec 2023 12:16:48 +0300 Message-ID: <402ea723-d154-45c9-1efe-b0022d9ea95a@salutedevices.com> Date: Wed, 13 Dec 2023 12:08:27 +0300 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.7.1 Subject: Re: [PATCH net-next v8 0/4] send credit update during setting SO_RCVLOWAT Content-Language: en-US To: Stefano Garzarella CC: "Michael S. Tsirkin" , Stefan Hajnoczi , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jason Wang , Bobby Eshleman , , , , , , References: <20231211211658.2904268-1-avkrasnov@salutedevices.com> <20231212105423-mutt-send-email-mst@kernel.org> <20231212111131-mutt-send-email-mst@kernel.org> <7b362aef-6774-0e08-81e9-0a6f7f616290@salutedevices.com> From: Arseniy Krasnov In-Reply-To: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit X-Originating-IP: [100.64.160.123] X-ClientProxiedBy: p-i-exch-sc-m02.sberdevices.ru (172.16.192.103) To p-i-exch-sc-m01.sberdevices.ru (172.16.192.107) X-KSMG-Rule-ID: 10 X-KSMG-Message-Action: clean X-KSMG-AntiSpam-Lua-Profiles: 182073 [Dec 13 2023] X-KSMG-AntiSpam-Version: 6.1.0.3 X-KSMG-AntiSpam-Envelope-From: avkrasnov@salutedevices.com X-KSMG-AntiSpam-Rate: 0 X-KSMG-AntiSpam-Status: not_detected X-KSMG-AntiSpam-Method: none X-KSMG-AntiSpam-Auth: dkim=none X-KSMG-AntiSpam-Info: LuaCore: 7 0.3.7 6d6bf5bd8eea7373134f756a2fd73e9456bb7d1a, {Tracking_uf_ne_domains}, {Tracking_from_domain_doesnt_match_to}, smtp.sberdevices.ru:5.0.1,7.1.1;d41d8cd98f00b204e9800998ecf8427e.com:7.1.1;salutedevices.com:7.1.1;127.0.0.199:7.1.2;lore.kernel.org:7.1.1;100.64.160.123:7.1.2, FromAlignment: s, ApMailHostAddress: 100.64.160.123 X-MS-Exchange-Organization-SCL: -1 X-KSMG-AntiSpam-Interceptor-Info: scan successful X-KSMG-AntiPhishing: Clean, bases: 2023/12/13 07:20:00 X-KSMG-LinksScanning: Clean, bases: 2023/12/13 07:20:00 X-KSMG-AntiVirus: Kaspersky Secure Mail Gateway, version 2.0.1.6960, bases: 2023/12/13 06:29:00 #22674381 X-KSMG-AntiVirus-Status: Clean, skipped X-Spam-Status: No, score=-1.6 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lipwig.vger.email 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 (lipwig.vger.email [0.0.0.0]); Wed, 13 Dec 2023 01:17:09 -0800 (PST) On 13.12.2023 11:43, Stefano Garzarella wrote: > On Tue, Dec 12, 2023 at 08:43:07PM +0300, Arseniy Krasnov wrote: >> >> >> On 12.12.2023 19:12, Michael S. Tsirkin wrote: >>> On Tue, Dec 12, 2023 at 06:59:03PM +0300, Arseniy Krasnov wrote: >>>> >>>> >>>> On 12.12.2023 18:54, Michael S. Tsirkin wrote: >>>>> On Tue, Dec 12, 2023 at 12:16:54AM +0300, Arseniy Krasnov wrote: >>>>>> Hello, >>>>>> >>>>>>                                DESCRIPTION >>>>>> >>>>>> This patchset fixes old problem with hungup of both rx/tx sides and adds >>>>>> test for it. This happens due to non-default SO_RCVLOWAT value and >>>>>> deferred credit update in virtio/vsock. Link to previous old patchset: >>>>>> https://lore.kernel.org/netdev/39b2e9fd-601b-189d-39a9-914e5574524c@sberdevices.ru/ >>>>> >>>>> >>>>> Patchset: >>>>> >>>>> Acked-by: Michael S. Tsirkin >>>> >>>> Thanks! >>>> >>>>> >>>>> >>>>> But I worry whether we actually need 3/8 in net not in net-next. >>>> >>>> Because of "Fixes" tag ? I think this problem is not critical and reproducible >>>> only in special cases, but i'm not familiar with netdev process so good, so I don't >>>> have strong opinion. I guess @Stefano knows better. >>>> >>>> Thanks, Arseniy >>> >>> Fixes means "if you have that other commit then you need this commit >>> too". I think as a minimum you need to rearrange patches to make the >>> fix go in first. We don't want a regression followed by a fix. >> >> I see, ok, @Stefano WDYT? I think rearrange doesn't break anything, because this >> patch fixes problem that is not related with the new patches from this patchset. > > I agree, patch 3 is for sure net material (I'm fine with both rearrangement or send it separately), but IMHO also patch 2 could be. > I think with the same fixes tag, since before commit b89d882dc9fc ("vsock/virtio: reduce credit update messages") we sent a credit update > for every bytes we read, so we should not have this problem, right? Agree for 2, so I think I can rearrange: two fixes go first, then current 0001, and then tests. And send it as V9 for 'net' only ? Thanks, Arseniy > > So, maybe all the series could be "net". > > Thanks, > Stefano >