[PATCH 1/1] common/sfc_efx/base: revise legacy port controls on Medford4
Stephen Hemminger
stephen at networkplumber.org
Wed Aug 13 17:20:40 CEST 2025
On Wed, 13 Aug 2025 16:36:36 +0400
Ivan Malov <ivan.malov at arknetworks.am> 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: stable at dpdk.org
>
> Signed-off-by: Ivan Malov <ivan.malov at arknetworks.am>
> Reviewed-by: Andy Moreton <andy.moreton at amd.com>
> ---
Applied to next-net
More information about the dev
mailing list