Re: [PATCH net-next v9 01/10] enic: verify firmware supports V2 SR-IOV at probe time

From: Breno Leitao

Date: Thu Jun 18 2026 - 05:37:20 EST


On Wed, Jun 17, 2026 at 06:53:24PM -0700, Satish Kharat wrote:
> During PF probe, query the firmware get-supported-feature interface
> to verify that the running firmware supports V2 SR-IOV. Firmware
> version 5.3(4.72) and later report VIC_FEATURE_SRIOV via
> CMD_GET_SUPP_FEATURE_VER. If the firmware does not support the
> feature, set vf_type to ENIC_VF_TYPE_NONE and log a warning so the
> admin knows a firmware upgrade is needed.
>
> VIC_FEATURE_SRIOV is assigned the explicit value 4 to match the
> firmware ABI. Slot 3 (firmware's VIC_FEATURE_PTP) is reserved with
> a comment rather than a placeholder enum entry, since PTP is not
> used by the upstream driver.
>
> Suggested-by: Breno Leitao <leitao@xxxxxxxxxx>
> Signed-off-by: Satish Kharat <satishkh@xxxxxxxxx>

Reviewed-by: Breno Leitao <leitao@xxxxxxxxxx>

FWIW: net-next is closed now.
https://lore.kernel.org/all/20260615085310.014e4e31@xxxxxxxxxx/