Project

General

Profile

Feature #12762

topo should create per-device UFM entries by default

Added by Robert Mustacchi 7 days ago. Updated 4 days ago.

Status:
New
Priority:
Normal
Category:
lib - userland libraries
Start date:
Due date:
% Done:

90%

Estimated time:
Difficulty:
Medium
Tags:
Gerrit CR:

Description

In the original implementation of the UFM subsystem, UFM entries in topo showed up on a per-PCI function basis by default, but all of the multi-function device at the time (i40e) actually had UFMs shared between all devices. Instead, topo should default to create the UFM data on a per-device basis by default.

I considered adding UFM APIs to indicate this, but until we have devices that actually exist on a per-function basis, it didn't seem like there was much point to doing so. However, if a driver does declare one, then we will go ahead and it to the function when it isn't on function zero so at least it isn't lost.

Also available in: Atom PDF