lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4cf0a3ba409dcb0768150c2a1a181753dddc595b.camel@microchip.com>
Date:   Fri, 1 Jul 2022 05:51:33 +0000
From:   <Arun.Ramadoss@...rochip.com>
To:     <linux@...linux.org.uk>
CC:     <andrew@...n.ch>, <linux-kernel@...r.kernel.org>,
        <UNGLinuxDriver@...rochip.com>, <vivien.didelot@...il.com>,
        <ast@...nel.org>, <bpf@...r.kernel.org>, <olteanv@...il.com>,
        <devicetree@...r.kernel.org>, <robh+dt@...nel.org>,
        <andrii@...nel.org>, <songliubraving@...com>,
        <f.fainelli@...il.com>, <daniel@...earbox.net>,
        <john.fastabend@...il.com>, <kuba@...nel.org>,
        <edumazet@...gle.com>, <pabeni@...hat.com>, <kpsingh@...nel.org>,
        <netdev@...r.kernel.org>, <Woojung.Huh@...rochip.com>,
        <krzysztof.kozlowski+dt@...aro.org>, <yhs@...com>,
        <davem@...emloft.net>, <kafai@...com>
Subject: Re: [Patch net-next v14 10/13] net: dsa: microchip: lan937x: add
 phylink_get_caps support

Hi Russell,
Thanks for the review comment. 

On Thu, 2022-06-30 at 12:36 +0100, Russell King (Oracle) wrote:
> EXTERNAL EMAIL: Do not click links or open attachments unless you
> know the content is safe
> 
> On Thu, Jun 30, 2022 at 03:50:38PM +0530, Arun Ramadoss wrote:
> > The internal phy of the LAN937x are capable of 100Mbps speed. And
> > the
> 
> Good English grammar suggests never to start a sentence with "And".

Ok. I will update the description.

> 
> > xMII port of switch is capable of 10/100/1000Mbps.
> 
> ... and supports flow control?
> 
> > +void lan937x_phylink_get_caps(struct ksz_device *dev, int port,
> > +                           struct phylink_config *config)
> > +{
> > +     config->mac_capabilities = MAC_100FD;
> > +
> > +     if (dev->info->supports_rgmii[port]) {
> > +             /* MII/RMII/RGMII ports */
> > +             config->mac_capabilities |= MAC_ASYM_PAUSE |
> > MAC_SYM_PAUSE |
> > +                                         MAC_100HD | MAC_10 |
> > MAC_1000FD;
> 
> And SGMII too? (Which seems to be a given because from your list in
> the
> series cover message, SGMII ports also support RGMII).

No, SGMII port does not support the RGMII. I have mentioned in the
cover message that LAN9373 has 2 RGMII and 1 SGMII port. No other part
number has SGMII port.

> 
> Thanks.
> 
> --
> RMK's Patch system: https://www.armlinux.org.uk/developer/patches/
> FTTP is here! 40Mbps down 10Mbps up. Decent connectivity at last!

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ