Searched refs:ipv4_l3fwd_lookup_struct (Results 1 – 5 of 5) sorted by relevance
| /f-stack/dpdk/doc/guides/sample_app_ug/ |
| H A D | l3_forward.rst | 228 … populate_ipv4_many_flow_into_table(ipv4_l3fwd_lookup_struct[socketid], hash_entry_number); 236 populate_ipv4_few_flow_into_table(ipv4_l3fwd_lookup_struct[socketid]); 265 … ipv4_l3fwd_lookup_struct[socketid] = rte_lpm_create(s, socketid, IPV4_L3FWD_LPM_MAX_RULES, 0); 267 if (ipv4_l3fwd_lookup_struct[socketid] == NULL) 279 ret = rte_lpm_add(ipv4_l3fwd_lookup_struct[socketid], ipv4_l3fwd_route_array[i].ip, 307 get_ipv4_dst_port(void *ipv4_hdr, uint16_t portid, lookup_struct_t *ipv4_l3fwd_lookup_struct) 322 ret = rte_hash_lookup(ipv4_l3fwd_lookup_struct, (const void *)&key); 376 …dst_port(struct rte_ipv4_hdr *ipv4_hdr, uint16_t portid, lookup_struct_t *ipv4_l3fwd_lookup_struct) 380 …return ((rte_lpm_lookup(ipv4_l3fwd_lookup_struct, rte_be_to_cpu_32(ipv4_hdr->dst_addr), &next_hop)…
|
| /f-stack/dpdk/examples/l3fwd-power/ |
| H A D | main.c | 323 static lookup_struct_t *ipv4_l3fwd_lookup_struct[NB_SOCKETS]; variable 353 static lookup_struct_t *ipv4_l3fwd_lookup_struct[NB_SOCKETS]; variable 550 lookup_struct_t * ipv4_l3fwd_lookup_struct) in get_ipv4_dst_port() argument 631 lookup_struct_t *ipv4_l3fwd_lookup_struct) in get_ipv4_dst_port() argument 635 return ((rte_lpm_lookup(ipv4_l3fwd_lookup_struct, in get_ipv4_dst_port() 1992 ipv4_l3fwd_lookup_struct[socketid] = in setup_hash() 1994 if (ipv4_l3fwd_lookup_struct[socketid] == NULL) in setup_hash() 2011 ret = rte_hash_add_key (ipv4_l3fwd_lookup_struct[socketid], in setup_hash() 2053 ipv4_l3fwd_lookup_struct[socketid] = in setup_lpm() 2055 if (ipv4_l3fwd_lookup_struct[socketid] == NULL) in setup_lpm() [all …]
|
| /f-stack/dpdk/examples/performance-thread/l3fwd-thread/ |
| H A D | main.c | 422 static lookup_struct_t *ipv4_l3fwd_lookup_struct[NB_SOCKETS]; variable 542 static lookup_struct_t *ipv4_l3fwd_lookup_struct[NB_SOCKETS]; variable 806 lookup_struct_t *ipv4_l3fwd_lookup_struct) in get_ipv4_dst_port() argument 855 lookup_struct_t *ipv4_l3fwd_lookup_struct) in get_ipv4_dst_port() argument 859 return ((rte_lpm_lookup(ipv4_l3fwd_lookup_struct, in get_ipv4_dst_port() 3252 ipv4_l3fwd_lookup_struct[socketid] = in setup_hash() 3254 if (ipv4_l3fwd_lookup_struct[socketid] == NULL) in setup_hash() 3287 ipv4_l3fwd_lookup_struct[socketid]); in setup_hash() 3312 ipv4_l3fwd_lookup_struct[socketid] = in setup_lpm() 3314 if (ipv4_l3fwd_lookup_struct[socketid] == NULL) in setup_lpm() [all …]
|
| /f-stack/dpdk/examples/l3fwd/ |
| H A D | l3fwd_lpm.c | 80 struct rte_lpm *ipv4_l3fwd_lookup_struct) in lpm_get_ipv4_dst_port() argument 85 if (rte_lpm_lookup(ipv4_l3fwd_lookup_struct, dst_ip, &next_hop) == 0) in lpm_get_ipv4_dst_port()
|
| H A D | l3fwd_em.c | 251 struct rte_hash *ipv4_l3fwd_lookup_struct = in em_get_ipv4_dst_port() local 264 ret = rte_hash_lookup(ipv4_l3fwd_lookup_struct, (const void *)&key); in em_get_ipv4_dst_port()
|