Lines Matching refs:rx_stats
224 struct ocrdma_rx_stats *rx_stats = &rdma_stats->rx_stats; in ocrdma_rx_stats() local
231 convert_to_64bit(rx_stats->roce_frame_bytes_lo, in ocrdma_rx_stats()
232 rx_stats->roce_frame_bytes_hi)); in ocrdma_rx_stats()
234 (u64)rx_stats->roce_frame_icrc_drops); in ocrdma_rx_stats()
236 (u64)rx_stats->roce_frame_payload_len_drops); in ocrdma_rx_stats()
238 (u64)rx_stats->ud_drops); in ocrdma_rx_stats()
240 (u64)rx_stats->qp1_drops); in ocrdma_rx_stats()
242 (u64)rx_stats->psn_error_request_packets); in ocrdma_rx_stats()
244 (u64)rx_stats->psn_error_resp_packets); in ocrdma_rx_stats()
246 (u64)rx_stats->rnr_nak_timeouts); in ocrdma_rx_stats()
248 (u64)rx_stats->rnr_nak_receives); in ocrdma_rx_stats()
250 (u64)rx_stats->roce_frame_rxmt_drops); in ocrdma_rx_stats()
252 (u64)rx_stats->nak_count_psn_sequence_errors); in ocrdma_rx_stats()
254 (u64)rx_stats->rc_drop_count_lookup_errors); in ocrdma_rx_stats()
256 (u64)rx_stats->rq_rnr_naks); in ocrdma_rx_stats()
258 (u64)rx_stats->srq_rnr_naks); in ocrdma_rx_stats()
260 convert_to_64bit(rx_stats->roce_frames_lo, in ocrdma_rx_stats()
261 rx_stats->roce_frames_hi)); in ocrdma_rx_stats()
270 struct ocrdma_rx_stats *rx_stats = &rdma_stats->rx_stats; in ocrdma_sysfs_rcv_pkts() local
272 return convert_to_64bit(rx_stats->roce_frames_lo, in ocrdma_sysfs_rcv_pkts()
273 rx_stats->roce_frames_hi) + (u64)rx_stats->roce_frame_icrc_drops in ocrdma_sysfs_rcv_pkts()
274 + (u64)rx_stats->roce_frame_payload_len_drops; in ocrdma_sysfs_rcv_pkts()
281 struct ocrdma_rx_stats *rx_stats = &rdma_stats->rx_stats; in ocrdma_sysfs_rcv_data() local
283 return (convert_to_64bit(rx_stats->roce_frame_bytes_lo, in ocrdma_sysfs_rcv_data()
284 rx_stats->roce_frame_bytes_hi))/4; in ocrdma_sysfs_rcv_data()
773 dev->rx_stats.type = OCRDMA_RXSTATS; in ocrdma_add_port_stats()
774 dev->rx_stats.dev = dev; in ocrdma_add_port_stats()
775 debugfs_create_file("rx_stats", S_IRUSR, dev->dir, &dev->rx_stats, in ocrdma_add_port_stats()