aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/perfmon/intel
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2023-07-28 13:19:49 +0200
committerFlorin Coras <florin.coras@gmail.com>2023-07-28 15:51:12 +0000
commit00ea98ad6050e7784da1153c4d8a9145bc481308 (patch)
treeee6d3f7836583f9c96055b052afe6ee383f2c19e /src/plugins/perfmon/intel
parentc5c0d0cf8ab30b29ab72e0933d32259e32d9c95a (diff)
vlib: pci cleanup and improvements
Change-Id: Ieafbed6f2db3dec65e4b43d84a4661f6a1bbe891 Type: improvement Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/perfmon/intel')
-rw-r--r--src/plugins/perfmon/intel/bundle/iio_bw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/perfmon/intel/bundle/iio_bw.c b/src/plugins/perfmon/intel/bundle/iio_bw.c
index 66c550ff9c2..f746ca2c906 100644
--- a/src/plugins/perfmon/intel/bundle/iio_bw.c
+++ b/src/plugins/perfmon/intel/bundle/iio_bw.c
@@ -167,8 +167,8 @@ init_intel_uncore_iio_bw (vlib_main_t *vm, struct perfmon_bundle *b)
s = format (
s, "%-10U%-5U%-13U%04x:%04x %-14U%-16s%v\n", format_stack_socket, p,
- h, addr, format_vlib_pci_link_port, d, format_vlib_pci_addr, addr,
- d->vendor_id, d->device_id, format_vlib_pci_link_speed, d,
+ h, addr, format_vlib_pci_link_port, &d->config, format_vlib_pci_addr,
+ addr, d->vendor_id, d->device_id, format_vlib_pci_link_speed, d,
d->driver_name ? (char *) d->driver_name : "", d->product_name);
vlib_pci_free_device_info (d);