Searched refs:stat (Results 1 - 25 of 58) sorted by relevance

123

/deb_dpdk/examples/performance-thread/l3fwd-thread/
H A Dtest.sh16 --stat-lcore 2 \
28 --stat-lcore 4 \
39 --stat-lcore 8 \
50 --stat-lcore 16 \
66 --stat-lcore 2 \
78 --stat-lcore 4 \
89 --stat-lcore 8 \
100 --stat-lcore 16 \
116 --stat-lcore 1
126 --stat
[all...]
/deb_dpdk/examples/ethtool/ethtool-app/
H A Dethapp.c277 int stat; local
303 stat = rte_ethtool_get_eeprom(
306 if (stat != 0) {
307 printf("EEPROM read error %i\n", stat);
334 int stat; local
341 stat = rte_ethtool_get_pauseparam(params->port, &info);
359 stat = rte_ethtool_set_pauseparam(params->port, &info);
361 if (stat == 0) {
370 } else if (stat == -ENOTSUP)
373 printf("Port %i: Error %i\n", params->port, stat);
383 int stat; local
407 int stat; local
432 int stat; local
455 int stat; local
498 int stat; local
531 int stat; local
562 int stat; local
618 int stat; local
[all...]
/deb_dpdk/drivers/net/fm10k/base/
H A Dfm10k_common.h45 struct fm10k_hw_stat *stat);
46 #define fm10k_update_hw_base_32b(stat, delta) ((stat)->base_l += (delta))
H A Dfm10k_common.c292 struct fm10k_hw_stat *stat)
294 u32 delta = FM10K_READ_REG(hw, addr) - stat->base_l;
299 stat->base_h = 0;
315 struct fm10k_hw_stat *stat)
333 delta = ((u64)(count_h - stat->base_h) << 32) + count_l;
334 delta -= stat->base_l;
341 * @stat: pointer to the hardware statistic structure
347 STATIC void fm10k_update_hw_base_48b(struct fm10k_hw_stat *stat, u64 delta) argument
355 delta += stat->base_l;
356 stat
291 fm10k_read_hw_stats_32b(struct fm10k_hw *hw, u32 addr, struct fm10k_hw_stat *stat) argument
314 fm10k_read_hw_stats_48b(struct fm10k_hw *hw, u32 addr, struct fm10k_hw_stat *stat) argument
[all...]
/deb_dpdk/examples/multi_process/l2fwd_fork/
H A Dflib.h38 typedef void (slave_exit_notify)(unsigned slaveid, int stat);
93 * Query the running stat for specific slave, wont' work in with master id
H A Dflib.c146 int pid, stat; local
162 waitpid(pid, &stat, 0);
169 cfg->cb_fn(slave_id, stat);
170 return stat;
/deb_dpdk/lib/librte_ip_frag/
H A Drte_ip_frag_common.c118 fail_total = tbl->stat.fail_total;
119 fail_nospace = tbl->stat.fail_nospace;
132 tbl->stat.find_num,
133 tbl->stat.add_num,
134 tbl->stat.del_num,
135 tbl->stat.reuse_num,
H A Dip_frag_internal.c63 IP_FRAG_TBL_STAT_UPDATE(&tbl->stat, del_num, 1);
74 IP_FRAG_TBL_STAT_UPDATE(&tbl->stat, add_num, 1);
85 IP_FRAG_TBL_STAT_UPDATE(&tbl->stat, reuse_num, 1);
286 IP_FRAG_TBL_STAT_UPDATE(&tbl->stat, find_num, 1);
307 IP_FRAG_TBL_STAT_UPDATE(&tbl->stat,
327 IP_FRAG_TBL_STAT_UPDATE(&tbl->stat, fail_total, (pkt == NULL));
/deb_dpdk/examples/ethtool/lib/
H A Drte_ethtool.c379 int stat; local
386 stat = rte_eth_rx_queue_info_get(port_id, 0, &rx_qinfo);
387 if (stat != 0)
388 return stat;
390 stat = rte_eth_tx_queue_info_get(port_id, 0, &tx_qinfo);
391 if (stat != 0)
392 return stat;
409 int stat; local
414 stat = rte_eth_rx_queue_info_get(port_id, 0, &rx_qinfo);
415 if (stat !
[all...]
/deb_dpdk/examples/l2fwd-keepalive/
H A Dshm.h43 #include <sys/stat.h>
/deb_dpdk/examples/qos_sched/
H A Dmain.h88 #define APP_STATS_ADD(stat,val) (stat) += (val)
90 #define APP_STATS_ADD(stat,val) do {(void) (val);} while (0)
118 struct thread_stat stat; member in struct:thread_conf
H A Dmain.c209 flow->rx_thread.stat.nb_rx,
210 flow->rx_thread.stat.nb_drop);
212 flow->wt_thread.stat.nb_rx,
213 flow->wt_thread.stat.nb_drop,
214 flow->wt_thread.stat.nb_rx - flow->wt_thread.stat.nb_drop);
217 memset(&flow->rx_thread.stat, 0, sizeof(struct thread_stat));
218 memset(&flow->wt_thread.stat, 0, sizeof(struct thread_stat));
H A Dapp_thread.c100 APP_STATS_ADD(conf->stat.nb_rx, nb_rx);
114 APP_STATS_ADD(conf->stat.nb_drop, 1);
226 APP_STATS_ADD(conf->stat.nb_drop, nb_pkt - nb_sent);
227 APP_STATS_ADD(conf->stat.nb_rx, nb_pkt);
260 APP_STATS_ADD(conf->stat.nb_drop, nb_pkt - nb_sent);
261 APP_STATS_ADD(conf->stat.nb_rx, nb_pkt);
/deb_dpdk/drivers/net/ixgbe/
H A Dixgbe_rxtx_vec_neon.c258 uint32_t stat; local
303 stat = vgetq_lane_u32(vreinterpretq_u32_u8(staterr), 0);
330 *(int *)split_packet = ~stat & IXGBE_VPMD_DESC_EOP_MASK;
349 stat &= IXGBE_VPMD_DESC_DD_MASK;
352 if (likely(stat != IXGBE_VPMD_DESC_DD_MASK)) {
353 while (stat & 0x01) {
355 stat = stat >> 8;
/deb_dpdk/drivers/net/bnx2x/
H A Dbnx2x_ethdev.h17 #include <sys/stat.h>
/deb_dpdk/examples/l2fwd-keepalive/ka-agent/
H A Dmain.c44 #include <sys/stat.h>
/deb_dpdk/buildtools/pmdinfogen/
H A Dpmdinfogen.h17 #include <sys/stat.h>
/deb_dpdk/drivers/net/virtio/virtio_user/
H A Dvhost_user.c36 #include <sys/stat.h>
143 struct stat stats;
206 if (stat(huges[k].path, &stats) < 0) {
207 PMD_DRV_LOG(ERR, "Failed to stat %s, %s\n",
/deb_dpdk/app/test-pmd/
H A Diofwd.c43 #include <sys/stat.h>
H A Dmacfwd.c43 #include <sys/stat.h>
H A Dmacswap.c43 #include <sys/stat.h>
/deb_dpdk/scripts/
H A Dcheckpatches.sh92 report=$(git format-patch --no-stat --stdout -1 $commit |
/deb_dpdk/lib/librte_eal/common/
H A Deal_common_options.c44 #include <sys/stat.h>
207 struct stat sb;
212 if (!(stat(sopath, &sb) == 0 && S_ISREG(sb.st_mode)))
233 struct stat sb;
235 if (stat(solib->name, &sb) == 0 && S_ISDIR(sb.st_mode)) {
/deb_dpdk/drivers/net/ena/
H A Dena_ethdev.c96 #define ENA_STAT_ENA_COM_ENTRY(stat) { \
97 .name = #stat, \
98 .stat_offset = offsetof(struct ena_com_stats_admin, stat) \
101 #define ENA_STAT_ENTRY(stat, stat_type) { \
102 .name = #stat, \
103 .stat_offset = offsetof(struct ena_stats_##stat_type, stat) \
106 #define ENA_STAT_RX_ENTRY(stat) \
107 ENA_STAT_ENTRY(stat, rx)
109 #define ENA_STAT_TX_ENTRY(stat) \
110 ENA_STAT_ENTRY(stat, t
[all...]
/deb_dpdk/drivers/net/i40e/
H A Di40e_rxtx_vec_neon.c301 uint64_t stat; local
426 stat = ~vgetq_lane_u64(vreinterpretq_u64_u16(staterr), 0);
437 if (unlikely(stat == 0)) {
440 nb_pkts_recd += __builtin_ctzl(stat) / I40E_UINT16_BIT;

Completed in 25 milliseconds

123