Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1215441rdb; Fri, 9 Feb 2024 14:12:23 -0800 (PST) X-Google-Smtp-Source: AGHT+IHQ+tTWr6zrLqdYS+CuTi1pnQopQODsV6Xys3m2uy+SLDIQm9lGEhp75+GKvmV2Y6Xfl4dT X-Received: by 2002:a17:90a:fb43:b0:290:4637:1808 with SMTP id iq3-20020a17090afb4300b0029046371808mr409589pjb.26.1707516742708; Fri, 09 Feb 2024 14:12:22 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707516742; cv=pass; d=google.com; s=arc-20160816; b=qSMMyFokdlF4UPq01P0x6mFfy5pP7wBowYUMmiBpFaSkg/hJAaCCQ7RHndTIMYtbU8 z6gG+a1YKedG29XYHKlYtwwIYReDsU52epoqyuYX9SUs4ynJSpMV63w6TQfMPfVRUNDr 5sN6a9cQeXZcdwP7Rq16oep0POiytgCUdMgCIjC1wWx1pQDOrjxa6ceHVILcxj81XD2o u+GRo1AcCY8Jyo7msTCBtQbza3KoNQOGEWwqD5mNwSbLA7Fr15ZstAuRUU/NqUWBNS2a Ybpuf3RcDcUYwrKDHQd2XbGq4ixXVug4v10QEV/S8Oqis1SKqlEArcuAQwVpeWmr3RoO lipQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Li/m2CO1iH9ZTlT4q9LrLguLOr9rrO94b5DkDf2WAJI=; fh=6u42GCpV4jSga+PRgjTXZkmUlfDBR2O1NPjFrqZC3dI=; b=EU9r+IAiImVD0ejZXOu5iwUvnEn2lQr4uJWldK157rkcBeCUT6hRX+wtlVhSBIc89t S8W6ObkoDohqmcjJ7fIHIyQTbZa/OMSyVyZgWC9+dM92epdinQ4UcP2q0zg25iQ8B7A9 1UInrQVs0rbGqSLMGjIpLuRcGEucTl21wJd1GR0XCBcCSqOxPdz1z4Y7aE4UxEIPJIOu 9ylxr+Gftrq+xh6dE6NUK1VUO8E4rW1nQnJGQGKFte+RQU4q1UmP0hOaC1BYpEyow2Yr 6CQwWKhKHhc68luZlWv0yn9L+6/x6PQGhswMJ8i0eNscsQltqHvh6+GZxbsgCrv44IZF +KJg==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=Iy5YZcwt; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-60069-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60069-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch X-Forwarded-Encrypted: i=2; AJvYcCXZQUtQ4W1OQL6HUzWzmj1XeHEvD+3NNq+rasQo7OaobnEZUKxyC0eGLD57Nh4NR4B2JTVch5xce0WJoMehHi5kiTQY7TiCkJWfbUV82A== Return-Path: Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id p14-20020a17090b010e00b002967481eadesi2228383pjz.101.2024.02.09.14.12.22 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 09 Feb 2024 14:12:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60069-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@lunn.ch header.s=20171124 header.b=Iy5YZcwt; arc=pass (i=1 spf=pass spfdomain=lunn.ch dkim=pass dkdomain=lunn.ch dmarc=pass fromdomain=lunn.ch); spf=pass (google.com: domain of linux-kernel+bounces-60069-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60069-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=lunn.ch Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id 341BC2837BE for ; Fri, 9 Feb 2024 22:12:22 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 00A7628DD6; Fri, 9 Feb 2024 22:12:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b="Iy5YZcwt" Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id BE3B618AE4; Fri, 9 Feb 2024 22:12:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=156.67.10.101 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707516732; cv=none; b=suu6MgnvYD9Z3Q0stSP7oFwkNAiVNrwTZC8zcP3mIzjOOijk6y+PIU7o2RtwIGucnBLTuyOo8H5BP1mNjzT6j8f97HKq13sW1UHKbAz1DtQw39yWvKEkoEYEQh3jlOWGmCj8zwxXWbnaP8oA7TAaXIQJ4jbD7pwjjngSfLoP6C8= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707516732; c=relaxed/simple; bh=6oi2fMAr5Pa/CcrOzzWHwIc25Cj/SWFT1BQ4zQmQJ6k=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=i8WG24D9QPL+1wMiZdXjX8rKSByKCRLiEudkjDTQGWz5hIfvRGRG0CyBkbwykE5R9TtELhvgmD0WNlk3sRMZMvZaUOKcmR1/ldD+x0aP/SSxaedkCpnZy1hZJzjxnualb4fotK1rms/OUu0CzpvVOVar6svEJ/E4q6OZkr/tF1o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch; spf=pass smtp.mailfrom=lunn.ch; dkim=pass (1024-bit key) header.d=lunn.ch header.i=@lunn.ch header.b=Iy5YZcwt; arc=none smtp.client-ip=156.67.10.101 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=lunn.ch Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=lunn.ch DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=Li/m2CO1iH9ZTlT4q9LrLguLOr9rrO94b5DkDf2WAJI=; b=Iy5YZcwtloEbmqNWDFuCkS/ag3 xF98DSUvYa6MMxUjuw+qRsat09Hkk+BqMQ7UnKaGDEeqzbrhUui6P9SkgZL2CrojlhmTaRrpzC9GV 8LqEpO/pTvbnlW/Yby63W7squg0yKMNgfMi8lpinDgd0algbRTmMvP0/g8CDYj2TwTGQ=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1rYZ69-007Q99-PG; Fri, 09 Feb 2024 23:11:53 +0100 Date: Fri, 9 Feb 2024 23:11:53 +0100 From: Andrew Lunn To: Jakub Kicinski Cc: David Ventura , Jonathan Corbet , "David S. Miller" , David Ahern , Eric Dumazet , Paolo Abeni , Greg Kroah-Hartman , "Paul E. McKenney" , Randy Dunlap , Xiongwei Song , "open list:DOCUMENTATION" , open list , "open list:NETWORKING [IPv4/IPv6]" Subject: Re: [PATCH v2 1/2] net: make driver settling time configurable Message-ID: <7485f0b2-93fe-4c82-95e8-5b0e10f9fa7a@lunn.ch> References: <20240208093722.246930-1-david@davidv.dev> <20240208095358.251381-1-david@davidv.dev> <20240209135944.265953be@kernel.org> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20240209135944.265953be@kernel.org> On Fri, Feb 09, 2024 at 01:59:44PM -0800, Jakub Kicinski wrote: > On Thu, 8 Feb 2024 10:52:29 +0100 David Ventura wrote: > > During IP auto configuration, some drivers apparently need to wait a > > certain length of time to settle; as this is not true for all drivers, > > make this length of time configurable. > > Please CC folks who gave you feedback, Andrew's is missing. > > Andrew, what do you think about just removing the wait? > Or decreasing it to 1ms? > It feels a little wasteful to be adding uAPI for something > which as you said is likely papering over ancient bugs. We'll > fix the bugs which are still around and the uAPI will stay > forever :( My guess is, the broken drivers are doing setup stuff after they call netdev_register(). Reducing it to 1ms will probably continue to hide such bugs. So we could just go with that, and probably not see any regressions. Or we can decide we really do want to know about broken drivers, and just remove the delay. Either way, we don't need a new uAPI. David, is 1ms too long for you? If we do take the delay out, you are going to receive some of the flack from regression reports. Andrew