Re: [PATCH net-next v9 01/10] enic: verify firmware supports V2 SR-IOV at probe time
From: Breno Leitao <leitao@debian.org>
Date: 2026-06-18 09:32:38
Also in:
lkml
From: Breno Leitao <leitao@debian.org>
Date: 2026-06-18 09:32:38
Also in:
lkml
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@debian.org> Signed-off-by: Satish Kharat <satishkh@cisco.com>
Reviewed-by: Breno Leitao <leitao@debian.org> FWIW: net-next is closed now. https://lore.kernel.org/all/20260615085310.014e4e31@kernel.org/ (local)