aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorHariprasad Shenai <[email protected]>2015-12-23 11:29:53 +0530
committerDavid S. Miller <[email protected]>2015-12-23 12:05:52 -0500
commit547fd27241a887c1df020c5f8347e348540f0591 (patch)
tree874137d86ad1e45c6b1714e79506d6805292335d /tools/perf/scripts/python/event_analyzing_sample.py
parent83a76006e06213160c4bb1e1a157e7707c504af6 (diff)
cxgb4: Warn if device doesn't have enough PCI bandwidth
Check if the device get enough bandwidth from the entire PCI chain to satisfy its capabilities. This patch determines the PCIe device's bandwidth capabilities by reading its PCIe Link Capabilities registers and then call the pcie_get_minimum_link function to ensure that the adapter is hooked into a slot which is capable of providing the necessary bandwidth capabilities. Signed-off-by: Hariprasad Shenai <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions