ID 683268
Date 7/14/2021
Public

## 6.1.1.1. Generic Tools and Utilities

You can use utilities like lspci, setpci to obtain general information of the device like link speed, link width etc.

Example: To read the negotiated link speed for the P-Tile device in a system, you can use the following commands:

sudo lspci –s $bdf -vvv -s refers to “slot” and is used with the bus/device/function number (bdf) information. Use this command if you know the bdf of the device in the system topology. sudo lspci –d <1172>:$did -vvv

-d refers to device and is used with the device ID (vid:did). Use this command to search using the device ID.

Figure 36.  lspci Output

The LnkCap under Capabilities indicates the advertised link speed and width capabilities of the device. The LnkSta under Capabilities indicates the negotiated link speed and width of the device.