From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-alma10-1.taild15c8.ts.net [100.103.45.18]) (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 1CC80395AFD; Tue, 16 Jun 2026 21:05:06 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=100.103.45.18 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781643907; cv=none; b=Yu54L8/7mvq5OM96Wycpu5TvsEly7KrN8EIoLEdsIY3U6jZcIEWfl60bpIMiWZOSK3tc1qmhPjU9Oa6Idg1uEYzVIoLXxQOJBj1rthxruw3hCI3r6sViSmyTbafgRRR8zZjKilZn8lL9s/g8VeOvh0kfFN/j10ccGXZkv5GJ8Bs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1781643907; c=relaxed/simple; bh=20MOj3cFIfEmwj14kTofb3V5BqW7mpcKZIyGsLatgfw=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=XBIeR9FHJOKnqZhgrOxOH86Hj02Iqwuq7h4VyIGapxMLCy8xQo0LqeJgxbEhsknnPEQ4f1jDTAYBP5QgEeJgCmSj4ugbO/3ADtNN9pn+tct64Oo5JXb1ZxWD8TgdMtdyrOu76Jd318JkEZXjsQTJ+j9HPVTjCTpz9lrFO9HlqYM= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=SQLTYRBb; arc=none smtp.client-ip=100.103.45.18 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="SQLTYRBb" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B94841F000E9; Tue, 16 Jun 2026 21:05:05 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel.org; s=k20260515; t=1781643906; bh=2R8CmtVTZGIH+ClggiKNd4YljShJHA2SfkJJ6kv1B44=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=SQLTYRBbi06gYKC7IZ5HTVbl+rJze67jKydMVFmDf+lJ8ZGRbRIKf00iiYEK2zCZl OolnUXytFooF06TzCunHiuhB72WLWp0herX34zZHsiw5FNzMzxmlsMp9p7/DSlZgFs duxuaxQEHEff7Qj/gLUhPMqSu6mqxw4sDzs7ktDQfP2XxqOvlx1/IFP5DGhdhP+djc 164+kEgQYm6sdkeMqHauFp3eAOqkRAz9G7WFAKj3x0DqVUSAEg6PKh4Uma95HP21Kl azC1lkGaUUfoXMhcQYqRF142jVkf6xfbckm9o5xeSvmj1NH+lfKvOmCmiqMgldBBIs 897ZmG8dq3GEQ== Date: Tue, 16 Jun 2026 14:05:04 -0700 From: Jakub Kicinski To: Mark Bloch Cc: Jiri Pirko , Eric Dumazet , Paolo Abeni , Andrew Lunn , "David S. Miller" , Jonathan Corbet , Shuah Khan , Simon Horman , Sunil Goutham , Linu Cherian , Geetha sowjanya , hariprasad , Subbaraya Sundeep , Bharat Bhushan , Saeed Mahameed , Leon Romanovsky , Tariq Toukan , Ethan Nelson-Moore , linux-doc@vger.kernel.org, netdev@vger.kernel.org, linux-rdma@vger.kernel.org Subject: Re: [PATCH net-next V3 2/7] netdevsim: Register devlink after device init Message-ID: <20260616140504.75979b27@kernel.org> In-Reply-To: <7635d50c-1c82-4090-8907-53a72444fc04@nvidia.com> References: <20260605181030.3486619-1-mbloch@nvidia.com> <20260605181030.3486619-3-mbloch@nvidia.com> <20260610165053.7c91f331@kernel.org> <20260611085440.4fe36bf2@kernel.org> <7635d50c-1c82-4090-8907-53a72444fc04@nvidia.com> Precedence: bulk X-Mailing-List: netdev@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Tue, 16 Jun 2026 20:29:25 +0300 Mark Bloch wrote: > I think the explicit helper is the cleanest option here, without any > workqueue fallback inside devlink. It avoids depending on devl_register() > ordering, and makes the support explicit per driver. > > Does that sound like an acceptable direction? I'd much rather have the workqueue with the purely theoretical race with user space than a bunch of drivers that don't act on the cmdline params.