diff options
| author | Satish Kharat <satishkh@cisco.com> | 2026-04-01 08:31:13 -0700 |
|---|---|---|
| committer | Jakub Kicinski <kuba@kernel.org> | 2026-04-02 18:05:06 -0700 |
| commit | 56a4d7a865860ac0e52e26a4c8d13de78e7a9707 (patch) | |
| tree | 6df941bae223a80fa6ef0419607a1dd54cd2ac5d /tools/testing/vma/include/git@git.tavy.me:linux.git | |
| parent | 803a1b02027918450b58803190aa7cacb8056265 (diff) | |
enic: detect SR-IOV VF type from PCI capability
Read the VF device ID from the SR-IOV PCI capability at probe time to
determine whether the PF is configured for V1, USNIC, or V2 virtual
functions. Store the result in enic->vf_type for use by subsequent
SR-IOV operations.
The VF type is a firmware-configured property (set via UCSM, CIMC,
Intersight etc) that is immutable from the driver's perspective. Only
PFs are probed for this capability; VFs and dynamic vnics skip
detection.
Signed-off-by: Satish Kharat <satishkh@cisco.com>
Link: https://patch.msgid.link/20260401-enic-sriov-v2-prep-v4-3-d5834b2ef1b9@cisco.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/testing/vma/include/git@git.tavy.me:linux.git')
0 files changed, 0 insertions, 0 deletions
