Received: by 2002:a05:7412:8d10:b0:f3:1519:9f41 with SMTP id bj16csp5486357rdb; Wed, 13 Dec 2023 09:57:06 -0800 (PST) X-Google-Smtp-Source: AGHT+IHWEteJyiqj9sUNPqQgr+X4AEt4F32wIldRn6WflnZV/Gg/QeBAsHFeTI+2+W/z1pKcXaC8 X-Received: by 2002:a05:6a20:a122:b0:18c:f9f9:4198 with SMTP id q34-20020a056a20a12200b0018cf9f94198mr12535371pzk.14.1702490226482; Wed, 13 Dec 2023 09:57:06 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1702490226; cv=none; d=google.com; s=arc-20160816; b=P29MPaFnrxC+epEXSSQBQJhuzo+g1lkQXNgb1nk2YO+uRxjxWA8psTkRl6ELLfnl6P TB+xkWJA83ArColCYTI94+JWOw3qZTHnK41OpfUFrtWzv6WvXwiGtekZdwwUJICfCDS/ MY2cQr5fqecGB6KbGjb9boj1hQxKjJOrEoefM3smBTXFpps/4VwQaoBX5Ni6fxxwNPzZ ORi5DjOMpdqF3lVaLJlprSd5FaNA0agygil4Nld3H//vt2I27VGYPHg6MJqDskUef6MM jOL6fFk3BfzwEtw5gtoKVy17CQSm9foJvk2wqLZCdKocCVHi/lhMVZYlb51kPwy6xg8J fTew== 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-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=vEKtCaZo1O9cfSPgdOwxIJB9fsJXHh/ahknjK4hJAXk=; fh=qeH09XYNpAVRRxusj5PBcrmoykYA81Gv06blcSsSB0o=; b=0TDPWMvq5gdYJTZfuqYjnPaVCNP9ImUbTlnNBXsrwjex57upoirD7+vW0L5wcw0xNF h/eDvU/uciX3hRM0VvzTo/QM5XBjgML2RGExbuwXkpJfe0zw+3s9QR9CsVbFHj7HEuYl 2nwbrNUmbesLIBOHDJZV1o+1qA/1Wcunh8Jetro3olzu9zh1uXpZKslKExiBgAyLUVFH +pN6M8h4Ac2Cobf/Q7YqvAFSVr15yqUXlrjXOLVFMaE5UBRZuEKHmmfvRS3BdaT5cBOn U4xWTTxfN1nOo5VXHFyRhF0oYzQf1UBi6K65CuOyilR9jcQfl9NZABPcbzc5tCGgVpQj ekpw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JHU6RjzX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (morse.vger.email. [23.128.96.31]) by mx.google.com with ESMTPS id l1-20020a632501000000b005a1d88169casi9742051pgl.189.2023.12.13.09.57.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 09:57:06 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 as permitted sender) client-ip=23.128.96.31; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=JHU6RjzX; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.31 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 morse.vger.email (Postfix) with ESMTP id 94C36809E8A9; Wed, 13 Dec 2023 09:57:03 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at morse.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233525AbjLMR4e (ORCPT + 99 others); Wed, 13 Dec 2023 12:56:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51972 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235471AbjLMR4S (ORCPT ); Wed, 13 Dec 2023 12:56:18 -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 8B493114 for ; Wed, 13 Dec 2023 09:56:19 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1702490178; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vEKtCaZo1O9cfSPgdOwxIJB9fsJXHh/ahknjK4hJAXk=; b=JHU6RjzXafQpEOV2brBCe61Y+RLDRaUdD0hEeYXaykOANcJoWOO/v930HitsddPbKTCy75 096n8/tbb/JCTF4r4nNsxLRvxsEtPqGNdgE3UTgO2XOWTMFDlRIwqSzzQI3XrYPOPxlssl 0abo/n3+V25Ho2MXzGD/q0IVhOeFXqA= Received: from mail-ej1-f72.google.com (mail-ej1-f72.google.com [209.85.218.72]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-203-Kofem-qXPfmvryUY3roAgw-1; Wed, 13 Dec 2023 12:56:15 -0500 X-MC-Unique: Kofem-qXPfmvryUY3roAgw-1 Received: by mail-ej1-f72.google.com with SMTP id a640c23a62f3a-a19725a3a84so424611466b.0 for ; Wed, 13 Dec 2023 09:56:15 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1702490174; x=1703094974; h=in-reply-to:content-transfer-encoding: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=vEKtCaZo1O9cfSPgdOwxIJB9fsJXHh/ahknjK4hJAXk=; b=Wtpt5zn+cc79uo5PYhdEturUepTbXrkbLNC+aMSfSdyvXW7AbSg7P4UBpvuGKwr2vb ZtrOrlNEb5U2saSEB8zlzHtYXqd30uufa5zHJEKvME2P1HHpDCm9q7+hMiDPW04mN12d KwpJeu+/0iWfEQy/DUSCk3DJyb+0gy5f5QiBzN5EyN0gSJLqBRvm1+kpUuEg6BWtEGxu c9vdtv8d6H/ExIxkerv7tYtOHLZaV/KboBC627Emi77UIiBU7OppXDVfaZdGk2YG9tOb 2sQio3Jpp/8q4Zt9f/URu0T7K09XrT/0kNrqMV+9Z+In7EFCf7y9RZxuU9/ncKPLUESp w0bA== X-Gm-Message-State: AOJu0Yy/LYpbqn3nRq8V8ucM6E7Fwwp9l/Oz6ZBWd5o+6JIYS8Lm2OeX /0820xVHwGo2pN42TXZsS40E+2S9d+v+sUK7v2tLHMBz3H+DRpjAdGzAFbfwT7sypbhLI6M4D/0 dv8edyf3hrN0lRs20CxVULuwe X-Received: by 2002:a17:906:51c9:b0:a23:94b:eb76 with SMTP id v9-20020a17090651c900b00a23094beb76mr66459ejk.110.1702490174197; Wed, 13 Dec 2023 09:56:14 -0800 (PST) X-Received: by 2002:a17:906:51c9:b0:a23:94b:eb76 with SMTP id v9-20020a17090651c900b00a23094beb76mr66447ejk.110.1702490173843; Wed, 13 Dec 2023 09:56:13 -0800 (PST) Received: from redhat.com ([109.253.189.71]) by smtp.gmail.com with ESMTPSA id uv6-20020a170907cf4600b00a1e443bc037sm8258684ejc.147.2023.12.13.09.56.10 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 13 Dec 2023 09:56:12 -0800 (PST) Date: Wed, 13 Dec 2023 12:56:08 -0500 From: "Michael S. Tsirkin" To: Arseniy Krasnov Cc: Stefano Garzarella , 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: <20231213125404-mutt-send-email-mst@kernel.org> 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> <402ea723-d154-45c9-1efe-b0022d9ea95a@salutedevices.com> <20231213100518-mutt-send-email-mst@kernel.org> <20231213100957-mutt-send-email-mst@kernel.org> <8e6b06a5-eeb3-84c8-c6df-a8b81b596295@salutedevices.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <8e6b06a5-eeb3-84c8-c6df-a8b81b596295@salutedevices.com> X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,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 morse.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 (morse.vger.email [0.0.0.0]); Wed, 13 Dec 2023 09:57:03 -0800 (PST) On Wed, Dec 13, 2023 at 08:11:57PM +0300, Arseniy Krasnov wrote: > > > On 13.12.2023 18:13, Michael S. Tsirkin wrote: > > On Wed, Dec 13, 2023 at 10:05:44AM -0500, Michael S. Tsirkin wrote: > >> On Wed, Dec 13, 2023 at 12:08:27PM +0300, Arseniy Krasnov wrote: > >>> > >>> > >>> 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 > >> > >> > >> hmm why not net-next? > > > > Oh I missed your previous discussion. I think everything in net-next is > > safer. Having said that, I won't nack it net, either. > > So, summarizing all above: > 1) This patchset entirely goes to net-next as v9 > 2) I reorder patches like 3 - 2 - 1 - 4, e.g. two fixes goes first with Fixes tag > 3) Add Acked-by: Michael S. Tsirkin to each patch > > @Michael, @Stefano ? > > Thanks, Arseniy Fine by me. > > > >>>> > >>>> So, maybe all the series could be "net". > >>>> > >>>> Thanks, > >>>> Stefano > >>>> > >