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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (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 CE148CF58E5 for ; Wed, 25 Sep 2024 13:36:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender:List-Subscribe:List-Help :List-Post:List-Archive:List-Unsubscribe:List-Id:In-Reply-To:Content-Type: MIME-Version:References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=1G9GlB0spcSQ2Hzbn1Dic1BfcSKakLMd9Fn04CdJsDE=; b=mzbN0frF4THj88zjxI4lmDgkRE bvO8d/8ADF6RK5fExTMr+0mSWZP+FDcuG3Gd01sqzVJkNUGVptgEJXhrvKXQ3LE7rgaqBoKnGfjVs 9IGlWwpeOwA1qmS+Gn9kCLRB8i991aPrUlSE5a1mFgTn8tntjbzhvUVK6WJp5JGJAq5ILjICNCq9z 3r3D5d8+mOFV7CtOrJ1u9MVDREW85b148FDB0onjlgBj+1LM9geIIzI4Q0mP137bno7Ct/4k20SS6 eOFwncckLgBbji/+0Tw0UA8mTHf2MZgzh8fvyttEON/a4flM+iYVdIyziBStwoxolAqQUhKyKPwzC OC3rFm3g==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.98 #2 (Red Hat Linux)) id 1stSBv-00000005PPT-2N1a; Wed, 25 Sep 2024 13:36:27 +0000 Received: from mail-ej1-x630.google.com ([2a00:1450:4864:20::630]) by bombadil.infradead.org with esmtps (Exim 4.98 #2 (Red Hat Linux)) id 1stS9p-00000005OvH-0R8k for linux-arm-kernel@lists.infradead.org; Wed, 25 Sep 2024 13:34:18 +0000 Received: by mail-ej1-x630.google.com with SMTP id a640c23a62f3a-a8a765f980dso93507566b.1 for ; Wed, 25 Sep 2024 06:34:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1727271255; x=1727876055; darn=lists.infradead.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=1G9GlB0spcSQ2Hzbn1Dic1BfcSKakLMd9Fn04CdJsDE=; b=EqZ5jVOFs8ew6v7YmpgKVKb78nkU7P0pKf7YLpwUqaJhkHatTvyJwuLrQEjQTUv7fd VdzDRitywvZxCvsKUqhKP3he5cmfJ4MQlF0gF7pYNq6DN0e99TyiYA3SxbBpIpXZmYOB hf1JDkNDvz2oUwvYRkiw9M4Tg/tn1Q810F0iN9qSFPZyQJhO6MC+AhTThJqGzaP30NDy hREF9dnnaGIFVUMj71K+1cndIN2+YlebrpoCtg3G13AuEUgBjDBy+xYl0IPNoHlNzvDR MKIfbt7Uih9HNvpOt5+z9V/wXv165eNMsPr+ayFGE4PxC/ShMI15kHQQZgfxL/bqlZbl BM1A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727271255; x=1727876055; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=1G9GlB0spcSQ2Hzbn1Dic1BfcSKakLMd9Fn04CdJsDE=; b=dF0rYKo5PItPLKIyNo9pJWDdNz9L1o0eubw9CqM0TlVDr6pnQ9xfeZ6hCuyf4TZFW5 nSkg/CPwTkPLgEiAqnc2WY1iZZ/cKKTQspKh/ksmOlN5cr/wipSFR3jY+y0GUHppHyFV Cd4pSQiN/AvPpfPnIEg6JlYtWwjrOD6aF2xR2yKXpkivh+9UVf5SWj1ym5CZh0H0s0R/ 3Lxlw4VBIPv4DcmOv3N7Fw3XVCe10o4OHrcPBPs0WvFQWVrFGGNg+OdvnkOkkgnGqdzK cvCRmEND4RDTX4ewH0j3vPFKcNk71aBLy7qizdIkKQIks06RFoyidxoD90USqP/DMJGx W8/A== X-Forwarded-Encrypted: i=1; AJvYcCWQB2YqZVf1j3X2hk3Jq4ZxivI4e13FkTEEWU14MtfXtJ2gmrJEdKZdoCbebOoXh8ygyMOlsYL2MlXAUJYc66Y/@lists.infradead.org X-Gm-Message-State: AOJu0YxVsR2zSZPRuBdYbjqHzyX9Zay3HulTTzOTXbkuM0YqiRkU9mb4 jnUULBsFgeel1KFqF0ck0mUajy60Ivd9y8HhF1kh7yVMCnNkQb+j X-Google-Smtp-Source: AGHT+IFlt8RigiKecsjAQw3jCdDTeX+psJX6Ye/0uvJWpmUJn4dFKXnuhwDgbyCk2uZZJ0TnWaWFhQ== X-Received: by 2002:a17:906:d554:b0:a8a:93ce:d252 with SMTP id a640c23a62f3a-a93a039f506mr116078366b.6.1727271255186; Wed, 25 Sep 2024 06:34:15 -0700 (PDT) Received: from skbuf ([188.25.134.29]) by smtp.gmail.com with ESMTPSA id a640c23a62f3a-a9392f34291sm214235466b.14.2024.09.25.06.34.13 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 25 Sep 2024 06:34:14 -0700 (PDT) Date: Wed, 25 Sep 2024 16:34:12 +0300 From: Vladimir Oltean To: "Russell King (Oracle)" Cc: Andrew Lunn , Heiner Kallweit , Alexandre Torgue , "David S. Miller" , Eric Dumazet , Florian Fainelli , Jakub Kicinski , Jiawen Wu , Jose Abreu , Jose Abreu , linux-arm-kernel@lists.infradead.org, linux-stm32@st-md-mailman.stormreply.com, Maxime Coquelin , Mengyuan Lou , netdev@vger.kernel.org, Paolo Abeni Subject: Re: [PATCH RFC net-next 08/10] net: dsa: sja1105: use phylink_pcs internally Message-ID: <20240925133412.76bnadwfw55sw37a@skbuf> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20240925_063417_165972_8BB7D9A9 X-CRM114-Status: GOOD ( 10.38 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Sep 23, 2024 at 03:01:35PM +0100, Russell King (Oracle) wrote: > Use xpcs_create_pcs_mdiodev() to create the XPCS instance, storing > and using the phylink_pcs pointer internally, rather than dw_xpcs. > Use xpcs_destroy_pcs() to destroy the XPCS instance when we've > finished with it. > > Signed-off-by: Russell King (Oracle) > --- Reviewed-by: Vladimir Oltean Tested-by: Vladimir Oltean