Home
last modified time | relevance | path

Searched refs:tun_tbl (Results 1 – 5 of 5) sorted by relevance

/dpdk/drivers/net/bnxt/tf_ulp/
H A Dulp_tun.c119 struct bnxt_tun_cache_entry *tun_tbl; in ulp_get_tun_entry() local
123 if (!tun_tbl) { in ulp_get_tun_entry()
135 if (!tun_tbl[i].t_dst_ip_valid) { in ulp_get_tun_entry()
141 if ((use_ipv4 && !memcmp(&tun_tbl[i].t_dst_ip, in ulp_get_tun_entry()
145 !memcmp(tun_tbl[i].t_dst_ip6, in ulp_get_tun_entry()
149 *tun_entry = &tun_tbl[i]; in ulp_get_tun_entry()
160 *tun_entry = &tun_tbl[first_free_entry]; in ulp_get_tun_entry()
161 tun_tbl[first_free_entry].t_dst_ip_valid = true; in ulp_get_tun_entry()
165 memcpy(&tun_tbl[first_free_entry].t_dst_ip, in ulp_get_tun_entry()
168 memcpy(tun_tbl[first_free_entry].t_dst_ip6, in ulp_get_tun_entry()
[all …]
H A Dulp_tun.h55 ulp_tunnel_offload_entry_clear(struct bnxt_tun_cache_entry *tun_tbl,
H A Dulp_flow_db.c1303 struct bnxt_tun_cache_entry *tun_tbl; in ulp_flow_db_pc_db_entry_free() local
1308 tun_tbl = bnxt_ulp_cntxt_ptr2_tun_tbl_get(ulp_ctxt); in ulp_flow_db_pc_db_entry_free()
1309 if (tun_tbl) in ulp_flow_db_pc_db_entry_free()
1310 ulp_tunnel_offload_entry_clear(tun_tbl, pc_entry->tun_idx); in ulp_flow_db_pc_db_entry_free()
H A Dbnxt_ulp.h94 struct bnxt_tun_cache_entry tun_tbl[BNXT_ULP_MAX_TUN_CACHE_ENTRIES]; member
H A Dbnxt_ulp.c1841 return ulp_ctx->cfg_data->tun_tbl; in bnxt_ulp_cntxt_ptr2_tun_tbl_get()