| /dpdk/drivers/net/ena/base/ena_defs/ |
| H A D | ena_eth_io_defs.h | 403 static inline uint32_t get_ena_eth_io_tx_desc_length(const struct ena_eth_io_tx_desc *p) in get_ena_eth_io_tx_desc_length() argument 405 return p->len_ctrl & ENA_ETH_IO_TX_DESC_LENGTH_MASK; in get_ena_eth_io_tx_desc_length() 408 static inline void set_ena_eth_io_tx_desc_length(struct ena_eth_io_tx_desc *p, uint32_t val) in set_ena_eth_io_tx_desc_length() argument 410 p->len_ctrl |= val & ENA_ETH_IO_TX_DESC_LENGTH_MASK; in set_ena_eth_io_tx_desc_length() 413 static inline uint32_t get_ena_eth_io_tx_desc_req_id_hi(const struct ena_eth_io_tx_desc *p) in get_ena_eth_io_tx_desc_req_id_hi() argument 415 return (p->len_ctrl & ENA_ETH_IO_TX_DESC_REQ_ID_HI_MASK) >> ENA_ETH_IO_TX_DESC_REQ_ID_HI_SHIFT; in get_ena_eth_io_tx_desc_req_id_hi() 418 static inline void set_ena_eth_io_tx_desc_req_id_hi(struct ena_eth_io_tx_desc *p, uint32_t val) in set_ena_eth_io_tx_desc_req_id_hi() argument 420 p->len_ctrl |= (val << ENA_ETH_IO_TX_DESC_REQ_ID_HI_SHIFT) & ENA_ETH_IO_TX_DESC_REQ_ID_HI_MASK; in set_ena_eth_io_tx_desc_req_id_hi() 423 static inline uint32_t get_ena_eth_io_tx_desc_meta_desc(const struct ena_eth_io_tx_desc *p) in get_ena_eth_io_tx_desc_meta_desc() argument 425 return (p->len_ctrl & ENA_ETH_IO_TX_DESC_META_DESC_MASK) >> ENA_ETH_IO_TX_DESC_META_DESC_SHIFT; in get_ena_eth_io_tx_desc_meta_desc() [all …]
|
| H A D | ena_admin_defs.h | 1405 …c inline uint16_t get_ena_admin_aq_common_desc_command_id(const struct ena_admin_aq_common_desc *p) in get_ena_admin_aq_common_desc_command_id() argument 1407 return p->command_id & ENA_ADMIN_AQ_COMMON_DESC_COMMAND_ID_MASK; in get_ena_admin_aq_common_desc_command_id() 1410 static inline void set_ena_admin_aq_common_desc_command_id(struct ena_admin_aq_common_desc *p, uint… in set_ena_admin_aq_common_desc_command_id() argument 1412 p->command_id |= val & ENA_ADMIN_AQ_COMMON_DESC_COMMAND_ID_MASK; in set_ena_admin_aq_common_desc_command_id() 1415 static inline uint8_t get_ena_admin_aq_common_desc_phase(const struct ena_admin_aq_common_desc *p) in get_ena_admin_aq_common_desc_phase() argument 1417 return p->flags & ENA_ADMIN_AQ_COMMON_DESC_PHASE_MASK; in get_ena_admin_aq_common_desc_phase() 1420 static inline void set_ena_admin_aq_common_desc_phase(struct ena_admin_aq_common_desc *p, uint8_t v… in set_ena_admin_aq_common_desc_phase() argument 1422 p->flags |= val & ENA_ADMIN_AQ_COMMON_DESC_PHASE_MASK; in set_ena_admin_aq_common_desc_phase() 1425 …tic inline uint8_t get_ena_admin_aq_common_desc_ctrl_data(const struct ena_admin_aq_common_desc *p) in get_ena_admin_aq_common_desc_ctrl_data() argument 1427 …return (p->flags & ENA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_MASK) >> ENA_ADMIN_AQ_COMMON_DESC_CTRL_DATA_… in get_ena_admin_aq_common_desc_ctrl_data() [all …]
|
| /dpdk/app/test-mldev/ |
| H A D | parser.c | 54 parser_read_arg_bool(const char *p) in parser_read_arg_bool() argument 56 p = rte_str_skip_leading_spaces(p); in parser_read_arg_bool() 59 if (((p[0] == 'y') && (p[1] == 'e') && (p[2] == 's')) || in parser_read_arg_bool() 60 ((p[0] == 'Y') && (p[1] == 'E') && (p[2] == 'S'))) { in parser_read_arg_bool() 61 p += 3; in parser_read_arg_bool() 65 if (((p[0] == 'o') && (p[1] == 'n')) || ((p[0] == 'O') && (p[1] == 'N'))) { in parser_read_arg_bool() 66 p += 2; in parser_read_arg_bool() 70 if (((p[0] == 'n') && (p[1] == 'o')) || ((p[0] == 'N') && (p[1] == 'O'))) { in parser_read_arg_bool() 71 p += 2; in parser_read_arg_bool() 75 if (((p[0] == 'o') && (p[1] == 'f') && (p[2] == 'f')) || in parser_read_arg_bool() [all …]
|
| /dpdk/drivers/common/dpaax/caamflib/desc/ |
| H A D | algo.h | 35 struct program *p = &prg; in cnstr_shdsc_zuce() local 37 PROGRAM_CNTXT_INIT(p, descbuf, 0); in cnstr_shdsc_zuce() 39 PROGRAM_SET_BSWAP(p); in cnstr_shdsc_zuce() 42 PROGRAM_SET_36BIT_ADDR(p); in cnstr_shdsc_zuce() 43 SHR_HDR(p, SHR_ALWAYS, 1, 0); in cnstr_shdsc_zuce() 45 KEY(p, KEY1, cipherdata->key_enc_flags, cipherdata->key, in cnstr_shdsc_zuce() 48 SEQLOAD(p, CONTEXT1, 0, 16, 0); in cnstr_shdsc_zuce() 50 MATHB(p, SEQINSZ, SUB, MATH2, VSEQINSZ, 4, 0); in cnstr_shdsc_zuce() 51 MATHB(p, SEQINSZ, SUB, MATH2, VSEQOUTSZ, 4, 0); in cnstr_shdsc_zuce() 52 ALG_OPERATION(p, OP_ALG_ALGSEL_ZUCE, OP_ALG_AAI_F8, in cnstr_shdsc_zuce() [all …]
|
| H A D | ipsec.h | 835 struct program *p = &prg; in cnstr_shdsc_ipsec_encap() local 842 PROGRAM_CNTXT_INIT(p, descbuf, 0); in cnstr_shdsc_ipsec_encap() 844 PROGRAM_SET_BSWAP(p); in cnstr_shdsc_ipsec_encap() 846 PROGRAM_SET_36BIT_ADDR(p); in cnstr_shdsc_ipsec_encap() 847 phdr = SHR_HDR(p, share, hdr, 0); in cnstr_shdsc_ipsec_encap() 848 __rta_copy_ipsec_encap_pdb(p, pdb, cipherdata->algtype); in cnstr_shdsc_ipsec_encap() 853 COPY_DATA(p, ip_hdr, pdb->ip_hdr_len); in cnstr_shdsc_ipsec_encap() 855 SET_LABEL(p, hdr); in cnstr_shdsc_ipsec_encap() 856 pkeyjmp = JUMP(p, keyjmp, LOCAL_JUMP, ALL_TRUE, BOTH|SHRD); in cnstr_shdsc_ipsec_encap() 858 __gen_auth_key(p, authdata); in cnstr_shdsc_ipsec_encap() [all …]
|
| H A D | sdap.h | 42 static inline void key_loading_opti(struct program *p, in key_loading_opti() argument 58 JUMP(p, lbl_skip_key_loading_jump, LOCAL_JUMP, ALL_TRUE, in key_loading_opti() 63 KEY(p, KEY1, cipherdata->key_enc_flags, cipherdata->key, in key_loading_opti() 68 KEY(p, KEY2, authdata->key_enc_flags, authdata->key, in key_loading_opti() 73 SET_LABEL(p, lbl_skip_key_loading_jump); in key_loading_opti() 75 PATCH_JUMP(p, ref_skip_key_loading_jump, lbl_skip_key_loading_jump); in key_loading_opti() 127 static inline int pdcp_sdap_insert_no_int_op(struct program *p, in pdcp_sdap_insert_no_int_op() argument 148 key_loading_opti(p, cipherdata, NULL); in pdcp_sdap_insert_no_int_op() 150 SEQLOAD(p, MATH0, offset, length, 0); in pdcp_sdap_insert_no_int_op() 151 JUMP(p, 1, LOCAL_JUMP, ALL_TRUE, CALM); in pdcp_sdap_insert_no_int_op() [all …]
|
| /dpdk/lib/port/ |
| H A D | rte_swx_port_fd.c | 45 struct reader *p; in reader_create() local 52 p = calloc(1, sizeof(struct reader)); in reader_create() 53 if (!p) in reader_create() 56 p->pkts = calloc(conf->burst_size, sizeof(struct rte_mbuf *)); in reader_create() 57 if (!p->pkts) { in reader_create() 58 free(p); in reader_create() 63 p->params.fd = conf->fd; in reader_create() 64 p->params.mtu = conf->mtu; in reader_create() 65 p->params.burst_size = conf->burst_size; in reader_create() 66 p->params.mempool = conf->mempool; in reader_create() [all …]
|
| H A D | rte_swx_port_ring.c | 44 struct reader *p = NULL; in reader_create() local 55 p = calloc(1, sizeof(struct reader)); in reader_create() 56 if (!p) in reader_create() 59 p->params.name = strdup(params->name); in reader_create() 60 if (!p->params.name) in reader_create() 63 p->pkts = calloc(params->burst_size, sizeof(struct rte_mbuf *)); in reader_create() 64 if (!p->pkts) in reader_create() 68 p->params.ring = ring; in reader_create() 69 p->params.burst_size = params->burst_size; in reader_create() 71 return p; in reader_create() [all …]
|
| H A D | rte_swx_port_ethdev.c | 51 struct reader *p; in reader_create() local 68 p = calloc(1, sizeof(struct reader)); in reader_create() 69 CHECK(p); in reader_create() 71 p->pkts = calloc(params->burst_size, sizeof(struct rte_mbuf *)); in reader_create() 72 if (!p->pkts) { in reader_create() 73 free(p); in reader_create() 78 p->params.port_id = port_id; in reader_create() 79 p->params.queue_id = params->queue_id; in reader_create() 80 p->params.burst_size = params->burst_size; in reader_create() 82 return p; in reader_create() [all …]
|
| H A D | rte_port_ring.c | 84 struct rte_port_ring_reader *p = port; in rte_port_ring_reader_rx() local 87 nb_rx = rte_ring_sc_dequeue_burst(p->ring, (void **) pkts, in rte_port_ring_reader_rx() 89 RTE_PORT_RING_READER_STATS_PKTS_IN_ADD(p, nb_rx); in rte_port_ring_reader_rx() 98 struct rte_port_ring_reader *p = port; in rte_port_ring_multi_reader_rx() local 101 nb_rx = rte_ring_mc_dequeue_burst(p->ring, (void **) pkts, in rte_port_ring_multi_reader_rx() 103 RTE_PORT_RING_READER_STATS_PKTS_IN_ADD(p, nb_rx); in rte_port_ring_multi_reader_rx() 125 struct rte_port_ring_reader *p = in rte_port_ring_reader_stats_read() local 129 memcpy(stats, &p->stats, sizeof(p->stats)); in rte_port_ring_reader_stats_read() 132 memset(&p->stats, 0, sizeof(p->stats)); in rte_port_ring_reader_stats_read() 214 send_burst(struct rte_port_ring_writer *p) in send_burst() argument [all …]
|
| H A D | rte_port_sym_crypto.c | 73 struct rte_port_sym_crypto_reader *p = in rte_port_sym_crypto_reader_rx() local 77 rx_ops_cnt = rte_cryptodev_dequeue_burst(p->cryptodev_id, p->queue_id, in rte_port_sym_crypto_reader_rx() 78 p->ops, n_pkts); in rte_port_sym_crypto_reader_rx() 81 struct rte_crypto_op *op = p->ops[i]; in rte_port_sym_crypto_reader_rx() 92 if (p->f_callback) in rte_port_sym_crypto_reader_rx() 93 (*p->f_callback)(pkts, n, p->arg_callback); in rte_port_sym_crypto_reader_rx() 95 RTE_PORT_SYM_CRYPTO_READER_STATS_PKTS_IN_ADD(p, n); in rte_port_sym_crypto_reader_rx() 96 RTE_PORT_SYM_CRYPTO_READER_STATS_PKTS_DROP_ADD(p, rx_ops_cnt - n); in rte_port_sym_crypto_reader_rx() 117 struct rte_port_sym_crypto_reader *p = in rte_port_sym_crypto_reader_stats_read() local 121 memcpy(stats, &p->stats, sizeof(p->stats)); in rte_port_sym_crypto_reader_stats_read() [all …]
|
| H A D | rte_port_ethdev.c | 70 struct rte_port_ethdev_reader *p = in rte_port_ethdev_reader_rx() local 74 rx_pkt_cnt = rte_eth_rx_burst(p->port_id, p->queue_id, pkts, n_pkts); in rte_port_ethdev_reader_rx() 75 RTE_PORT_ETHDEV_READER_STATS_PKTS_IN_ADD(p, rx_pkt_cnt); in rte_port_ethdev_reader_rx() 95 struct rte_port_ethdev_reader *p = in rte_port_ethdev_reader_stats_read() local 99 memcpy(stats, &p->stats, sizeof(p->stats)); in rte_port_ethdev_reader_stats_read() 102 memset(&p->stats, 0, sizeof(p->stats)); in rte_port_ethdev_reader_stats_read() 170 send_burst(struct rte_port_ethdev_writer *p) in send_burst() argument 174 nb_tx = rte_eth_tx_burst(p->port_id, p->queue_id, in send_burst() 175 p->tx_buf, p->tx_buf_count); in send_burst() 177 RTE_PORT_ETHDEV_WRITER_STATS_PKTS_DROP_ADD(p, p->tx_buf_count - nb_tx); in send_burst() [all …]
|
| H A D | rte_port_eventdev.c | 72 struct rte_port_eventdev_reader *p = port; in rte_port_eventdev_reader_rx() local 75 rx_evts_cnt = rte_event_dequeue_burst(p->eventdev_id, p->port_id, in rte_port_eventdev_reader_rx() 76 p->ev, n_pkts, 0); in rte_port_eventdev_reader_rx() 79 pkts[i] = p->ev[i].mbuf; in rte_port_eventdev_reader_rx() 81 RTE_PORT_EVENTDEV_READER_STATS_PKTS_IN_ADD(p, rx_evts_cnt); in rte_port_eventdev_reader_rx() 102 struct rte_port_eventdev_reader *p = in rte_port_eventdev_reader_stats_read() local 106 memcpy(stats, &p->stats, sizeof(p->stats)); in rte_port_eventdev_reader_stats_read() 109 memset(&p->stats, 0, sizeof(p->stats)); in rte_port_eventdev_reader_stats_read() 194 send_burst(struct rte_port_eventdev_writer *p) in send_burst() argument 198 nb_enq = rte_event_enqueue_burst(p->eventdev_id, p->port_id, in send_burst() [all …]
|
| H A D | rte_port_ras.c | 43 struct rte_port_ring_writer_ras *p, 47 process_ipv4(struct rte_port_ring_writer_ras *p, struct rte_mbuf *pkt); 49 process_ipv6(struct rte_port_ring_writer_ras *p, struct rte_mbuf *pkt); 137 send_burst(struct rte_port_ring_writer_ras *p) in send_burst() argument 141 nb_tx = rte_ring_sp_enqueue_burst(p->ring, (void **)p->tx_buf, in send_burst() 142 p->tx_buf_count, NULL); in send_burst() 144 RTE_PORT_RING_WRITER_RAS_STATS_PKTS_DROP_ADD(p, p->tx_buf_count - nb_tx); in send_burst() 145 for ( ; nb_tx < p->tx_buf_count; nb_tx++) in send_burst() 146 rte_pktmbuf_free(p->tx_buf[nb_tx]); in send_burst() 148 p->tx_buf_count = 0; in send_burst() [all …]
|
| H A D | rte_swx_port_source_sink.c | 53 struct source *p = port; in source_free() local 56 if (!p) in source_free() 59 for (i = 0; i < p->n_pkts; i++) in source_free() 60 rte_pktmbuf_free(p->pkts[i]); in source_free() 62 free(p->pkts); in source_free() 64 free(p); in source_free() 72 struct source *p = NULL; in source_create() local 89 p = calloc(1, sizeof(struct source)); in source_create() 90 if (!p) in source_create() 93 p->pkts = calloc(n_pkts_max, sizeof(struct rte_mbuf *)); in source_create() [all …]
|
| H A D | rte_port_sched.c | 66 struct rte_port_sched_reader *p = port; in rte_port_sched_reader_rx() local 69 nb_rx = rte_sched_port_dequeue(p->sched, pkts, n_pkts); in rte_port_sched_reader_rx() 70 RTE_PORT_SCHED_READER_PKTS_IN_ADD(p, nb_rx); in rte_port_sched_reader_rx() 92 struct rte_port_sched_reader *p = in rte_port_sched_reader_stats_read() local 96 memcpy(stats, &p->stats, sizeof(p->stats)); in rte_port_sched_reader_stats_read() 99 memset(&p->stats, 0, sizeof(p->stats)); in rte_port_sched_reader_stats_read() 168 struct rte_port_sched_writer *p = (struct rte_port_sched_writer *) port; in rte_port_sched_writer_tx() local 170 p->tx_buf[p->tx_buf_count++] = pkt; in rte_port_sched_writer_tx() 171 RTE_PORT_SCHED_WRITER_STATS_PKTS_IN_ADD(p, 1); in rte_port_sched_writer_tx() 172 if (p->tx_buf_count >= p->tx_burst_sz) { in rte_port_sched_writer_tx() [all …]
|
| H A D | rte_port_fd.c | 83 struct rte_port_fd_reader *p = port; in rte_port_fd_reader_rx() local 86 if (rte_pktmbuf_alloc_bulk(p->mempool, pkts, n_pkts) != 0) in rte_port_fd_reader_rx() 94 n_bytes = read(p->fd, pkt_data, (size_t) p->mtu); in rte_port_fd_reader_rx() 105 RTE_PORT_FD_READER_STATS_PKTS_IN_ADD(p, i); in rte_port_fd_reader_rx() 126 struct rte_port_fd_reader *p = in rte_port_fd_reader_stats_read() local 130 memcpy(stats, &p->stats, sizeof(p->stats)); in rte_port_fd_reader_stats_read() 133 memset(&p->stats, 0, sizeof(p->stats)); in rte_port_fd_reader_stats_read() 197 send_burst(struct rte_port_fd_writer *p) in send_burst() argument 201 for (i = 0; i < p->tx_buf_count; i++) { in send_burst() 202 struct rte_mbuf *pkt = p->tx_buf[i]; in send_burst() [all …]
|
| H A D | rte_port_frag.c | 132 struct rte_port_ring_reader_frag *p = in rte_port_ring_reader_frag_rx() local 139 if (p->n_frags >= n_pkts) { in rte_port_ring_reader_frag_rx() 140 memcpy(pkts, &p->frags[p->pos_frags], n_pkts * sizeof(void *)); in rte_port_ring_reader_frag_rx() 141 p->pos_frags += n_pkts; in rte_port_ring_reader_frag_rx() 142 p->n_frags -= n_pkts; in rte_port_ring_reader_frag_rx() 147 memcpy(pkts, &p->frags[p->pos_frags], p->n_frags * sizeof(void *)); in rte_port_ring_reader_frag_rx() 148 n_pkts_out = p->n_frags; in rte_port_ring_reader_frag_rx() 149 p->n_frags = 0; in rte_port_ring_reader_frag_rx() 158 if (p->n_pkts == 0) { in rte_port_ring_reader_frag_rx() 159 p->n_pkts = rte_ring_sc_dequeue_burst(p->ring, in rte_port_ring_reader_frag_rx() [all …]
|
| /dpdk/drivers/bus/fslmc/qbman/ |
| H A D | qbman_sys_decl.h | 23 #define dcbz(p) { asm volatile("dc zva, %0" : : "r" (p) : "memory"); } argument 25 #define dcbf(p) { asm volatile("dc cvac, %0" : : "r"(p) : "memory"); } argument 26 #define dccivac(p) { asm volatile("dc civac, %0" : : "r"(p) : "memory"); } argument 27 static inline void prefetch_for_load(void *p) in prefetch_for_load() argument 29 asm volatile("prfm pldl1keep, [%0, #0]" : : "r" (p)); in prefetch_for_load() 32 static inline void prefetch_for_store(void *p) in prefetch_for_store() argument 34 asm volatile("prfm pstl1keep, [%0, #0]" : : "r" (p)); in prefetch_for_store() 37 #define dcbz(p) memset(p, 0, 64) argument 39 #define dcbf(p) RTE_SET_USED(p) argument 40 #define dccivac(p) RTE_SET_USED(p) argument [all …]
|
| /dpdk/app/test-eventdev/ |
| H A D | parser.c | 41 parser_read_arg_bool(const char *p) in parser_read_arg_bool() argument 43 p = rte_str_skip_leading_spaces(p); in parser_read_arg_bool() 46 if (((p[0] == 'y') && (p[1] == 'e') && (p[2] == 's')) || in parser_read_arg_bool() 47 ((p[0] == 'Y') && (p[1] == 'E') && (p[2] == 'S'))) { in parser_read_arg_bool() 48 p += 3; in parser_read_arg_bool() 52 if (((p[0] == 'o') && (p[1] == 'n')) || in parser_read_arg_bool() 53 ((p[0] == 'O') && (p[1] == 'N'))) { in parser_read_arg_bool() 54 p += 2; in parser_read_arg_bool() 58 if (((p[0] == 'n') && (p[1] == 'o')) || in parser_read_arg_bool() 59 ((p[0] == 'N') && (p[1] == 'O'))) { in parser_read_arg_bool() [all …]
|
| /dpdk/lib/pipeline/ |
| H A D | rte_pipeline.c | 25 #define RTE_PIPELINE_STATS_AH_DROP_WRITE(p, mask) \ argument 26 __extension__ ({ (p)->n_pkts_ah_drop = rte_popcount64(mask); }) 28 #define RTE_PIPELINE_STATS_AH_DROP_READ(p, counter) \ argument 29 __extension__ ({ (counter) += (p)->n_pkts_ah_drop; (p)->n_pkts_ah_drop = 0; }) 31 #define RTE_PIPELINE_STATS_TABLE_DROP0(p) \ argument 32 __extension__ ({ (p)->pkts_drop_mask = (p)->action_mask0[RTE_PIPELINE_ACTION_DROP]; }) 34 #define RTE_PIPELINE_STATS_TABLE_DROP1(p, counter) \ argument 36 uint64_t mask = (p)->action_mask0[RTE_PIPELINE_ACTION_DROP]; \ 37 mask ^= (p)->pkts_drop_mask; \ 43 #define RTE_PIPELINE_STATS_AH_DROP_WRITE(p, mask) argument [all …]
|
| H A D | rte_swx_pipeline.c | 98 struct_type_find(struct rte_swx_pipeline *p, const char *name) in struct_type_find() argument 102 TAILQ_FOREACH(elem, &p->struct_types, node) in struct_type_find() 125 rte_swx_pipeline_struct_type_register(struct rte_swx_pipeline *p, in rte_swx_pipeline_struct_type_register() argument 134 CHECK(p, EINVAL); in rte_swx_pipeline_struct_type_register() 154 CHECK(!struct_type_find(p, name), EEXIST); in rte_swx_pipeline_struct_type_register() 185 TAILQ_INSERT_TAIL(&p->struct_types, st, node); in rte_swx_pipeline_struct_type_register() 191 struct_build(struct rte_swx_pipeline *p) in struct_build() argument 196 struct thread *t = &p->threads[i]; in struct_build() 198 t->structs = calloc(p->n_structs, sizeof(uint8_t *)); in struct_build() 206 struct_build_free(struct rte_swx_pipeline *p) in struct_build_free() argument [all …]
|
| /dpdk/examples/ip_pipeline/ |
| H A D | parser.c | 43 parser_read_arg_bool(const char *p) in parser_read_arg_bool() argument 45 p = rte_str_skip_leading_spaces(p); in parser_read_arg_bool() 48 if (((p[0] == 'y') && (p[1] == 'e') && (p[2] == 's')) || in parser_read_arg_bool() 49 ((p[0] == 'Y') && (p[1] == 'E') && (p[2] == 'S'))) { in parser_read_arg_bool() 50 p in parser_read_arg_bool() 81 parser_read_uint64(uint64_t * value,const char * p) parser_read_uint64() argument 121 parser_read_uint64_hex(uint64_t * value,const char * p) parser_read_uint64_hex() argument 141 parser_read_uint32(uint32_t * value,const char * p) parser_read_uint32() argument 157 parser_read_uint32_hex(uint32_t * value,const char * p) parser_read_uint32_hex() argument 173 parser_read_uint16(uint16_t * value,const char * p) parser_read_uint16() argument 189 parser_read_uint16_hex(uint16_t * value,const char * p) parser_read_uint16_hex() argument 205 parser_read_uint8(uint8_t * value,const char * p) parser_read_uint8() argument 221 parser_read_uint8_hex(uint8_t * value,const char * p) parser_read_uint8_hex() argument 416 parse_cpu_core(const char * entry,struct cpu_core_params * p) parse_cpu_core() argument [all...] |
| /dpdk/lib/eal/x86/include/ |
| H A D | rte_prefetch.h | 20 static inline void rte_prefetch0(const volatile void *p) in rte_prefetch0() argument 23 _mm_prefetch((const char *)(uintptr_t)p, _MM_HINT_T0); in rte_prefetch0() 25 asm volatile ("prefetcht0 %[p]" : : [p] "m" (*(const volatile char *)p)); in rte_prefetch0() 29 static inline void rte_prefetch1(const volatile void *p) in rte_prefetch1() argument 32 _mm_prefetch((const char *)(uintptr_t)p, _MM_HINT_T1); in rte_prefetch1() 34 asm volatile ("prefetcht1 %[p]" : : [p] "m" (*(const volatile char *)p)); in rte_prefetch1() 38 rte_prefetch2(const volatile void * p) rte_prefetch2() argument 47 rte_prefetch_non_temporal(const volatile void * p) rte_prefetch_non_temporal() argument 58 rte_cldemote(const volatile void * p) rte_cldemote() argument [all...] |
| /dpdk/lib/meter/ |
| H A D | rte_meter.c | 40 rte_meter_srtcm_profile_config(struct rte_meter_srtcm_profile *p, in rte_meter_srtcm_profile_config() argument 46 if ((p == NULL) || in rte_meter_srtcm_profile_config() 53 p->cbs = params->cbs; in rte_meter_srtcm_profile_config() 54 p->ebs = params->ebs; in rte_meter_srtcm_profile_config() 55 rte_meter_get_tb_params(hz, params->cir, &p->cir_period, in rte_meter_srtcm_profile_config() 56 &p->cir_bytes_per_period); in rte_meter_srtcm_profile_config() 63 struct rte_meter_srtcm_profile *p) in rte_meter_srtcm_config() argument 66 if ((m == NULL) || (p == NULL)) in rte_meter_srtcm_config() 71 m->tc = p->cbs; in rte_meter_srtcm_config() 72 m->te = p->ebs; in rte_meter_srtcm_config() [all …]
|