Home
last modified time | relevance | path

Searched refs:n_bytes (Results 1 – 25 of 31) sorted by relevance

12

/f-stack/dpdk/lib/librte_port/
H A Drte_port_fd.c90 ssize_t n_bytes; in rte_port_fd_reader_rx() local
92 n_bytes = read(p->fd, pkt_data, (size_t) p->mtu); in rte_port_fd_reader_rx()
93 if (n_bytes <= 0) in rte_port_fd_reader_rx()
96 pkt->data_len = n_bytes; in rte_port_fd_reader_rx()
97 pkt->pkt_len = n_bytes; in rte_port_fd_reader_rx()
202 size_t n_bytes = rte_pktmbuf_data_len(pkt); in send_burst() local
205 ret = write(p->fd, pkt_data, n_bytes); in send_burst()
384 size_t n_bytes = rte_pktmbuf_data_len(pkt); in send_burst_nodrop() local
389 ret = write(p->fd, pkt_data, n_bytes); in send_burst_nodrop()
H A Drte_swx_port.h81 uint64_t n_bytes; member
165 uint64_t n_bytes; member
H A Drte_swx_port_source_sink.c176 p->stats.n_bytes += pkt->length; in source_pkt_rx()
296 p->stats.n_bytes += pkt->length; in sink_pkt_tx()
H A Drte_port_source_sink.c178 #define PCAP_SOURCE_LOAD(port, file_name, n_bytes, socket_id) \ argument
179 pcap_source_load(port, file_name, n_bytes, socket_id)
183 #define PCAP_SOURCE_LOAD(port, file_name, n_bytes, socket_id) \ argument
H A Drte_swx_port_ethdev.c131 p->stats.n_bytes += pkt->length; in reader_pkt_rx()
260 p->stats.n_bytes += pkt->length; in writer_pkt_tx()
/f-stack/dpdk/examples/vm_power_manager/
H A Dchannel_monitor.c994 int n_bytes, err = 0; in read_binary_packet() local
997 n_bytes = read(chan_info->fd, in read_binary_packet()
999 if (n_bytes == buffer_len) in read_binary_packet()
1001 if (n_bytes < 0) { in read_binary_packet()
1011 buffer = (char *)buffer + n_bytes; in read_binary_packet()
1012 buffer_len -= n_bytes; in read_binary_packet()
1023 int n_bytes, ret; in read_json_packet() local
1036 n_bytes = read(chan_info->fd, &json_data[idx], 1); in read_json_packet()
1037 if (n_bytes == 0) in read_json_packet()
1102 } while (n_bytes > 0); in read_json_packet()
/f-stack/dpdk/drivers/net/softnic/
H A Drte_eth_softnic_meter.c643 out->n_bytes[RTE_COLOR_GREEN] += in->n_bytes[i]; in mtr_stats_convert()
646 out->n_bytes[RTE_COLOR_YELLOW] += in->n_bytes[i]; in mtr_stats_convert()
649 out->n_bytes[RTE_COLOR_RED] += in->n_bytes[i]; in mtr_stats_convert()
652 out->n_bytes_dropped += in->n_bytes[i]; in mtr_stats_convert()
H A Drte_eth_softnic_tm.c3291 nr->stats.n_bytes += in read_port_stats()
3338 ns->stats.n_bytes += in read_subport_stats()
3404 np->stats.n_bytes += s.n_bytes - s.n_bytes_dropped; in read_pipe_stats()
3463 nt->stats.n_bytes += s.n_bytes - s.n_bytes_dropped; in read_tc_stats()
3485 nt->stats.n_bytes += s.n_bytes - s.n_bytes_dropped; in read_tc_stats()
3546 nq->stats.n_bytes += s.n_bytes - s.n_bytes_dropped; in read_queue_stats()
H A Drte_eth_softnic_flow.c1476 rule_action->stats.n_bytes = 0; in flow_rule_action_get()
2276 flow_stats->bytes = stats.n_bytes; in pmd_flow_query()
/f-stack/dpdk/lib/librte_pipeline/
H A Drte_table_action.h277 uint64_t n_bytes[RTE_COLORS]; member
681 uint64_t n_bytes; member
690 uint64_t n_bytes; member
H A Drte_swx_pipeline.c205 uint32_t n_bytes; member
469 uint8_t n_bytes[8]; member
2552 offset = h0->n_bytes + h1->n_bytes; in emit_handler()
2653 uint32_t n_bytes = ip->io.hdr.n_bytes[i]; in __instr_hdr_extract_exec() local
2658 n_bytes); in __instr_hdr_extract_exec()
2667 ptr += n_bytes; in __instr_hdr_extract_exec()
2813 uint32_t n_bytes = ip->io.hdr.n_bytes[i]; in __instr_hdr_emit_exec() local
3339 uint32_t n_bytes = ip->dma.n_bytes[i]; in __instr_dma_ht_exec() local
5765 instr[0].io.hdr.n_bytes[i] = instr[i].io.hdr.n_bytes[0]; in instr_pattern_extract_many_optimize()
5820 instr[0].io.hdr.n_bytes[i] = instr[i].io.hdr.n_bytes[0]; in instr_pattern_emit_many_tx_optimize()
[all …]
H A Drte_table_action.c1591 uint64_t n_bytes; member
1599 data->n_bytes = p->n_bytes; in stats_apply()
1609 data->n_bytes += total_length; in pkt_work_stats()
2824 stats->n_bytes = stats_data->n_bytes; in rte_table_action_stats_read()
2832 stats_data->n_bytes = 0; in rte_table_action_stats_read()
/f-stack/dpdk/drivers/net/memif/
H A Drte_eth_memif.c401 mq->n_bytes += rte_pktmbuf_pkt_len(mbuf_head); in eth_memif_rx()
495 mq->n_bytes += rte_pktmbuf_data_len(mbuf); in eth_memif_rx_zc()
651 mq->n_bytes += cp_len; in eth_memif_tx()
1310 mq->n_bytes = 0; in memif_tx_queue_setup()
1338 mq->n_bytes = 0; in memif_rx_queue_setup()
1400 stats->q_ibytes[i] = mq->n_bytes; in memif_stats_get()
1402 stats->ibytes += mq->n_bytes; in memif_stats_get()
1414 stats->q_obytes[i] = mq->n_bytes; in memif_stats_get()
1416 stats->obytes += mq->n_bytes; in memif_stats_get()
1432 mq->n_bytes = 0; in memif_stats_reset()
[all …]
H A Drte_eth_memif.h73 uint64_t n_bytes; /**< number of rx/tx bytes */ member
/f-stack/dpdk/lib/librte_table/
H A Drte_swx_table_em.c155 keycpy(void *dst, void *src, void *src_mask, uint32_t n_bytes) in keycpy() argument
160 for (i = 0; i < n_bytes / sizeof(uint64_t); i++) in keycpy()
168 keycmp(void *a, void *b, void *b_mask, uint32_t n_bytes) in keycmp() argument
172 switch (n_bytes) { in keycmp()
227 for (i = 0; i < n_bytes / sizeof(uint64_t); i++) in keycmp()
H A Drte_table_hash_lru.c83 keycmp(void *a, void *b, void *b_mask, uint32_t n_bytes) in keycmp() argument
88 for (i = 0; i < n_bytes / sizeof(uint64_t); i++) in keycmp()
96 keycpy(void *dst, void *src, void *src_mask, uint32_t n_bytes) in keycpy() argument
101 for (i = 0; i < n_bytes / sizeof(uint64_t); i++) in keycpy()
H A Drte_table_hash_ext.c106 keycmp(void *a, void *b, void *b_mask, uint32_t n_bytes) in keycmp() argument
111 for (i = 0; i < n_bytes / sizeof(uint64_t); i++) in keycmp()
119 keycpy(void *dst, void *src, void *src_mask, uint32_t n_bytes) in keycpy() argument
124 for (i = 0; i < n_bytes / sizeof(uint64_t); i++) in keycpy()
/f-stack/dpdk/examples/qos_sched/
H A Dstats.c355 i, 0, stats.n_pkts, stats.n_pkts_dropped, stats.n_bytes, in pipe_stat()
363 i, j, stats.n_pkts, stats.n_pkts_dropped, stats.n_bytes, in pipe_stat()
/f-stack/dpdk/lib/librte_sched/
H A Drte_sched.h231 uint64_t n_bytes; member
/f-stack/dpdk/lib/librte_ethdev/
H A Drte_mtr.h94 uint64_t n_bytes[RTE_COLORS]; member
H A Drte_tm.h138 uint64_t n_bytes; member
/f-stack/dpdk/app/test-pmd/
H A Dcmdline_mtr.c1438 stats.n_bytes[RTE_COLOR_GREEN]); in cmd_show_port_meter_stats_parsed()
1444 stats.n_bytes[RTE_COLOR_YELLOW]); in cmd_show_port_meter_stats_parsed()
1450 stats.n_bytes[RTE_COLOR_RED]); in cmd_show_port_meter_stats_parsed()
/f-stack/dpdk/examples/pipeline/
H A Dcli.c1047 i, stats.n_pkts, stats.n_bytes, stats.n_empty); in cmd_pipeline_stats()
1064 i, stats.n_pkts, stats.n_bytes); in cmd_pipeline_stats()
/f-stack/dpdk/drivers/net/mvpp2/
H A Dmrvl_tm.c949 stats->n_bytes = s.tx_bytes; in mrvl_node_stats_read()
/f-stack/dpdk/drivers/net/mlx5/
H A Dmlx5_flow_meter.c1067 stats->n_bytes[i] = bytes; in mlx5_flow_meter_stats_read()

12