Lines Matching refs:tx_stats

292 	struct ocrdma_tx_stats *tx_stats = &rdma_stats->tx_stats;  in ocrdma_tx_stats()  local
298 convert_to_64bit(tx_stats->send_pkts_lo, in ocrdma_tx_stats()
299 tx_stats->send_pkts_hi)); in ocrdma_tx_stats()
301 convert_to_64bit(tx_stats->write_pkts_lo, in ocrdma_tx_stats()
302 tx_stats->write_pkts_hi)); in ocrdma_tx_stats()
304 convert_to_64bit(tx_stats->read_pkts_lo, in ocrdma_tx_stats()
305 tx_stats->read_pkts_hi)); in ocrdma_tx_stats()
307 convert_to_64bit(tx_stats->read_rsp_pkts_lo, in ocrdma_tx_stats()
308 tx_stats->read_rsp_pkts_hi)); in ocrdma_tx_stats()
310 convert_to_64bit(tx_stats->ack_pkts_lo, in ocrdma_tx_stats()
311 tx_stats->ack_pkts_hi)); in ocrdma_tx_stats()
313 convert_to_64bit(tx_stats->send_bytes_lo, in ocrdma_tx_stats()
314 tx_stats->send_bytes_hi)); in ocrdma_tx_stats()
316 convert_to_64bit(tx_stats->write_bytes_lo, in ocrdma_tx_stats()
317 tx_stats->write_bytes_hi)); in ocrdma_tx_stats()
319 convert_to_64bit(tx_stats->read_req_bytes_lo, in ocrdma_tx_stats()
320 tx_stats->read_req_bytes_hi)); in ocrdma_tx_stats()
322 convert_to_64bit(tx_stats->read_rsp_bytes_lo, in ocrdma_tx_stats()
323 tx_stats->read_rsp_bytes_hi)); in ocrdma_tx_stats()
325 (u64)tx_stats->ack_timeouts); in ocrdma_tx_stats()
334 struct ocrdma_tx_stats *tx_stats = &rdma_stats->tx_stats; in ocrdma_sysfs_xmit_pkts() local
336 return (convert_to_64bit(tx_stats->send_pkts_lo, in ocrdma_sysfs_xmit_pkts()
337 tx_stats->send_pkts_hi) + in ocrdma_sysfs_xmit_pkts()
338 convert_to_64bit(tx_stats->write_pkts_lo, tx_stats->write_pkts_hi) + in ocrdma_sysfs_xmit_pkts()
339 convert_to_64bit(tx_stats->read_pkts_lo, tx_stats->read_pkts_hi) + in ocrdma_sysfs_xmit_pkts()
340 convert_to_64bit(tx_stats->read_rsp_pkts_lo, in ocrdma_sysfs_xmit_pkts()
341 tx_stats->read_rsp_pkts_hi) + in ocrdma_sysfs_xmit_pkts()
342 convert_to_64bit(tx_stats->ack_pkts_lo, tx_stats->ack_pkts_hi)); in ocrdma_sysfs_xmit_pkts()
349 struct ocrdma_tx_stats *tx_stats = &rdma_stats->tx_stats; in ocrdma_sysfs_xmit_data() local
351 return (convert_to_64bit(tx_stats->send_bytes_lo, in ocrdma_sysfs_xmit_data()
352 tx_stats->send_bytes_hi) + in ocrdma_sysfs_xmit_data()
353 convert_to_64bit(tx_stats->write_bytes_lo, in ocrdma_sysfs_xmit_data()
354 tx_stats->write_bytes_hi) + in ocrdma_sysfs_xmit_data()
355 convert_to_64bit(tx_stats->read_req_bytes_lo, in ocrdma_sysfs_xmit_data()
356 tx_stats->read_req_bytes_hi) + in ocrdma_sysfs_xmit_data()
357 convert_to_64bit(tx_stats->read_rsp_bytes_lo, in ocrdma_sysfs_xmit_data()
358 tx_stats->read_rsp_bytes_hi))/4; in ocrdma_sysfs_xmit_data()
783 dev->tx_stats.type = OCRDMA_TXSTATS; in ocrdma_add_port_stats()
784 dev->tx_stats.dev = dev; in ocrdma_add_port_stats()
785 debugfs_create_file("tx_stats", S_IRUSR, dev->dir, &dev->tx_stats, in ocrdma_add_port_stats()