Received: by 2002:a25:683:0:0:0:0:0 with SMTP id 125csp1144766ybg; Thu, 11 Jun 2020 02:04:27 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzthVIrRgwYdpOzaUAuDQPejQR/zOrS65u99hiiCr739PDP0AkbP5cX0qepHBydC8G9LL4s X-Received: by 2002:aa7:c908:: with SMTP id b8mr6150793edt.76.1591866267101; Thu, 11 Jun 2020 02:04:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1591866267; cv=none; d=google.com; s=arc-20160816; b=K+/DFv+kx1KdPQ+BzVfb3Kd2ZEShkSrcBV4tRWzGzyZH3+MM+Yfa9gr2tna4q9M2oG YZ8OQ0FyA6K+5n6wL0p8IU6YjC7qiq9xPlOQKT6B/zgDFBf48omjGY3nB6tOVOLwdFiL rHCaCYvX8dR/W7s3LdwriNZWIF9K7pBBVHbSPuEO2ixkSQPSaEPEvikbw4pZRRLWLfbx iU+jlSjrcgXCtb/ldA1YMnnSGQMOd6veYQWafQ+fGiz2w6LgFvhQsfGLQplx+Mr56VGS Dlb+ty7zcgCFAlVeWy/feBzrPwR2PN0pW2yidQ2UbscijvzhIB537fNLgqPIq1OaAFi9 UtYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=f70qcp+8H8N+7vfQUf6lwsKTErk85DZiUNo0OM0KDKo=; b=Kyfvs9GmR7RaZNuRXkeUO4YUEFx7EuoVwBGp9MfiuyG7jKhqtlDoCes5PQ97qju9oD mrAEPE5sI272lckglQRcsDy4D7LWLgC316w2T0o6xH1+K0firY4X5gKR7qp/Rfi+2q2A 8phIqLG41gvfcJyfntntp+/g9jtDeOZWueO8Fn2raeoGSNaEfQZGFXl/WZzi7fW9nm8b HMfQjCyzmUBZCb0PmXpxJAaLq/vAVGX/L3zpKB53sejkSkKm/MWS31Nsdb1YvBPl7FQI B/GFv22uLFGztQRYsoV3CXIJ7NohY/VGmlvqjzqwTSD+QjF1vEutjifxupzRyBf4xdId IHQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aKoVo3UV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v10si1772489ejb.343.2020.06.11.02.04.03; Thu, 11 Jun 2020 02:04:27 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=aKoVo3UV; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726973AbgFKJBk (ORCPT + 99 others); Thu, 11 Jun 2020 05:01:40 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:37108 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726928AbgFKJBi (ORCPT ); Thu, 11 Jun 2020 05:01:38 -0400 Received: from mail-ej1-x643.google.com (mail-ej1-x643.google.com [IPv6:2a00:1450:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8B18BC03E96F; Thu, 11 Jun 2020 02:01:37 -0700 (PDT) Received: by mail-ej1-x643.google.com with SMTP id q19so5657856eja.7; Thu, 11 Jun 2020 02:01:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=f70qcp+8H8N+7vfQUf6lwsKTErk85DZiUNo0OM0KDKo=; b=aKoVo3UVoRws3o5Y4Mxmlc5CpVRvnFOlr2j/nBlJVjQeEXtfxHzwrPhsJli6AvjnVV D2ajORkKdG+Q6wYK5z170YS1tb3dUjrKgipBAFPNvZMBU8RZ5Sp2tdFwTv1FlKsMe7OW XbdzdYBZJrRVLNOdydDj6PmG+jxHckRkGqscUUiKcxJO7OYqKZzlLyiEP/dAFB3tAFS6 Y+Gu8GaZ3SIkqci3/IlZqySJX+UgzwRGmIJr1shkLm7rqC41dE51gByJBdbcObQa+Vku dmaUOxmJcrqwG/QvlIIMw/bCSFeSKIa+sHc4WDRDNWj9dURnpwiTLhEfpCeub4+GmGUh 79lw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=f70qcp+8H8N+7vfQUf6lwsKTErk85DZiUNo0OM0KDKo=; b=lk1TzqMc/ZFgytuOlnyNJfgRRKHZWh5p1kXZopZXfTPqQbiLH/kNKaqPQwHg6ru4rW xRneWioCozNvLwh9klfZwciJ/8PegFVcz5bl9f3D47ZjCKn2GYQtV3EhB2odD5r8eXHC vIB2HATSbn1ig95+yqoz1Cx7xWU1NVESwW84zcnotq/3glU1pHCvd+f5l4VqmONBnWTP 5NvOAMxPbCfCg2FaLXMshsb4LMl1tprbYwqc4I21pm5bbN/eOSNIfhHlMkYtocYRzPU4 wjkla0B8x6ikf4Kd8JTohasz2VPpcBVPJXMcs5xnd7ppxZnNS/2RTAHprnODfThjMldH iAkA== X-Gm-Message-State: AOAM532zGgKSDcmdZn6GvLAx7cpMFq0lmPGh2LJPEOXfzmSi+xPptzBV oGsFetqYfiKo062slpdIUuSXV/1Itu4GYniiqJ4= X-Received: by 2002:a17:906:2e50:: with SMTP id r16mr7250012eji.305.1591866096170; Thu, 11 Jun 2020 02:01:36 -0700 (PDT) MIME-Version: 1.0 References: <78519bc421a1cb7000a68d05e43c4208b26f37e5.1591816172.git.noodles@earth.li> <20200611085523.GV1551@shell.armlinux.org.uk> In-Reply-To: <20200611085523.GV1551@shell.armlinux.org.uk> From: Vladimir Oltean Date: Thu, 11 Jun 2020 12:01:25 +0300 Message-ID: Subject: Re: [PATCH 1/2] net: dsa: qca8k: Switch to PHYLINK instead of PHYLIB To: Russell King - ARM Linux admin Cc: Jonathan McDowell , Andrew Lunn , Vivien Didelot , Florian Fainelli , "David S. Miller" , Jakub Kicinski , netdev , lkml Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Russell, On Thu, 11 Jun 2020 at 11:57, Russell King - ARM Linux admin wrote: > > > Alternatively, phylink supports polling mode, but due to the layered > way DSA is written, DSA drivers don't have access to that as that is > in the DSA upper levels in net/dsa/slave.c (dsa_slave_phy_setup(), > it would be dp->pl_config.pcs_poll). > They do, see https://git.kernel.org/pub/scm/linux/kernel/git/netdev/net-next.git/tree/drivers/net/dsa/ocelot/felix.c#n606 > > -- > RMK's Patch system: https://www.armlinux.org.uk/developer/patches/ > FTTC for 0.8m (est. 1762m) line in suburbia: sync at 13.1Mbps down 503kbps up Thanks, -Vladimir