Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5177527rdb; Wed, 13 Dec 2023 00:43:47 -0800 (PST) X-Google-Smtp-Source: AGHT+IHXpekTBjkXD4Fw/3bGSG13edzzmZ2ymuuF1eRXDhYatp5IzzdEGS5yVIZCD4eS2aA5pVaR X-Received: by 2002:a05:6e02:12b2:b0:35d:6c9d:c339 with SMTP id f18-20020a056e0212b200b0035d6c9dc339mr8943706ilr.65.1702457027587; Wed, 13 Dec 2023 00:43:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702457027; cv=none; d=google.com; s=arc-20160816; b=ewAEfauUruMsz8WgcD1/I6x5Ueiny98ChH4EcLtTFyLW2iWSIMLZMzi0ROKwx7EB6b 0tpwfDy9N6AdyaC43VTRug/IK/eJrmmzsdb/wjl5l9jrrlV37CLxud9mqRNt0TqUeu+A ZuiCf+eMGVBEB/r6V0z9SFAoLhnvNI/9gngci3QbKFF5x6SP+sWlbxjSBi4pFWFHxWJ6 dgytlx4M90Don+0BihfhGmk73qdnujANFqgQhcvOn1am2R4g5M5QTBz5bCLCpV9gJjlH 3GRwBfNSlMxPORaCOuYMgxDhILf3TmfqotdA0P4RAytC8UJaqxF649WPl6K/z52d0Ow+ V9wQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=9ypvU2CFpvjA4GuEgMA1XFzF02HXPcVncJHhzWckfAo=; fh=0mJ/jGmZ0v6b8ZW85DH4CXGjTGrXcvNnJ+jC1oCQQkQ=; b=GC0bkd0OLv04iIRNwI8odaHqL4Oo9e671zh75rjHGyIcjE4UVp8RdOvxEcq7TvT33f YiUFv8PcB+iiQSei2VUxNAfb+cpwP0aPQfxiApJdQ2dpZaxk9tA6xNfMZBTwFewsHJVh 0523FvgChRdwL5K+q7C96bBIwXoUAOe2r9EI+7xKFCAKFRIrumuEy3W9HLVXXQ/MGWFM GprudTRfDqK7ZhwHh8SINHb1qj8dSGBt50aJHmJGz02lnaaogdH6K27Oq4B42JMK12u9 J+/taLvUuKMnQubxjMJtM0phzOwCjCN6EyCX2IPHso7OV1MjdDaf9eFg6pV3e2c7ylsW 7wxQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=A07qou8z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from snail.vger.email (snail.vger.email. [2620:137:e000::3:7]) by mx.google.com with ESMTPS id jn3-20020a170903050300b001cff9cd4d6fsi8948293plb.174.2023.12.13.00.43.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 00:43:47 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) client-ip=2620:137:e000::3:7; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=A07qou8z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::3:7 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 795A980BBE88; Wed, 13 Dec 2023 00:43:46 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230181AbjLMIne (ORCPT + 99 others); Wed, 13 Dec 2023 03:43:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54784 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229458AbjLMInc (ORCPT ); Wed, 13 Dec 2023 03:43:32 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 59CC1A5 for ; Wed, 13 Dec 2023 00:43:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702457018; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=9ypvU2CFpvjA4GuEgMA1XFzF02HXPcVncJHhzWckfAo=; b=A07qou8zhN6INiRcZo6Jts8WashAl5Jg07IQHHatmwFCJPqJWiHlCbGsya6DH2IBb0WvGX OoRfwAHiVD4WZCF+4VCQanrhJfEN8dRQmx1LJFzOcYXV4iWyTEX4eg2KZ+0ltjWEHAfcm4 PAHkFbg8YdslPsD7iEErztnLy+zIgbM= Received: from mail-wr1-f72.google.com (mail-wr1-f72.google.com [209.85.221.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-671-FF4Fc9isObm51ggMkN8Sbw-1; Wed, 13 Dec 2023 03:43:37 -0500 X-MC-Unique: FF4Fc9isObm51ggMkN8Sbw-1 Received: by mail-wr1-f72.google.com with SMTP id ffacd0b85a97d-33641bbc49dso67628f8f.0 for ; Wed, 13 Dec 2023 00:43:36 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702457016; x=1703061816; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=9ypvU2CFpvjA4GuEgMA1XFzF02HXPcVncJHhzWckfAo=; b=uhgNezomL6n52OWoJbCR5K/523LTXQsyExxVZP4QaNfNkfzC6agxtudFfMQKOEhIp5 XLxvC4UPh72mkXdWJMRoUYvZh4zjDJeeZ9Zawkl1EULdqX4AGZNz1RW7mXnwvZ1B86qB XyNGFk+eT62b0oibf/2m2FhRnJyHIjcMNgkY2Z7hvT+zqZgu8E3/Mut88aJUgMZD8aga +izcB4gp4UfNt69HnYzI4uoZCOX4Qkx/qUv8MoZhZ6wJ5eb/ZIKFn9d+AlVs52KH0nrC ejqZPqm42oozQCduXQFW3FohDKqpNj1UlrfSc9xZ5KpgHRYXmz3vddkEeadQSuKrTpal BeFQ== X-Gm-Message-State: AOJu0Yxe4fJgCAxZ9XbkKbZ94usrQa0yMRte/gQx7RHsLT9DwjIhegck 0+aIE2Ycv6bvAvchMvq3D8vGarKYarhS5xCp2jwz0w6tUQxtqYtkGLSSIZPZg0WdLk7RBttFemZ sVe6IVQFC1nv0pZAmpfWJNQnz X-Received: by 2002:a05:600c:401:b0:40c:26ef:b24b with SMTP id q1-20020a05600c040100b0040c26efb24bmr3913393wmb.188.1702457015950; Wed, 13 Dec 2023 00:43:35 -0800 (PST) X-Received: by 2002:a05:600c:401:b0:40c:26ef:b24b with SMTP id q1-20020a05600c040100b0040c26efb24bmr3913382wmb.188.1702457015584; Wed, 13 Dec 2023 00:43:35 -0800 (PST) Received: from sgarzare-redhat ([5.179.184.12]) by smtp.gmail.com with ESMTPSA id j17-20020a05600c1c1100b0040b48690c49sm19575443wms.6.2023.12.13.00.43.33 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 00:43:35 -0800 (PST) Date: Wed, 13 Dec 2023 09:43:29 +0100 From: Stefano Garzarella To: Arseniy Krasnov Cc: "Michael S. Tsirkin" , Stefan Hajnoczi , "David S. Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Jason Wang , Bobby Eshleman , kvm@vger.kernel.org, virtualization@lists.linux-foundation.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@sberdevices.ru, oxffffaa@gmail.com Subject: Re: [PATCH net-next v8 0/4] send credit update during setting SO_RCVLOWAT Message-ID: 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <7b362aef-6774-0e08-81e9-0a6f7f616290@salutedevices.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,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_NONE,T_SCC_BODY_TEXT_LINE 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 (snail.vger.email [0.0.0.0]); Wed, 13 Dec 2023 00:43:46 -0800 (PST) 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? So, maybe all the series could be "net". Thanks, Stefano