aboutsummaryrefslogtreecommitdiff
path: root/drivers/accel/ivpu
diff options
context:
space:
mode:
authorGravatar Dave Jiang <dave.jiang@intel.com> 2023-12-21 15:03:58 -0700
committerGravatar Dan Williams <dan.j.williams@intel.com> 2023-12-22 15:31:52 -0800
commit14a6960b3e928ccea22d687fb0626237885a20bd (patch)
treecf1299d83cdee5389509486f74241460b04fad9d /drivers/accel/ivpu
parentcxl: Store the access coordinates for the generic ports (diff)
downloadlinux-14a6960b3e92.tar.gz
linux-14a6960b3e92.tar.bz2
linux-14a6960b3e92.zip
cxl: Add helper function that calculate performance data for downstream ports
The CDAT information from the switch, Switch Scoped Latency and Bandwidth Information Structure (SSLBIS), is parsed and stored under a cxl_dport based on the correlated downstream port id from the SSLBIS entry. Walk the entire CXL port paths and collect all the performance data. Also pick up the link latency number that's stored under the dports. The entire path PCIe bandwidth can be retrieved using the pcie_bandwidth_available() call. Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Signed-off-by: Dave Jiang <dave.jiang@intel.com> Link: https://lore.kernel.org/r/170319623824.2212653.10302079766473698427.stgit@djiang5-mobl3 Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/accel/ivpu')
0 files changed, 0 insertions, 0 deletions