diff options
author | Vladimir Oltean <vladimir.oltean@nxp.com> | 2021-06-08 13:16:51 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-06-09 01:35:14 +0200 |
commit | de274be32cb288d96b91494aeaafccc34cf4e00f (patch) | |
tree | ba2f09cb1ded13f42613444d3a3a9287ccefdc01 /drivers/net/ethernet/ni/nixge.c | |
parent | net: x25: Use list_for_each_entry() to simplify code in x25_forward.c (diff) | |
download | linux-de274be32cb288d96b91494aeaafccc34cf4e00f.tar.xz linux-de274be32cb288d96b91494aeaafccc34cf4e00f.zip |
net: dsa: felix: set TX flow control according to the phylink_mac_link_up resolution
Instead of relying on the static initialization done by ocelot_init_port()
which enables flow control unconditionally, set SYS_PAUSE_CFG_PAUSE_ENA
according to the parameters negotiated by the PHY.
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/ni/nixge.c')
0 files changed, 0 insertions, 0 deletions