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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id F02E0C433FE for ; Tue, 8 Nov 2022 21:03:14 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229669AbiKHVDO (ORCPT ); Tue, 8 Nov 2022 16:03:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35686 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbiKHVDM (ORCPT ); Tue, 8 Nov 2022 16:03:12 -0500 Received: from vps0.lunn.ch (vps0.lunn.ch [156.67.10.101]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E8E5F5EFA1 for ; Tue, 8 Nov 2022 13:03:11 -0800 (PST) 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=z8dEI7wcV7HmzRxbhpcJELSxkLJm2lYmI/e6fpyUZW4=; b=O9spS5uJNXJG8q4dWtef3XcK65 dg60r6DH7UxyecNY5At1/vTKl+aluDrFy5sFYxz3Gshv6fkli857RJqsjdAKCJD5HLvseaZs2/HzP 7wPTHqBPI/2Kwj+fj8KgeK0qFWfMUff7eXGTFEtm3HUFDJz/f+ZLkRGeUlHBMxMKAOqM=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1osVkS-001rHl-0J; Tue, 08 Nov 2022 22:03:08 +0100 Date: Tue, 8 Nov 2022 22:03:07 +0100 From: Andrew Lunn To: Mengyuan Lou Cc: netdev@vger.kernel.org, jiawenwu@trustnetic.com Subject: Re: [PATCH net-next 3/5] net: txgbe: Support to setup link Message-ID: References: <20221108111907.48599-1-mengyuanlou@net-swift.com> <20221108111907.48599-4-mengyuanlou@net-swift.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221108111907.48599-4-mengyuanlou@net-swift.com> Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Tue, Nov 08, 2022 at 07:19:05PM +0800, Mengyuan Lou wrote: > From: Jiawen Wu > > Get link capabilities, setup MAC and PHY link, and support to enable > or disable Tx laser. You should probably take a look in driver/net/pcs, drivers/phy/ for configuring low level SERDES properties, and driver/net/phy/phylink*. You need to use these frameworks, not invent your own. Andrew