summaryrefslogtreecommitdiff
path: root/scripts/bpf_doc.py
diff options
context:
space:
mode:
authorMichal Wajdeczko <michal.wajdeczko@intel.com>2024-04-15 19:39:32 +0200
committerMichal Wajdeczko <michal.wajdeczko@intel.com>2024-04-16 12:37:28 +0200
commitc7201728f9832b0822dcc4f2843ffb050059ee2b (patch)
treef57c2ea66aaea1fcd295c2fb7e327cefceebf585 /scripts/bpf_doc.py
parent5f36d1ce4df25eebc663c1996d7c73aedfb309e6 (diff)
drm/xe: Add helper to format SR-IOV function name
While the GuC firmware and the Xe driver are using VF identifier VFID(0) to represent the Physical Function, we should avoid using "VF0" name and use proper "PF" name in all user facing messages related to the Physical Function and use "VFn" name only when referrinf to the true Virtual Function. Add simple helper to get properly formatted function name based on the function number. Reviewed-by: Piotr Piórkowski <piotr.piorkowski@intel.com> Reviewed-by: Himal Prasad Ghimiray <himal.prasad.ghimiray@intel.com> Signed-off-by: Michal Wajdeczko <michal.wajdeczko@intel.com> Link: https://patchwork.freedesktop.org/patch/msgid/20240415173937.1287-2-michal.wajdeczko@intel.com
Diffstat (limited to 'scripts/bpf_doc.py')
0 files changed, 0 insertions, 0 deletions