| /dpdk/lib/port/ |
| H A D | rte_swx_port_fd.c | 92 ssize_t n_bytes; in reader_pkt_rx() local 102 n_bytes = read(p->params.fd, pkt_data, (size_t) p->params.mtu); in reader_pkt_rx() 104 if (n_bytes <= 0) in reader_pkt_rx() 107 m->data_len = n_bytes; in reader_pkt_rx() 108 m->pkt_len = n_bytes; in reader_pkt_rx() 111 p->stats.n_bytes += n_bytes; in reader_pkt_rx() 201 size_t n_bytes; in __writer_flush() local 208 n_bytes = rte_pktmbuf_data_len(pkt); in __writer_flush() 210 ret = write(p->params.fd, pkt_data, n_bytes); in __writer_flush() 245 p->stats.n_bytes += pkt->length; in writer_pkt_tx()
|
| H A D | rte_port_fd.c | 90 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 D | rte_swx_port.h | 81 uint64_t n_bytes; member 165 uint64_t n_bytes; member
|
| H A D | rte_swx_port_ring.c | 126 p->stats.n_bytes += pkt->length; in reader_pkt_rx() 260 p->stats.n_bytes += pkt->length; in writer_pkt_tx()
|
| H A D | rte_port_source_sink.c | 173 #define PCAP_SOURCE_LOAD(port, file_name, n_bytes, socket_id) \ argument 174 pcap_source_load(port, file_name, n_bytes, socket_id) 178 #define PCAP_SOURCE_LOAD(port, file_name, n_bytes, socket_id) \ argument
|
| H A D | rte_swx_port_ethdev.c | 131 p->stats.n_bytes += pkt->length; in reader_pkt_rx() 260 p->stats.n_bytes += pkt->length; in writer_pkt_tx()
|
| H A D | rte_swx_port_source_sink.c | 181 p->stats.n_bytes += pkt->length; in source_pkt_rx() 303 p->stats.n_bytes += pkt->length; in sink_pkt_tx()
|
| /dpdk/lib/pipeline/ |
| H A D | rte_swx_pipeline_internal.h | 1804 h->n_bytes = n_bytes; in __instr_hdr_extract_m_exec() 1853 uint32_t n_bytes = hi->n_bytes; in __instr_hdr_emit_many_exec() local 3570 n_bytes = m->n_bytes[color_out]; in __instr_meter_hhm_exec() 3603 n_bytes = m->n_bytes[color_out]; in __instr_meter_hhi_exec() 3636 n_bytes = m->n_bytes[color_out]; in __instr_meter_hmm_exec() 3669 n_bytes = m->n_bytes[color_out]; in __instr_meter_hmi_exec() 3702 n_bytes = m->n_bytes[color_out]; in __instr_meter_mhm_exec() 3735 n_bytes = m->n_bytes[color_out]; in __instr_meter_mhi_exec() 3768 n_bytes = m->n_bytes[color_out]; in __instr_meter_mmm_exec() 3801 n_bytes = m->n_bytes[color_out]; in __instr_meter_mmi_exec() [all …]
|
| H A D | rte_table_action.h | 277 uint64_t n_bytes[RTE_COLORS]; member 681 uint64_t n_bytes; member 690 uint64_t n_bytes; member
|
| H A D | rte_swx_ctl.h | 1256 uint64_t n_bytes[RTE_COLORS]; member
|
| H A D | rte_swx_pipeline.c | 1214 uint32_t n_bytes = 0, i; in header_build() local 1217 n_bytes += h->st->n_bits / 8; in header_build() 1243 offset += n_bytes; in header_build() 1246 t->headers[h->id].n_bytes = n_bytes; in header_build() 1342 metadata = calloc(1, n_bytes); in metadata_build() 6166 instr[0].io.hdr.n_bytes[i] = instr[i].io.hdr.n_bytes[0]; in instr_pattern_extract_many_replace() 6259 instr[0].io.hdr.n_bytes[i] = instr[i].io.hdr.n_bytes[0]; in instr_pattern_emit_many_tx_replace() 6524 instr[0].dma.n_bytes[i] = instr[i].dma.n_bytes[0]; in instr_pattern_dma_many_replace() 10041 memcpy(stats->n_bytes, m->n_bytes, sizeof(m->n_bytes)); in rte_swx_ctl_meter_stats_read() 10340 instr->io.hdr.n_bytes[i]); in instr_io_export() [all …]
|
| /dpdk/examples/vm_power_manager/ |
| H A D | channel_monitor.c | 999 int n_bytes, err = 0; in read_binary_packet() local 1002 n_bytes = read(chan_info->fd, in read_binary_packet() 1004 if (n_bytes == buffer_len) in read_binary_packet() 1006 if (n_bytes < 0) { in read_binary_packet() 1016 buffer = (char *)buffer + n_bytes; in read_binary_packet() 1017 buffer_len -= n_bytes; in read_binary_packet() 1028 int n_bytes, ret; in read_json_packet() local 1041 n_bytes = read(chan_info->fd, &json_data[idx], 1); in read_json_packet() 1042 if (n_bytes == 0) in read_json_packet() 1107 } while (n_bytes > 0); in read_json_packet()
|
| /dpdk/drivers/net/softnic/ |
| H A D | rte_eth_softnic_meter.c | 832 out->n_bytes[RTE_COLOR_GREEN] += in->n_bytes[i]; in mtr_stats_convert() 836 out->n_bytes[RTE_COLOR_YELLOW] += in->n_bytes[i]; in mtr_stats_convert() 840 out->n_bytes[RTE_COLOR_RED] += in->n_bytes[i]; in mtr_stats_convert() 844 out->n_bytes_dropped += in->n_bytes[i]; in mtr_stats_convert()
|
| H A D | rte_eth_softnic_tm.c | 3273 nr->stats.n_bytes += in read_port_stats() 3320 ns->stats.n_bytes += in read_subport_stats() 3386 np->stats.n_bytes += s.n_bytes - s.n_bytes_dropped; in read_pipe_stats() 3445 nt->stats.n_bytes += s.n_bytes - s.n_bytes_dropped; in read_tc_stats() 3467 nt->stats.n_bytes += s.n_bytes - s.n_bytes_dropped; in read_tc_stats() 3528 nq->stats.n_bytes += s.n_bytes - s.n_bytes_dropped; in read_queue_stats()
|
| /dpdk/drivers/net/sfc/ |
| H A D | sfc_repr.c | 180 unsigned int n_bytes = 0; in sfc_repr_rx_burst() local 184 n_bytes += rx_pkts[i]->pkt_len; in sfc_repr_rx_burst() 187 sfc_pkts_bytes_add(&rxq->stats.packets_bytes, n_rx, n_bytes); in sfc_repr_rx_burst() 197 unsigned int n_bytes = 0; in sfc_repr_tx_burst() local 217 n_bytes += tx_pkts[i]->pkt_len; in sfc_repr_tx_burst() 234 n_bytes -= m->pkt_len; in sfc_repr_tx_burst() 237 sfc_pkts_bytes_add(&txq->stats.packets_bytes, n_tx, n_bytes); in sfc_repr_tx_burst()
|
| /dpdk/drivers/net/memif/ |
| H A D | rte_eth_memif.c | 498 mq->n_bytes += rte_pktmbuf_data_len(mbuf); in eth_memif_rx_zc() 656 mq->n_bytes += cp_len; in eth_memif_tx() 717 mq->n_bytes += rte_pktmbuf_data_len(mbuf); in memif_tx_one_zc() 1337 mq->n_bytes = 0; in memif_tx_queue_setup() 1377 mq->n_bytes = 0; in memif_rx_queue_setup() 1456 stats->q_ibytes[i] = mq->n_bytes; in memif_stats_get() 1458 stats->ibytes += mq->n_bytes; in memif_stats_get() 1470 stats->q_obytes[i] = mq->n_bytes; in memif_stats_get() 1472 stats->obytes += mq->n_bytes; in memif_stats_get() 1488 mq->n_bytes = 0; in memif_stats_reset() [all …]
|
| H A D | rte_eth_memif.h | 69 uint64_t n_bytes; /**< number of rx/tx bytes */ member
|
| /dpdk/lib/table/ |
| H A D | rte_swx_table_em.c | 154 keycpy(void *dst, void *src, void *src_mask, uint32_t n_bytes) in keycpy() argument 159 for (i = 0; i < n_bytes / sizeof(uint64_t); i++) in keycpy() 167 keycmp(void *a, void *b, void *b_mask, uint32_t n_bytes) in keycmp() argument 171 switch (n_bytes) { in keycmp() 226 for (i = 0; i < n_bytes / sizeof(uint64_t); i++) in keycmp()
|
| H A D | rte_swx_table_learner.c | 164 table_keycmp(void *a, void *b, void *b_mask, uint32_t n_bytes) in table_keycmp() argument 168 switch (n_bytes) { in table_keycmp() 223 for (i = 0; i < n_bytes / sizeof(uint64_t); i++) in table_keycmp()
|
| H A D | rte_table_hash_lru.c | 81 keycmp(void *a, void *b, void *b_mask, uint32_t n_bytes) in keycmp() argument 86 for (i = 0; i < n_bytes / sizeof(uint64_t); i++) in keycmp() 94 keycpy(void *dst, void *src, void *src_mask, uint32_t n_bytes) in keycpy() argument 99 for (i = 0; i < n_bytes / sizeof(uint64_t); i++) in keycpy()
|
| H A D | rte_table_hash_ext.c | 104 keycmp(void *a, void *b, void *b_mask, uint32_t n_bytes) in keycmp() argument 109 for (i = 0; i < n_bytes / sizeof(uint64_t); i++) in keycmp() 117 keycpy(void *dst, void *src, void *src_mask, uint32_t n_bytes) in keycpy() argument 122 for (i = 0; i < n_bytes / sizeof(uint64_t); i++) in keycpy()
|
| /dpdk/examples/qos_sched/ |
| H A D | stats.c | 355 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()
|
| /dpdk/lib/sched/ |
| H A D | rte_sched.h | 264 uint64_t n_bytes; member
|
| /dpdk/lib/ethdev/ |
| H A D | rte_mtr.h | 95 uint64_t n_bytes[RTE_COLORS]; member
|
| /dpdk/examples/pipeline/ |
| H A D | cli.c | 2502 stats.n_bytes[RTE_COLOR_GREEN], in cmd_pipeline_meter_stats() 2503 stats.n_bytes[RTE_COLOR_YELLOW], in cmd_pipeline_meter_stats() 2504 stats.n_bytes[RTE_COLOR_RED]); in cmd_pipeline_meter_stats() 2560 i, stats.n_pkts, stats.n_bytes, stats.n_empty); in cmd_pipeline_stats() 2578 i, stats.n_pkts, stats.n_bytes); in cmd_pipeline_stats() 2583 stats.n_pkts, stats.n_bytes); in cmd_pipeline_stats()
|