| /dpdk/app/test/ |
| H A D | test_timer_perf.c | 41 struct rte_timer *tms; in test_timer_perf() local 45 tms = rte_malloc(NULL, sizeof(*tms) * MAX_ITERATIONS, 0); in test_timer_perf() 48 rte_timer_init(&tms[i]); in test_timer_perf() 59 rte_timer_reset(&tms[i], ticks, SINGLE, lcore_id, in test_timer_perf() 85 rte_timer_reset(&tms[i], rte_rand() % ticks, SINGLE, lcore_id, in test_timer_perf() 121 rte_timer_reset(&tms[0], ticks * 100, SINGLE, lcore_id, in test_timer_perf() 130 rte_free(tms); in test_timer_perf()
|
| /dpdk/lib/ip_frag/ |
| H A D | ip_frag_internal.c | 19 const struct ip_frag_key *key, uint64_t tms) in ip_frag_tbl_add() argument 22 ip_frag_reset(fp, tms); in ip_frag_tbl_add() 30 struct ip_frag_pkt *fp, uint64_t tms) in ip_frag_tbl_reuse() argument 33 ip_frag_reset(fp, tms); in ip_frag_tbl_reuse() 223 const struct ip_frag_key *key, uint64_t tms) in ip_frag_find() argument 253 if (max_cycles + lru->start < tms) { in ip_frag_find() 264 ip_frag_tbl_add(tbl, free, key, tms); in ip_frag_find() 273 } else if (max_cycles + pkt->start < tms) { in ip_frag_find() 274 ip_frag_tbl_reuse(tbl, dr, pkt, tms); in ip_frag_find() 335 else if (max_cycles + p1[i].start < tms) in ip_frag_lookup() [all …]
|
| H A D | rte_ip_frag.h | 128 struct rte_mbuf *mb, uint64_t tms, struct rte_ipv6_hdr *ip_hdr, 202 struct rte_mbuf *mb, uint64_t tms, struct rte_ipv4_hdr *ip_hdr); 260 struct rte_ip_frag_death_row *dr, uint64_t tms);
|
| H A D | ip_frag_common.h | 42 const struct ip_frag_key *key, uint64_t tms); 45 const struct ip_frag_key *key, uint64_t tms, 138 ip_frag_reset(struct ip_frag_pkt *fp, uint64_t tms) in ip_frag_reset() argument 146 fp->start = tms; in ip_frag_reset()
|
| H A D | rte_ipv4_reassembly.c | 99 struct rte_ip_frag_death_row *dr, struct rte_mbuf *mb, uint64_t tms, in rte_ipv4_frag_reassemble_packet() argument 129 mb, tms, key.src_dst[0], key.id, ip_ofs, ip_len, trim, ip_flag, in rte_ipv4_frag_reassemble_packet() 143 if ((fp = ip_frag_find(tbl, dr, &key, tms)) == NULL) { in rte_ipv4_frag_reassemble_packet()
|
| H A D | rte_ipv6_reassembly.c | 138 struct rte_ip_frag_death_row *dr, struct rte_mbuf *mb, uint64_t tms, in rte_ipv6_frag_reassemble_packet() argument 171 mb, tms, IPv6_KEY_BYTES(key.src_dst), key.id, ip_ofs, ip_len, in rte_ipv6_frag_reassemble_packet() 186 fp = ip_frag_find(tbl, dr, &key, tms); in rte_ipv6_frag_reassemble_packet()
|
| H A D | rte_ip_frag_common.c | 127 struct rte_ip_frag_death_row *dr, uint64_t tms) in rte_ip_frag_table_del_expired_entries() argument 135 if (max_cycles + fp->start < tms) { in rte_ip_frag_table_del_expired_entries()
|
| /dpdk/examples/ip_reassembly/ |
| H A D | main.c | 312 struct lcore_queue_conf *qconf, uint64_t tms) in reassemble() argument 347 mo = rte_ipv4_frag_reassemble_packet(tbl, dr, m, tms, ip_hdr); in reassemble() 391 mo = rte_ipv6_frag_reassemble_packet(tbl, dr, m, tms, ip_hdr, frag_hdr); in reassemble()
|