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.c2692 unsigned int n_packets, in efx_ef10_handle_rx_event_errors() argument
2704 channel->n_rx_eth_crc_err += n_packets; in efx_ef10_handle_rx_event_errors()
2722 &channel->n_rx_ip_hdr_chksum_err) += n_packets; in efx_ef10_handle_rx_event_errors()
2738 &channel->n_rx_tcp_udp_chksum_err) += n_packets; in efx_ef10_handle_rx_event_errors()
2756 channel->n_rx_inner_ip_hdr_chksum_err += n_packets; in efx_ef10_handle_rx_event_errors()
2774 channel->n_rx_inner_tcp_udp_chksum_err += n_packets; in efx_ef10_handle_rx_event_errors()
2787 unsigned int n_descs, n_packets, i; in efx_ef10_handle_rx_event() local
2857 n_packets = n_descs; in efx_ef10_handle_rx_event()
2859 channel->n_rx_merge_packets += n_packets; in efx_ef10_handle_rx_event()
2866 n_packets = 1; in efx_ef10_handle_rx_event()
[all …]
/drivers/infiniband/hw/hfi1/
Dfault.c89 u64 n_packets = 0, n_bytes = 0; in _fault_stats_seq_show() local
97 n_packets += rcd->opstats->stats[i].n_packets; in _fault_stats_seq_show()
106 n_packets += sp->stats[i].n_packets; in _fault_stats_seq_show()
109 if (!n_packets && !n_bytes) in _fault_stats_seq_show()
114 (unsigned long long)n_packets, in _fault_stats_seq_show()
Ddebugfs.c136 u64 n_packets = 0, n_bytes = 0; in _opcode_stats_seq_show() local
144 n_packets += rcd->opstats->stats[i].n_packets; in _opcode_stats_seq_show()
149 return opcode_stats_show(s, i, n_packets, n_bytes); in _opcode_stats_seq_show()
175 u64 n_packets = 0, n_bytes = 0; in _tx_opcode_stats_seq_show() local
182 n_packets += s->stats[i].n_packets; in _tx_opcode_stats_seq_show()
185 return opcode_stats_show(s, i, n_packets, n_bytes); in _tx_opcode_stats_seq_show()
227 u64 n_packets = 0; in _ctx_stats_seq_show() local
245 n_packets += rcd->opstats->stats[j].n_packets; in _ctx_stats_seq_show()
249 if (!n_packets) in _ctx_stats_seq_show()
252 seq_printf(s, " %llu:%llu\n", i, n_packets); in _ctx_stats_seq_show()
Dverbs.h250 u64 n_packets; /* number of packets */ member
264 stats->n_packets++; in inc_opstats()