From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 747EB72639; Fri, 5 Sep 2025 23:03:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757113415; cv=none; b=LlKTVBln62Sj0ZjO2hXJ80PlrECt3kzS+arVnG/wtl9O+4KiwgGlO1+dzLOxKm7Ef280SfEf2MkWya9VpW70Cr+zkksgRf70udDWZUH+grDloRdB3hRh6117RJsg9sZ99oGNz/0LfrCJ2M1j90HbiVrPKSwEDDf7+lmk/HnZWcc= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1757113415; c=relaxed/simple; bh=SSR5igEuT2Tf8n+EfMfirwtxqYmk61d5A+Q6qOa4nUA=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=WKIYSZoiCwYn3ZQ5svW5xGN3XoFopBpVoiS1d8GjsWPCZuXV9FC2vzPqzCeKBH8D1j4ignmCySnhoCg+8ouRbc9+b2zPq3pvGHYQyeTsXC56UiXtLeYfrnVY44zm1Dr0ybLUPr2lNggCfry7eBSZaR3COkvzM2W2iFSWk1UMSyg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Ddx2BZAU; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="Ddx2BZAU" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86F8CC4CEF1; Fri, 5 Sep 2025 23:03:34 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1757113415; bh=SSR5igEuT2Tf8n+EfMfirwtxqYmk61d5A+Q6qOa4nUA=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=Ddx2BZAUkhkz5OFxzcQEkbmKebtXFYcikDJTvGsRE2bKHpDiiE8EfJ86D1oUQ27H+ dTQO/eJF6KJIJ0GqPkBAfxBwX9U4ql+FFt2PcQFhoX/SG1fuKyEa2ljZxkkqajob9F cYKddhx0USgUJZ6mGal/Zfc4PdJt4d/bw9q+VpbnrLASSgoBUS5k0GiRnWOBzq1vQ+ EDHxfnCsN1d/B36c3GGKz3beQPvUYL4TKuymy71Q1b6bmFhitWNP4H4ifE1/4NhTAL nSgiHGjgjg/PqB52RR/cihCGTQpGs6jOw+mtQh7/0IDdFOF1Zr3VNWeC1mu2n5DElb 5mqlQFzt9mr2Q== Date: Fri, 5 Sep 2025 16:03:33 -0700 From: Jakub Kicinski To: "Kubalewski, Arkadiusz" Cc: "Nguyen, Anthony L" , "Kitszel, Przemyslaw" , "andrew+netdev@lunn.ch" , "davem@davemloft.net" , "edumazet@google.com" , "pabeni@redhat.com" , "horms@kernel.org" , "sdf@fomichev.me" , "almasrymina@google.com" , "asml.silence@gmail.com" , "leitao@debian.org" , "kuniyu@google.com" , "jiri@resnulli.us" , "Loktionov, Aleksandr" , "Vecera, Ivan" , "linux-kernel@vger.kernel.org" , "intel-wired-lan@lists.osuosl.org" , "netdev@vger.kernel.org" Subject: Re: [RFC PATCH v2] net: add net-device TX clock source selection framework Message-ID: <20250905160333.715c34ac@kernel.org> In-Reply-To: References: <20250828164345.116097-1-arkadiusz.kubalewski@intel.com> <20250828153157.6b0a975f@kernel.org> <20250829173414.329d8426@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-Transfer-Encoding: 7bit On Fri, 5 Sep 2025 11:14:09 +0000 Kubalewski, Arkadiusz wrote: > Please share your thoughts, right now I see two ways forward: > - moving netdev netlink to rt-netlink, > - kind of hacking into dpll subsystem with 'ext-ref' and output netdev pin. I haven't spend much time thinking this thru, but my intuition would be similar to what we have. One dpll pin exposed via rtnetlink (like Ivan shows in his reply), and then the selection of input for that pin kinda looks like the mux problem that we already solved with the DPLL API? IOW I guess "hacking into dpll subsystem" would be my first choice?