Appendix A: Sysctl Configuration and Counters

This appendix provides detailed information about configuration options and statistics exposed in the FreeBSD driver.

General Option

sysctrl Name

Description

hw.mlx5.calibr.normal

Recalibration interval during normal operations

hw.mlx5.calibr.fast

Recalibration interval during initial calibration

hw.mlx5.calibr.duration

Duration of initial calibration

hw.mlx5.relaxed_ordering_write

Set to enable relaxed ordering for PCIe writes

hw.mlx5.fast_unload_enabled

Set to enable fast unload. Clear to disable.

hw.mlx5.prof_sel

profile selector. Valid range 0 - 2

hw.mlx5.debug_mask

debug mask: 1 = dump cmd data, 2 = dump cmd exec time, 3 = both. Default=0

hw.mlx5.sw_reset_timeout

Minimum timeout in seconds between two firmware resets

hw.mlx5.fw_reset_enable

Enable firmware reset

Ethernet Options

sysctrl Name

Description

Read/Write

dev.<ifnet_name><ifnet_name>.conf.eeprom_info

Enable the dump of the inserted modules' EEPROM info (in hex)

RW

dev.<ifnet_name>.conf.device_name

IB device name associated with the ethernet device

RO

dev.<ifnet_name>.conf.uc_local_lb

Enable/Disable local loopback support for unicast

RW

dev.<ifnet_name>.conf.mc_local_lb

Enable/Disable local loopback support for multicast

RW

dev.<ifnet_name>.conf.hw_mtu

The current MTU value set for the adapter (maximum MTU size is 9000)

RW

dev.<ifnet_name>.conf.modify_rx_dma

Enable/Disable the ability to receive packets

RW

dev.<ifnet_name>.conf.modify_tx_dma

Enable/Disable the ability to transmit packets

RW

dev.<ifnet_name>.conf.cqe_zipping

Enables/Disables CQE compression. Compressing reduces PCI overhead by coalescing and compressing multiple CQEs into a single merged CQE. Successful compressing improves message rate especially for small packet traffic

Disabled by default

RW

dev.<ifnet_name>.conf.hw_lro

Enables/Disables hardware LRO support

RW

dev.<ifnet_name>.conf.tx_completion_fact_max

The max completion factor that can be used

RW

dev.<ifnet_name>.conf.tx_completion_fact

The number TX packets to send before receiving a completion interrupt

RW

dev.<ifnet_name>.conf.tx_bufring_disable

Enables/Disables the allocation of the TX DRBR

RW

dev.<ifnet_name>.conf.tx_coalesce_mode

Sets the TX Coalesce mode to EQE or CQE. EQE mode causes the coalesce timer to restart on event generation. CQE mode causes the coalesce timer to restart on CQE generation

RW

dev.<ifnet_name>.conf.tx_coalesce_pkts

The maximum number of TX packets to coalesce before transmitting the data

RW

dev.<ifnet_name>.conf.tx_coalesce_usecs

The maximum number of usecs to wait prior to transmitting the current coalesced TX packets

RW

dev.<ifnet_name>.conf.rx_coalesce_mode

Sets the RX Coalesce mode to EQE or CQE. EQE mode causes the coalesce timer to restart on event generation. CQE mode causes the coalesce timer to restart on CQE generation

RW

dev.<ifnet_name>.conf.rx_coalesce_pkts

The maximum number of RX packets to coalesce before passing the data up the stack

RW

dev.<ifnet_name>.conf.rx_coalesce_usecs

The maximum number of usecs to wait prior to sending the current coalesced RX packets up the stack

RW

dev.<ifnet_name>.conf.coalesce_pkts_max

Maximum number of packets to coalese before processing

RW

dev.<ifnet_name>.conf.coalesce_usecs_max

Maximum number of usecs to wait before processing the coalesced packets

RW

dev.<ifnet_name>.conf.channels

The numer of RX and TX channels (rings) to create for driver utilization

RW

dev.<ifnet_name>.conf.rx_queue_size

The default number of RX buffers created per channel

RW

dev.<ifnet_name>.conf.tx_queue_size

The default number of TX buffers created per channel

RW

dev.<ifnet_name>.conf.rx_queue_size_max

The maximum value possible for rx_queue_size

RW

dev.<ifnet_name>.conf.tx_queue_size_max

The maximum value possible for tx_queue_size

RW

dev.<ifnet_name>.rx_pauseframe_control

Enables/Disables receive pause frames

RW

dev.<ifnet_name>.tx_pauseframe_control

Enables/Disables transmit pause frames

RW

hw.mlx5.calibr.normal

Re-calibration interval during normal operations

RW

hw.mlx5.calibr.fast

Re-calibration interval during initial calibration

RW

hw.mlx5.calibr.duration

Duration of initial calibration

RW

hw.mlx5.relaxed_ordering_write

Set to enable relaxed ordering for PCIe writes

RW

hw.mlx5.fast_unload_enabled

Set to enable fast unload. Clear to disable.

RW

hw.mlx5.prof_sel

profile selector. Valid range 0 - 2

RW

hw.mlx5.debug_mask

debug mask: 1 = dump cmd data, 2 = dump cmd exec time, 3 = both. Default=0

RW

hw.mlx5.sw_reset_timeout

Minimum timeout in seconds between two firmware resets

RW

hw.mlx5.fw_reset_enable

Enable firmware reset

InfiniBand/RDMA Option

sysctrl Name

Description

Read/Write

sys.class.infiniband.<device_name>.default_roce_mode_port1

The default RoCE mode when attempting new connections.

RW

Ethernet Counters

sysctrl Name

Description

Read/Write

dev.<ifnet_name><ifnet_name>.rxstat0.wqe_err

Total number of RX WQE errors encountered across all RX channels

RO

dev.<ifnet_name>.rxstat0.sw_lro_flushed

Total number of LRO packets sent to the OS networking stack across all RX channels

RO

dev.<ifnet_name>.rxstat0.sw_lro_queued

Total number of LRO packets aggregated by the driver across all RX channels.

RO

dev.<ifnet_name>.rxstat0.lro_bytes

Total number of LRO bytes successfully received across all RX channels

RO

dev.<ifnet_name>.rxstat0.lro_packets

Total number of LRO packets successfully received across all RX channels

RO

dev.<ifnet_name>.rxstat0.csum_none

Total number of RX packets with no checksum offload across all RX channels.

RO

dev.<ifnet_name>.rxstat0.packets

Total number of RX packets across all RX channels.

RO

dev.<ifnet_name>.rxstat0.bytes

Total number of received bytes across all RX channels.

RO

dev.<ifnet_name>.txstat0tc0.nop

Total number of TX NOPs processed across all TX channels.

RO

dev.<ifnet_name>.txstat0tc0.dropped

Total number of TX packets dropped across all TX channels.

RO

dev.<ifnet_name>.txstat0tc0.defragged

Total number of defraggmented buffers across all TX channels.

RO

dev.<ifnet_name>.txstat0tc0.csum_offload_none

Total number of TX packets processed without checksum offload across all TX channels.

RO

dev.<ifnet_name>.txstat0tc0.tso_bytes

Total number of TSO bytes across all TX channels.

RO

dev.<ifnet_name>.txstat0tc0.tso_packets

Total number of TSO packets across all TX channels

RO

dev.<ifnet_name>.txstat0tc0.packets

Total number of TX packets across all TX channels.

RO

dev.<ifnet_name>.txstat0tc0.bytes

Total number of transmitted bytes across all TX channels.

RO

dev.<ifnet_name>.pstats.collisions

Total number of collisions.

RO

dev.<ifnet_name>.pstats.jabbers

Total number of packets received that were longer than 1518 octets and had either a bad FCS or alignment error.

RO

dev.<ifnet_name>.pstats.fragments

Total number of packets received that were less than 64 octets and had either a bad FCS or alignment error.

RO

dev.<ifnet_name>.pstats.oversize_pkts

Total number of packets received that were longer than 1518 octets long

RO

dev.<ifnet_name>.pstats.undersize_pkts

Total number of packets received that were less than 64 octets long

RO

dev.<ifnet_name>.pstats.crc_align_errors

Total number of packets received that had either a bad FCS or alignment error.

RO

dev.<ifnet_name>.pstats.multicast_pkts

Total number of good multicast packets received.

RO

dev.<ifnet_name>.pstats.broadcast_pkts

Total number of good broadcast packets received.

RO

dev.<ifnet_name>.pstats.pkts

Total number of packets (including bad, broadcast, and multicast) received on the network

RO

dev.<ifnet_name>.pstats.octets

Total number of octets of data (including errors) received on the network

RO

dev.<ifnet_name>.pstats.drop_events

Total number of events in which packets were dropped by the probe due to lack of resources

RO

dev.<ifnet_name>.pstats.pause_ctrl_tx

Total number of pause control frames sent.

RO

dev.<ifnet_name>.pstats.pause_ctrl_rx

Total number of pause control frames received.

RO

dev.<ifnet_name>.pstats.unsupported_op_rx

The numbrer of mac control frames received that contain an opcode that is not supported.

RO

dev.<ifnet_name>.pstats.mac_control_rx

The number of mac control frames received

RO

dev.<ifnet_name>.pstats.mac_control_tx

The number of mac control frames transmitted.

RO

dev.<ifnet_name>.pstats.symbol_err

Total number of symbol errors

RO

dev.<ifnet_name>.pstats.too_long_errors

The number of frames received that exceeded the MTU size.

RO

dev.<ifnet_name>.pstats.out_of_range_len

The number of frames received with a length field value greater than the maximum allowed logical length control (LLC) data size.

RO

dev.<ifnet_name>.pstats.in_range_len_errors

A count of frames with a length/type field value between the minimum unpadded MAC client data size and the maximum allowed MAC client data size, inclusive, that does not match the number of MAC client data octets received.

RO

dev.<ifnet_name>.pstats.broadcast_rx

Total number of broadcast packets successfully received

RO

dev.<ifnet_name>.pstats.multicast_rx

Total number of multicast packets successfully received

RO

dev.<ifnet_name>.pstats.broadcast_xmitted

Total number of broadcast bytes successfully transmitted

RO

dev.<ifnet_name>.pstats.multicast_xmitted

Total number of multicast packets successfully transmitted

RO

dev.<ifnet_name>.pstats.octets_received

Total number of octets received

RO

dev.<ifnet_name>.pstats.octets_tx

Total number of octets transmitted

RO

dev.<ifnet_name>.pstats.alignment_err

Total number of packet alignment errors. i.e. The number of bits received is an uneven byte count, or there is a Frame Check Sequence (FCS) Error.

RO

dev.<ifnet_name>.pstats.check_seq_err

Total number of FCS errors

RO

dev.<ifnet_name>.pstats.frames_rx

Total number of frames received

RO

dev.<ifnet_name>.pstats.frames_tx

Total number of frames transmitted.

RO

dev.<ifnet_name>.vstats.rx_wqe_err

Total number of RX WQEs that completed in error.

RO

dev.<ifnet_name>.vstats.tx_defragged

The number of times the TX mbufs were unable to be loaded via bus_dmamap_load due to an excessive amount of mbufs in the chain.

RO

dev.<ifnet_name>.vstats.tx_queue_dropped

Total number of TX packets dropped by the driver prior transmission due to an error.

RO

dev.<ifnet_name>.vstats.tx_csum_offload

Total number of transmit packets that successfully used checksum offloading

RO

dev.<ifnet_name>.vstats.rx_csum_none

Total number of received packets that did not have any checksum offload indication

RO

dev.<ifnet_name>.vstats.rx_csum_good

Total number of received packets that had the checksum successfully offloaded.

RO

dev.<ifnet_name>.vstats.sw_lro_flushed

Total number of LRO packets sent to the OS networking stack.

RO

dev.<ifnet_name>.vstats.sw_lro_queued

Total number of LRO packets aggregated by the driver.

RO

dev.<ifnet_name>.vstats.lro_bytes

Total number of LRO bytes successfully received

RO

dev.<ifnet_name>.vstats.lro_packets

Total number of LRO packets successfully received

RO

dev.<ifnet_name>.vstats.tso_bytes

Total number of TSO bytes successfully transmitted

RO

dev.<ifnet_name>.vstats.tso_packets

Total number of TSO packets successfully transmitted

RO

dev.<ifnet_name>.vstats.rx_out_of_buffer

Total number of packets dropped due to lack of network buffers

RO

dev.<ifnet_name>.vstats.tx_broadcast_bytes

Total number of broadcast bytes successfully transmitted

RO

dev.<ifnet_name>.vstats.tx_broadcast_packets

Total number of broadcast packets successfully transmitted

RO

dev.<ifnet_name>.vstats.rx_broadcast_bytes

Total number of broadcast bytes successfully received

RO

dev.<ifnet_name>.vstats.rx_broadcast_packets

Total number of broadcast packets successfully received

RO

dev.<ifnet_name>.vstats.tx_multicast_bytes

Total number of multicast bytes successfully transmitted

RO

dev.<ifnet_name>.vstats.tx_multicast_packets

Total number of multicat packets successfully transmitted

RO

dev.<ifnet_name>.vstats.rx_multicast_bytes

Total number of multicast bytes successfully received

RO

dev.<ifnet_name>.vstats.rx_multicast_packets

Total number of multicast packets successfully received

RO

dev.<ifnet_name>.vstats.tx_unicast_bytes

Total number of unicast bytes successfully transmitted

RO

dev.<ifnet_name>.vstats.tx_unicast_packets

Total number of unicast packets successfully transmitted

RO

dev.<ifnet_name>.vstats.rx_unicast_bytes

Total number of unicast bytes successfully received

RO

dev.<ifnet_name>.vstats.rx_unicast_packets

Total number of unicast packets successfully received

RO

dev.<ifnet_name>.vstats.tx_error_bytes

Total number of transmit error bytes

RO

dev.<ifnet_name>.vstats.tx_error_packets

Total number of transmit error packets

RO

dev.<ifnet_name>.vstats.rx_error_bytes

Total number of received error bytes

RO

dev.<ifnet_name>.vstats.rx_error_packets

Total number of received error packets

RO

dev.<ifnet_name>.vstats.tx_bytes

Total number of bytes successfully transmitted

RO

dev.<ifnet_name>.vstats.tx_packets

Total number of packets successfully transmitted

RO

dev.<ifnet_name>.vstats.rx_bytes

Total number of bytes successfully received

RO

dev.<ifnet_name>.vstats.rx_packets

Total number of packets successfully received

RO

dev.<ifnet_name>.conf.debug_stats

Enables the additional debug_stats found below:

RW

dev.mce.0.debug_stats.error_counter_lane[0-15]

RO

dev.mce.0.debug_stats.fatal_err_msg_sent

RO

dev.mce.0.debug_stats.non_fatal_err_msg_sent

RO

dev.mce.0.debug_stats.correctable_err_msg_sent

RO

dev.mce.0.debug_stats.config_cycle64usec

RO

dev.mce.0.debug_stats.config_cycle16to63usec

RO

dev.mce.0.debug_stats.config_cycle8to15usec

RO

dev.mce.0.debug_stats.config_cycle2to7usec

RO

dev.mce.0.debug_stats.config_cycle1usec

RO

dev.mce.0.debug_stats.dl_down

RO

dev.mce.0.debug_stats.times_in_l23

RO

dev.mce.0.debug_stats.times_in_l1

RO

dev.mce.0.debug_stats.perst_handler

RO

dev.mce.0.debug_stats.time_to_iron_image_start

RO

dev.mce.0.debug_stats.time_to_plastic_image_start

RO

dev.mce.0.debug_stats.time_to_crs_en

RO

dev.mce.0.debug_stats.time_to_l0

RO

dev.mce.0.debug_stats.time_to_detect_state

RO

dev.mce.0.debug_stats.time_to_first_perst

RO

dev.mce.0.debug_stats.calibration_time

RO

dev.mce.0.debug_stats.time_to_link_image

RO

dev.mce.0.debug_stats.time_to_boot_image_start

RO

dev.mce.0.debug_stats.outbound_stalled_writes_events

RO

dev.mce.0.debug_stats.outbound_stalled_reads_events

RO

dev.mce.0.debug_stats.outbound_stalled_writes

RO

dev.mce.0.debug_stats.outbound_stalled_reads

RO

dev.mce.0.debug_stats.crc_error_tlp

RO

dev.mce.0.debug_stats.crc_error_dllp

RO

dev.mce.0.debug_stats.l0_to_recovery_retrain

RO

dev.mce.0.debug_stats.l0_to_recovery_framing

RO

dev.mce.0.debug_stats.l0_to_recovery_ts

RO

dev.mce.0.debug_stats.l0_to_recovery_eieos

RO

dev.mce.0.debug_stats.tx_errors

RO

dev.mce.0.debug_stats.rx_errors

RO

dev.mce.0.debug_stats.tx_overflow_buffer_marked_pkt

RO

dev.mce.0.debug_stats.tx_overflow_buffer_pkt

RO

dev.mce.0.debug_stats.life_time_counter

RO

dev.mce.0.debug_stats.phy_corrected_bits_lane[0-3]

RO

dev.mce.0.debug_stats.phy_corrected_bits

RO

dev.mce.0.debug_stats.phy_symbol_errors

RO

dev.mce.0.debug_stats.phy_received_bits

RO

dev.mce.0.debug_stats.phy_time_since_last_clear

RO

dev.mce.0.debug_stats.tx_stat_p8192to10239octets

RO

dev.mce.0.debug_stats.tx_stat_p4096to8191octets

RO

dev.mce.0.debug_stats.tx_stat_p2048to4095octets

RO

dev.mce.0.debug_stats.tx_stat_p1519to2047octets

RO

dev.mce.0.debug_stats.tx_stat_p1024to1518octets

RO

dev.mce.0.debug_stats.tx_stat_p512to1023octets

RO

dev.mce.0.debug_stats.tx_stat_p256to511octets

RO

dev.mce.0.debug_stats.tx_stat_p128to255octets

RO

dev.mce.0.debug_stats.tx_stat_p65to127octets

RO

dev.mce.0.debug_stats.tx_stat_p64octets

RO

dev.mce.0.debug_stats.ex_reserved_1

RO

dev.mce.0.debug_stats.ex_reserved_0

RO

dev.mce.0.debug_stats.rx_icrc_encapsulated

RO

dev.mce.0.debug_stats.rx_buffer_full

RO

dev.mce.0.debug_stats.rx_buffer_almost_full

RO

dev.mce.0.debug_stats.tx_ebp

RO

dev.mce.0.debug_stats.rx_ebp

RO

dev.mce.0.debug_stats.no_buffer_discard_mc

RO

dev.mce.0.debug_stats.ecn_marked

RO

dev.mce.0.debug_stats.port_transmit_wait

RO

dev.mce.0.debug_stats.rs_corrected_symbols_lane[0-3]

RO

dev.mce.0.debug_stats.rs_corrected_symbols_total

RO

dev.mce.0.debug_stats.rs_single_error_blocks

RO

dev.mce.0.debug_stats.rs_no_errors_blocks

RO

dev.mce.0.debug_stats.rs_uncorrectable_blocks

RO

dev.mce.0.debug_stats.rs_corrected_blocks

RO

dev.mce.0.debug_stats.fc_corrected_blocks_lane[0-3]

RO

dev.mce.0.debug_stats.edpl_bip_errors_lane[0-3]

RO

dev.mce.0.debug_stats.sync_headers_errors

RO

dev.mce.0.debug_stats.symbol_errors

RO

dev.mce.0.debug_stats.time_since_last_clear

RO

dev.mce.0.debug_stats.out_broadcast_pkts

RO

dev.mce.0.debug_stats.out_multicast_pkts

RO

dev.mce.0.debug_stats.in_broadcast_pkts

RO

dev.mce.0.debug_stats.in_multicast_pkts

RO

dev.mce.0.debug_stats.out_errors

RO

dev.mce.0.debug_stats.out_discards

RO

dev.mce.0.debug_stats.out_ucast_pkts

RO

dev.mce.0.debug_stats.out_octets

RO

dev.mce.0.debug_stats.in_unknown_protos

RO

dev.mce.0.debug_stats.in_errors

RO

dev.mce.0.debug_stats.in_discards

RO

dev.mce.0.debug_stats.in_ucast_pkts

RO

dev.mce.0.debug_stats.in_octets

RO

dev.mce.0.debug_stats.p8192to10239octets

RO

dev.mce.0.debug_stats.p4096to8191octets

RO

dev.mce.0.debug_stats.p2048to4095octets

RO

dev.mce.0.debug_stats.p1519to2047octets

RO

dev.mce.0.debug_stats.p1024to1518octets

RO

dev.mce.0.debug_stats.p512to1023octets

RO

dev.mce.0.debug_stats.p256to511octets

RO

dev.mce.0.debug_stats.p128to255octets

RO

dev.mce.0.debug_stats.p65to127octets

RO

dev.mce.0.debug_stats.p64octets

RO

dev.mce.0.vstats.tx_jumbo_packets

TX packets greater than 1518 octets

RO

InfiniBand/RDMA Counters

sysctrl Name

Description

Read/Write

sys.class.infiniband.<device_name>.reg_pages

Total number of OS pages registered for IB/RoCE use

RO

sys.class.infiniband.<device_name><device_name>.fw_pages

Total number of OS pages used by firmware

RO

sys.class.infiniband.<device_name>.board_id

The PSID of the board

RO

sys.class.infiniband.<device_name>.hca_type

The device family of the adapter

RO

sys.class.infiniband.<device_name>.hw_rev

The hardware revision of the adapter

RO

sys.class.infiniband.<device_name>.ports.<port_num>..<port_num>.hw_counters.lifespan

RO

sys.class.infiniband.<device_name>.ports.<port_num>.hw_counters.local_ack_timeout_err

Total number of No ACK responses within the timer interval. Supported only for the XRC, DC and RC transports

RO

sys.class.infiniband.<device_name>.ports.<port_num>.hw_counters.implied_nak_seq_err

Total number of times the requester detected an ACK with a PSN larger expected for an RDMA READ or ATOMIC response. Supported only for the XRC, DC and RC transports

RO

sys.class.infiniband.<device_name>.ports.<port_num>.hw_counters.packet_seq_err

Total number of received NAK-Sequence error packets. Supported only for the XRC, DC and RC transports

RO

sys.class.infiniband.<device_name>.ports.<port_num>.hw_counters.rnr_nak_retry_err

Total number of received RNR NAK packets on this port. Supported only for the XRC, DC and RC transports

RO

sys.class.infiniband.<device_name>.ports.<port_num>.hw_counters.duplicate_request

Total number of duplicate request packets received on this port. Supported only for XRC, DC, and RC transports

RO

sys.class.infiniband.<device_name>.ports.<port_num>.hw_counters.out_of_sequence

Total number of out of sequence packets received on this port. Supported only for XRC, DC, and RC transports

RO

sys.class.infiniband.<device_name>.ports.<port_num>.hw_counters.out_of_buffer

Total number of packet drops that occurred due to lack of WQEs

RO

sys.class.infiniband.<device_name>.ports.<port_num>.hw_counters.rx_atomic_requests

Total number of Atomic operation requests on this port

RO

sys.class.infiniband.<device_name>.ports.<port_num>.hw_counters.rx_read_requests

Total number of RDMA Read requests on this port

RO

sys.class.infiniband.<device_name>.ports.<port_num>.hw_counters.rx_write_requests

Total number of RDMA Write requests on this port

RO

sys.class.infiniband.<device_name>.ports.<port_num>.pkeys.<pkey index>

The partion key defined at location <pkey index>

RO

sys.class.infiniband.<device_name>.ports.<port_num>.gids.<gid index>

The gid index defined at location <gid index>

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.multicast_xmit_packets

Total number of IB/RoCE multicast packets transmitted by the port.

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.multicast_rcv_packets

Total number of IB/RoCE multicast packets received by the port.

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.unicast_xmit_packets

Total number of IB/RoCE unicast packets transmitted by the port.

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.unicast_rcv_packets

Total number of IB/RoCE unicast packets received by the port.

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.port_rcv_packets

Total number of ticks the port is unable to send data due to insufficient credits or lack of arbitration.

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.port_xmit_wait

Total number of IB/RoCE packets received by the port. Includes packets with errors.

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.port_xmit_packets

Total number of IB/RoCE packets transmitted by the port. Includes packets with errors.

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.port_rcv_data

Total number of IB/RoCE data octets received by the port.

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.port_xmit_data

Total number of IB/RoCE data octets transmitted from the port.

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.VL15_dropped

Total number of incoming VL15 packets discarded due to resource limitations.

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.excessive_buffer_overrun_errors

Total number of times overrun errors occurred during consecutive flow control update periods.

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.local_link_integrity_errors

Total number of times port physical errors exceeded the defined threshold

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.port_rcv_constraint_errors

Total number of IB/RoCE receive packets discarded by the port due to raw filter or partition enforcement

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.port_xmit_constraint_errors

Total number of IB/RoCE packets not sent from the port due to raw filter or partition enforcement

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.port_xmit_discards

Total number of IB/RoCE transmit packets discarded because the port is down or congested

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.port_rcv_switch_relay_errors

Total number of IB/RoCE receive packets disarded because they could not be forwarded by the switch relay

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.port_rcv_remote_physical_errors

Total number of IB/RoCE packets received with the EBP delimiter marked.

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.port_rcv_errors

Total number of IB/RoCE packets received that contained errors

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.link_downed

Total number of times the port training state machine failed link recovery and set the link down.

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.link_error_recovery

Total number of times the port training state machine successfully completed link recovery

RO

sys.class.infiniband.<device_name>.ports.<port_num>.counters.symbol_error

Total number of physical link errors detected on the port.

RO

sys.class.infiniband.<device_name>.ports.<port_num>.gid_attrs.types.<gid index>

The RoCE version associated with gid index <gid index>

RO

sys.class.infiniband.<device_name>.ports.<port_num>.gid_attrs.ndevs.<gid index>

The FreeBSD network device associated with gid index <gid index>

RO

sys.class.infiniband.<device_name>.ports.<port_num>.link_layer

The link layer mode configured for the specified port. Will be Ethernet or Infiniband.

RO

sys.class.infiniband.<device_name>.ports.<port_num>.phys_state

Indicates the physical port state as defined in the IB spec.

RO

sys.class.infiniband.<device_name>.ports.<port_num>.rate

Indicates the Infiniband port rate and speed.

RO

sys.class.infiniband.<device_name>.ports.<port_num>.cap_mask

The supported IB capabilities available for this port as defined by the IB spec.

RO

sys.class.infiniband.<device_name>.ports.<port_num>.sm_sl

Indicates the SL used to communicate with the subnet manager (IB only)

RO

sys.class.infiniband.<device_name>.ports.<port_num>.sm_lid

Indicates the LID of the subnet manager (IB only)

RO

sys.class.infiniband.<device_name>.ports.<port_num>.lid_mask_count

The value assigned by the subnet manager that specifies the number of path bits in the LID (IB only)

RO

sys.class.infiniband.<device_name>.ports.<port_num>.lid

The lid assigned to the local adapter port by the subnet manager (IB only)

RO

sys.class.infiniband.<device_name>.ports.<port_num>.state

The current port state as defined by the IB spec.

RO

sys.class.infiniband.<device_name>.fw_ver

The current version of firmware running on the network adapter

RO

sys.class.infiniband.<device_name>.node_desc

The IB node description

RO

sys.class.infiniband.<device_name>.node_guid

The IB node GUID

RO

sys.class.infiniband.<device_name>.sys_image_guid

The IB system image GUID

RO

sys.class.infiniband.<device_name>.node_type

Indicates the node type as defined by the IB spec. Valid values are Channel Adapter (CA), Switch, or Router

RO

© Copyright 2023, NVIDIA. Last updated on May 24, 2023.