Searched refs:pma_cnt (Results 1 – 3 of 3) sorted by relevance
/drivers/infiniband/hw/mlx5/ |
D | mad.c | 109 static void pma_cnt_assign(struct ib_pma_portcounters *pma_cnt, in pma_cnt_assign() argument 124 MLX5_ASSIGN_PMA_CNTR(pma_cnt->symbol_error_counter, in pma_cnt_assign() 126 MLX5_ASSIGN_PMA_CNTR(pma_cnt->link_error_recovery_counter, in pma_cnt_assign() 128 MLX5_ASSIGN_PMA_CNTR(pma_cnt->link_downed_counter, in pma_cnt_assign() 130 MLX5_ASSIGN_PMA_CNTR(pma_cnt->port_rcv_errors, in pma_cnt_assign() 132 MLX5_ASSIGN_PMA_CNTR(pma_cnt->port_rcv_remphys_errors, in pma_cnt_assign() 134 MLX5_ASSIGN_PMA_CNTR(pma_cnt->port_rcv_switch_relay_errors, in pma_cnt_assign() 136 MLX5_ASSIGN_PMA_CNTR(pma_cnt->port_xmit_discards, in pma_cnt_assign() 138 MLX5_ASSIGN_PMA_CNTR(pma_cnt->port_xmit_constraint_errors, in pma_cnt_assign() 140 MLX5_ASSIGN_PMA_CNTR(pma_cnt->port_xmit_wait, in pma_cnt_assign() [all …]
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_stats.c | 675 struct ib_pma_portcounters *pma_cnt; in ocrdma_pma_counters() local 677 pma_cnt = (void *)(out_mad->data + 40); in ocrdma_pma_counters() 680 pma_cnt->port_xmit_data = cpu_to_be32(ocrdma_sysfs_xmit_data(dev)); in ocrdma_pma_counters() 681 pma_cnt->port_rcv_data = cpu_to_be32(ocrdma_sysfs_rcv_data(dev)); in ocrdma_pma_counters() 682 pma_cnt->port_xmit_packets = cpu_to_be32(ocrdma_sysfs_xmit_pkts(dev)); in ocrdma_pma_counters() 683 pma_cnt->port_rcv_packets = cpu_to_be32(ocrdma_sysfs_rcv_pkts(dev)); in ocrdma_pma_counters()
|
/drivers/infiniband/hw/mlx4/ |
D | mad.c | 897 struct ib_pma_portcounters *pma_cnt = in edit_counter() local 900 ASSIGN_32BIT_COUNTER(pma_cnt->port_xmit_data, in edit_counter() 902 ASSIGN_32BIT_COUNTER(pma_cnt->port_rcv_data, in edit_counter() 904 ASSIGN_32BIT_COUNTER(pma_cnt->port_xmit_packets, in edit_counter() 906 ASSIGN_32BIT_COUNTER(pma_cnt->port_rcv_packets, in edit_counter()
|