On Tue, Jul 05, 2022 at 08:56:16AM +0200, Andrew Lunn wrote:
linkmode_resolve_pause() is not used yet outside of phylink, but should help here.
I don't think linkmode_resolve_pause() was present in 4.9. I'm looking at what gianfar was doing at the time (gfar_get_flowctrl_cfg) and I see mii_resolve_flowctrl_fdx() as a potentially relevant helper.