Searched refs:tun_tbl (Results 1 – 5 of 5) sorted by relevance
119 struct bnxt_tun_cache_entry *tun_tbl; in ulp_get_tun_entry() local123 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 …]
55 ulp_tunnel_offload_entry_clear(struct bnxt_tun_cache_entry *tun_tbl,
1303 struct bnxt_tun_cache_entry *tun_tbl; in ulp_flow_db_pc_db_entry_free() local1308 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()
94 struct bnxt_tun_cache_entry tun_tbl[BNXT_ULP_MAX_TUN_CACHE_ENTRIES]; member
1841 return ulp_ctx->cfg_data->tun_tbl; in bnxt_ulp_cntxt_ptr2_tun_tbl_get()