lkml.org 
[lkml]   [2023]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH net-next v4 01/23] net: dsa: microchip: enable EEE support
    On Wed, Feb 01, 2023 at 03:58:23PM +0100, Oleksij Rempel wrote:
    > +static int ksz_get_mac_eee(struct dsa_switch *ds, int port,
    > + struct ethtool_eee *e)
    > +{
    > + int ret;
    > +
    > + ret = ksz_validate_eee(ds, port);
    > + if (ret)
    > + return ret;
    > +
    > + /* There is no documented control of Tx LPI configuration.
    > + */

    comment fits on a single line

    > + e->tx_lpi_enabled = true;
    > + /* There is no documented control of Tx LPI timer. According to testes

    according to tests, I hope, not testes

    > + * Tx LPI timer seems to be set by default to minimal value.
    > + */
    > + e->tx_lpi_timer = 0;
    > +
    > + return 0;
    > +}

    \
     
     \ /
      Last update: 2023-03-27 00:09    [W:3.558 / U:0.152 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site