Lines Matching refs:rx_stats
211 struct ocrdma_rx_stats *rx_stats = &rdma_stats->rx_stats; in ocrdma_rx_stats() local
218 convert_to_64bit(rx_stats->roce_frame_bytes_lo, in ocrdma_rx_stats()
219 rx_stats->roce_frame_bytes_hi)); in ocrdma_rx_stats()
221 (u64)rx_stats->roce_frame_icrc_drops); in ocrdma_rx_stats()
223 (u64)rx_stats->roce_frame_payload_len_drops); in ocrdma_rx_stats()
225 (u64)rx_stats->ud_drops); in ocrdma_rx_stats()
227 (u64)rx_stats->qp1_drops); in ocrdma_rx_stats()
229 (u64)rx_stats->psn_error_request_packets); in ocrdma_rx_stats()
231 (u64)rx_stats->psn_error_resp_packets); in ocrdma_rx_stats()
233 (u64)rx_stats->rnr_nak_timeouts); in ocrdma_rx_stats()
235 (u64)rx_stats->rnr_nak_receives); in ocrdma_rx_stats()
237 (u64)rx_stats->roce_frame_rxmt_drops); in ocrdma_rx_stats()
239 (u64)rx_stats->nak_count_psn_sequence_errors); in ocrdma_rx_stats()
241 (u64)rx_stats->rc_drop_count_lookup_errors); in ocrdma_rx_stats()
243 (u64)rx_stats->rq_rnr_naks); in ocrdma_rx_stats()
245 (u64)rx_stats->srq_rnr_naks); in ocrdma_rx_stats()
247 convert_to_64bit(rx_stats->roce_frames_lo, in ocrdma_rx_stats()
248 rx_stats->roce_frames_hi)); in ocrdma_rx_stats()
257 struct ocrdma_rx_stats *rx_stats = &rdma_stats->rx_stats; in ocrdma_sysfs_rcv_pkts() local
259 return convert_to_64bit(rx_stats->roce_frames_lo, in ocrdma_sysfs_rcv_pkts()
260 rx_stats->roce_frames_hi) + (u64)rx_stats->roce_frame_icrc_drops in ocrdma_sysfs_rcv_pkts()
261 + (u64)rx_stats->roce_frame_payload_len_drops; in ocrdma_sysfs_rcv_pkts()
268 struct ocrdma_rx_stats *rx_stats = &rdma_stats->rx_stats; in ocrdma_sysfs_rcv_data() local
270 return (convert_to_64bit(rx_stats->roce_frame_bytes_lo, in ocrdma_sysfs_rcv_data()
271 rx_stats->roce_frame_bytes_hi))/4; in ocrdma_sysfs_rcv_data()
764 dev->rx_stats.type = OCRDMA_RXSTATS; in ocrdma_add_port_stats()
765 dev->rx_stats.dev = dev; in ocrdma_add_port_stats()
767 &dev->rx_stats, &ocrdma_dbg_ops)) in ocrdma_add_port_stats()