From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from smtp1.osuosl.org (smtp1.osuosl.org [140.211.166.138]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 79A87CA0FED for ; Fri, 5 Sep 2025 23:03:41 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp1.osuosl.org (Postfix) with ESMTP id 3038D83D36; Fri, 5 Sep 2025 23:03:41 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp1.osuosl.org ([127.0.0.1]) by localhost (smtp1.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id bj3GacY2lxel; Fri, 5 Sep 2025 23:03:39 +0000 (UTC) X-Comment: SPF check N/A for local connections - client-ip=140.211.166.142; helo=lists1.osuosl.org; envelope-from=intel-wired-lan-bounces@osuosl.org; receiver= DKIM-Filter: OpenDKIM Filter v2.11.0 smtp1.osuosl.org 46BCC83D35 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osuosl.org; s=default; t=1757113419; bh=SSR5igEuT2Tf8n+EfMfirwtxqYmk61d5A+Q6qOa4nUA=; h=Date:From:To:Cc:In-Reply-To:References:Subject:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=uceqkcksip42GBvrPgdtB9MkkvtRLJBXK4+1OrKF3/0DgK0ePqFi69479xWMYSso3 q9FeAJb8dimKQ5+cgKbVOPyX7dIReDAtZdPU8cb99tFJb999j3OHeQiNaoxM+GRRTO dfO9K5Yu8N2rTgNHUJzK0P8xWKwlvoMYIV9hPoygPKafrQhgE93DXV2DH52cAZZGwb WApNmH1xunsf1zGaX6jTPAnWc9/OZ7+oZKhT5JgKO31B2i0v3uPX86ZU53dparb5wj 2nwWkgNPhbQjHYeLYE/xvx3tk+aVH+mT4V9YfmjR6VE23mI2jqqVn1lBWIaqG5MO+f 4dQwAjMN9gEpQ== Received: from lists1.osuosl.org (lists1.osuosl.org [140.211.166.142]) by smtp1.osuosl.org (Postfix) with ESMTP id 46BCC83D35; Fri, 5 Sep 2025 23:03:39 +0000 (UTC) Received: from smtp4.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by lists1.osuosl.org (Postfix) with ESMTP id 001EF967 for ; Fri, 5 Sep 2025 23:03:37 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by smtp4.osuosl.org (Postfix) with ESMTP id DA60B412ED for ; Fri, 5 Sep 2025 23:03:37 +0000 (UTC) X-Virus-Scanned: amavis at osuosl.org Received: from smtp4.osuosl.org ([127.0.0.1]) by localhost (smtp4.osuosl.org [127.0.0.1]) (amavis, port 10024) with ESMTP id HDTtMck87Ygu for ; Fri, 5 Sep 2025 23:03:37 +0000 (UTC) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2600:3c04:e001:324:0:1991:8:25; helo=tor.source.kernel.org; envelope-from=kuba@kernel.org; receiver= DMARC-Filter: OpenDMARC Filter v1.4.2 smtp4.osuosl.org 4D7F9412EC DKIM-Filter: OpenDKIM Filter v2.11.0 smtp4.osuosl.org 4D7F9412EC Received: from tor.source.kernel.org (tor.source.kernel.org [IPv6:2600:3c04:e001:324:0:1991:8:25]) by smtp4.osuosl.org (Postfix) with ESMTPS id 4D7F9412EC for ; Fri, 5 Sep 2025 23:03:37 +0000 (UTC) Received: from smtp.kernel.org (transwarp.subspace.kernel.org [100.75.92.58]) by tor.source.kernel.org (Postfix) with ESMTP id 9DB8F601AE; Fri, 5 Sep 2025 23:03:35 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86F8CC4CEF1; Fri, 5 Sep 2025 23:03:34 +0000 (UTC) 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" 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> MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Mailman-Original-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== X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dmarc=pass (p=quarantine dis=none) header.from=kernel.org X-Mailman-Original-Authentication-Results: smtp4.osuosl.org; dkim=pass (2048-bit key, unprotected) header.d=kernel.org header.i=@kernel.org header.a=rsa-sha256 header.s=k20201202 header.b=Ddx2BZAU Subject: Re: [Intel-wired-lan] [RFC PATCH v2] net: add net-device TX clock source selection framework X-BeenThere: intel-wired-lan@osuosl.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Intel Wired Ethernet Linux Kernel Driver Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: intel-wired-lan-bounces@osuosl.org Sender: "Intel-wired-lan" 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? 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: 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 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?