Home
last modified time | relevance | path

Searched refs:n_packets (Results 1 – 8 of 8) sorted by relevance

/drivers/infiniband/hw/qib/
Dqib_debugfs.c98 u64 n_packets = 0, n_bytes = 0; in _opcode_stats_seq_show() local
105 n_packets += dd->rcd[j]->opstats->stats[i].n_packets; in _opcode_stats_seq_show()
108 if (!n_packets && !n_bytes) in _opcode_stats_seq_show()
111 (unsigned long long) n_packets, in _opcode_stats_seq_show()
154 u64 n_packets = 0; in _ctx_stats_seq_show() local
170 n_packets += dd->rcd[i]->opstats->stats[j].n_packets; in _ctx_stats_seq_show()
172 if (!n_packets) in _ctx_stats_seq_show()
175 seq_printf(s, " %llu:%llu\n", i, n_packets); in _ctx_stats_seq_show()
Dqib_verbs.h129 u64 n_packets; /* number of packets */ member
Dqib_verbs.c316 rcd->opstats->stats[opcode].n_packets++; in qib_ib_rcv()
/drivers/net/ethernet/sfc/
Def100_rx.c133 unsigned int n_packets = in efx_ef100_ev_rx() local
137 WARN_ON_ONCE(!n_packets); in efx_ef100_ev_rx()
138 if (n_packets > 1) in efx_ef100_ev_rx()
141 channel->irq_mod_score += 2 * n_packets; in efx_ef100_ev_rx()
143 for (i = 0; i < n_packets; ++i) { in efx_ef100_ev_rx()
Def10.c2708 unsigned int n_packets, in efx_ef10_handle_rx_event_errors() argument
2720 channel->n_rx_eth_crc_err += n_packets; in efx_ef10_handle_rx_event_errors()
2738 &channel->n_rx_ip_hdr_chksum_err) += n_packets; in efx_ef10_handle_rx_event_errors()
2754 &channel->n_rx_tcp_udp_chksum_err) += n_packets; in efx_ef10_handle_rx_event_errors()
2772 channel->n_rx_inner_ip_hdr_chksum_err += n_packets; in efx_ef10_handle_rx_event_errors()
2790 channel->n_rx_inner_tcp_udp_chksum_err += n_packets; in efx_ef10_handle_rx_event_errors()
2803 unsigned int n_descs, n_packets, i; in efx_ef10_handle_rx_event() local
2873 n_packets = n_descs; in efx_ef10_handle_rx_event()
2875 channel->n_rx_merge_packets += n_packets; in efx_ef10_handle_rx_event()
2882 n_packets = 1; in efx_ef10_handle_rx_event()
[all …]
/drivers/infiniband/hw/hfi1/
Dfault.c48 u64 n_packets = 0, n_bytes = 0; in _fault_stats_seq_show() local
56 n_packets += rcd->opstats->stats[i].n_packets; in _fault_stats_seq_show()
65 n_packets += sp->stats[i].n_packets; in _fault_stats_seq_show()
68 if (!n_packets && !n_bytes) in _fault_stats_seq_show()
73 (unsigned long long)n_packets, in _fault_stats_seq_show()
Ddebugfs.c95 u64 n_packets = 0, n_bytes = 0; in _opcode_stats_seq_show() local
103 n_packets += rcd->opstats->stats[i].n_packets; in _opcode_stats_seq_show()
108 return opcode_stats_show(s, i, n_packets, n_bytes); in _opcode_stats_seq_show()
134 u64 n_packets = 0, n_bytes = 0; in _tx_opcode_stats_seq_show() local
141 n_packets += s->stats[i].n_packets; in _tx_opcode_stats_seq_show()
144 return opcode_stats_show(s, i, n_packets, n_bytes); in _tx_opcode_stats_seq_show()
186 u64 n_packets = 0; in _ctx_stats_seq_show() local
204 n_packets += rcd->opstats->stats[j].n_packets; in _ctx_stats_seq_show()
208 if (!n_packets) in _ctx_stats_seq_show()
211 seq_printf(s, " %llu:%llu\n", i, n_packets); in _ctx_stats_seq_show()
Dverbs.h208 u64 n_packets; /* number of packets */ member
222 stats->n_packets++; in inc_opstats()