Home
last modified time | relevance | path

Searched refs:core_statistics (Results 1 – 2 of 2) sorted by relevance

/f-stack/dpdk/examples/ipsec-secgw/
H A Dipsec-secgw.h93 struct ipsec_core_statistics core_statistics[RTE_MAX_LCORE]; variable
117 core_statistics[lcore_id].rx += n; in core_stats_update_rx()
118 core_statistics[lcore_id].rx_call++; in core_stats_update_rx()
120 core_statistics[lcore_id].burst_rx += n; in core_stats_update_rx()
131 core_statistics[lcore_id].tx += n; in core_stats_update_tx()
132 core_statistics[lcore_id].tx_call++; in core_stats_update_tx()
143 core_statistics[lcore_id].dropped += n; in core_stats_update_drop()
H A Dipsec-secgw.c320 core_statistics[coreid].rx; in print_stats_cb()
321 rx_per_call = (float)(core_statistics[coreid].rx)/ in print_stats_cb()
322 core_statistics[coreid].rx_call; in print_stats_cb()
323 tx_per_call = (float)(core_statistics[coreid].tx)/ in print_stats_cb()
324 core_statistics[coreid].tx_call; in print_stats_cb()
333 core_statistics[coreid].rx, in print_stats_cb()
334 core_statistics[coreid].tx, in print_stats_cb()
335 core_statistics[coreid].dropped, in print_stats_cb()
340 total_packets_dropped += core_statistics[coreid].dropped; in print_stats_cb()
341 total_packets_tx += core_statistics[coreid].tx; in print_stats_cb()
[all …]