To get the configuration of an X4 series Ethernet adapter with devlink:
- List the AMD Solarflare
PCIe
devices:
# lspci -D -d 1924: 0000:01:00.0 Ethernet controller: AMD Solarflare Device 0c03 0000:01:00.1 Ethernet controller: AMD Solarflare Device 0c03 - Confirm that you can see the X4 series that you want to examine, and note the PCIe address of its first interface.
In the above example, the address of the first interface is 0000:01:00.0.
Note: The PCIe address includes the domain (0000) before the bus, device, and function (01:00.0). - Use devlink to get the currently active configuration for the PCIe address that you noted in step 2:
# devlink health diagnose pci/0000:01:00.0 reporter nvcfg-active [global] cxl = false port_mode = [1x1/10/25/40/50/100G][1x1/10/25/40/50/100G] firmware_variant = auto vf_count = 0 msix_limit = 2048 vf_msix_limit = 1 vi_count = 8192 rx_dc_size = 64 tx_dc_size = 16 rx_event_merge_timeout = 1500 rx_event_merge_max_events = 15 tx_event_merge_timeout = 1400 tx_event_merge_qempty_timeout = 700 tx_event_merge_max_events = 15 [derived] ;pf_count = 2Note: You can also get information about the stored configuration that will be applied at the next reboot. To do so change thereporterfromnvcfg-activeto one of the following:- nvcfg-stored
- Reports the stored settings (if any) that have been explicitly set to be applied at the next reboot.
- nvcfg-next
- Reports the settings that would be effective after a reboot, by applying the current stored settings to the default configuration.
- Confirm that the configuration is as expected.