Home
last modified time | relevance | path

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

/openbmc/libmctp/tests/
H A Dtest_seq.c46 int n_packets; member
53 .n_packets = 1,
62 .n_packets = 2,
72 .n_packets = 3,
83 .n_packets = 2,
93 .n_packets = 2,
120 for (i = 0; i < test->n_packets; i++) { in run_one_test()
/openbmc/linux/drivers/infiniband/hw/qib/
H A 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()
H A Dqib_verbs.h129 u64 n_packets; /* number of packets */ member
H A Dqib_verbs.c316 rcd->opstats->stats[opcode].n_packets++; in qib_ib_rcv()
/openbmc/linux/drivers/infiniband/hw/hfi1/
H A Dfault.c47 u64 n_packets = 0, n_bytes = 0; in _fault_stats_seq_show() local
55 n_packets += rcd->opstats->stats[i].n_packets; in _fault_stats_seq_show()
64 n_packets += sp->stats[i].n_packets; in _fault_stats_seq_show()
67 if (!n_packets && !n_bytes) in _fault_stats_seq_show()
72 (unsigned long long)n_packets, in _fault_stats_seq_show()
H A Ddebugfs.c94 u64 n_packets = 0, n_bytes = 0; in _opcode_stats_seq_show() local
102 n_packets += rcd->opstats->stats[i].n_packets; in _opcode_stats_seq_show()
107 return opcode_stats_show(s, i, n_packets, n_bytes); in _opcode_stats_seq_show()
133 u64 n_packets = 0, n_bytes = 0; in _tx_opcode_stats_seq_show() local
140 n_packets += s->stats[i].n_packets; in _tx_opcode_stats_seq_show()
143 return opcode_stats_show(s, i, n_packets, n_bytes); in _tx_opcode_stats_seq_show()
185 u64 n_packets = 0; in _ctx_stats_seq_show() local
203 n_packets += rcd->opstats->stats[j].n_packets; in _ctx_stats_seq_show()
207 if (!n_packets) in _ctx_stats_seq_show()
210 seq_printf(s, " %llu:%llu\n", i, n_packets); in _ctx_stats_seq_show()
H A Dverbs.h208 u64 n_packets; /* number of packets */ member
222 stats->n_packets++; in inc_opstats()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Def100_rx.c174 unsigned int n_packets = in efx_ef100_ev_rx() local
178 WARN_ON_ONCE(!n_packets); in efx_ef100_ev_rx()
179 if (n_packets > 1) in efx_ef100_ev_rx()
182 channel->irq_mod_score += 2 * n_packets; in efx_ef100_ev_rx()
184 for (i = 0; i < n_packets; ++i) { in efx_ef100_ev_rx()
H A Def10.c2718 unsigned int n_packets, in efx_ef10_handle_rx_event_errors() argument
2730 channel->n_rx_eth_crc_err += n_packets; in efx_ef10_handle_rx_event_errors()
2748 &channel->n_rx_ip_hdr_chksum_err) += n_packets; in efx_ef10_handle_rx_event_errors()
2764 &channel->n_rx_tcp_udp_chksum_err) += n_packets; in efx_ef10_handle_rx_event_errors()
2813 unsigned int n_descs, n_packets, i; in efx_ef10_handle_rx_event() local
2883 n_packets = n_descs; in efx_ef10_handle_rx_event()
2885 channel->n_rx_merge_packets += n_packets; in efx_ef10_handle_rx_event()
2892 n_packets = 1; in efx_ef10_handle_rx_event()
2932 channel->irq_mod_score += 2 * n_packets; in efx_ef10_handle_rx_event()
2935 for (i = 0; i < n_packets; i++) { in efx_ef10_handle_rx_event()
[all …]
/openbmc/linux/net/openvswitch/
H A Dmeter.c631 meter->stats.n_packets += 1; in ovs_meter_execute()
668 band->stats.n_packets += 1; in ovs_meter_execute()
H A Dflow.c151 ovs_stats->n_packets += stats->packet_count; in ovs_flow_stats_get()
H A Ddatapath.c818 if (stats.n_packets && in ovs_flow_cmd_fill_stats()
/openbmc/linux/include/uapi/linux/
H A Dopenvswitch.h334 __u64 n_packets; /* Number of matched packets. */ member