On Wed, 13 Aug 2025 16:36:36 +0400
Ivan Malov <[email protected]> wrote:
> Theoretically, adaptor firmware may not support new netport API. Currently,
> efx_np_supported() assumes Medford4 always supports the API, however, this
> can be improved in the future by checking some capability bit during probe.
>
> If efx_np_supported() returns B_FALSE, then one should not invoke Medford4
> PHY and MAC methods that are inherently dependent on new netport API. Pick
> EF10-generic PHY and MAC methods in this case to maintain legacy behaviour.
>
> Fixes: 8dac31d073af ("common/sfc_efx/base: introduce Medford4 stub for MAC
> methods")
> Fixes: d65a7129c413 ("common/sfc_efx/base: introduce Medford4 stub for PHY
> methods")
> Cc: [email protected]
>
> Signed-off-by: Ivan Malov <[email protected]>
> Reviewed-by: Andy Moreton <[email protected]>
> ---
Applied to next-net