Getting the lm_sensors Package
If the
lm_sensors
package is not already installed:
• On RHEL or CentOS:
# yum install lm_sensors
• On Ubuntu:
apt-get lm_sensors
Finding Device Names
By default, the
sensors
command shows sensors for all known devices. By filtering its output
you can get a list of its names for all PCI adapters. For example:
$ sensors | grep --before-context=1 --color=never 'Adapter: PCI adapter'
xilinx_efct-pci-0100
Adapter: PCI adapter
--
xilinx_efct-pci-0101
Adapter: PCI adapter
--
xclmgmt_sysmon-pci-0600
Adapter: PCI adapter
--
xilinx_u25_gen3x8-ea_blp_1_mgmt-pci-0600
Adapter: PCI adapter
--
xilinx_u25_gen3x8-ea_blp_1_user-pci-0601
Adapter: PCI adapter
The list includes:
• Devices for the Ethernet controller on the X3522 card
• Further devices that are associated with other PCI adapters (if any).
Now identify the name for the Ethernet controller on the X3522 card:
• Names that start with
xilinx_efct
(as above) identify devices that use the Solarflare
xilinx_efct
driver, including the Ethernet controller in the X3522.
• On some platforms, the name for the Ethernet controller instead starts with its interface name
(e.g.,
enp1s0f0np0
).
• Names usually end with the PCI device and function numbers (e.g.,
0100
), providing further
confirmation.
Chapter 8: Statistics and Logging
UG1523 (v1.0) October 18, 2022
Alveo X3522 User Guide
57