Lines Matching refs:encap_node
1385 struct bnxt_tc_tunnel_node *encap_node) in bnxt_tc_put_encap_handle() argument
1387 __le32 encap_handle = encap_node->tunnel_handle; in bnxt_tc_put_encap_handle()
1392 &tc_info->encap_ht_params, encap_node); in bnxt_tc_put_encap_handle()
1408 struct bnxt_tc_tunnel_node *encap_node; in bnxt_tc_get_encap_handle() local
1415 encap_node = bnxt_tc_get_tunnel_node(bp, &tc_info->encap_table, in bnxt_tc_get_encap_handle()
1418 if (!encap_node) in bnxt_tc_get_encap_handle()
1421 flow_node->encap_node = encap_node; in bnxt_tc_get_encap_handle()
1423 if (encap_node->tunnel_handle != INVALID_TUNNEL_HANDLE) in bnxt_tc_get_encap_handle()
1426 rc = bnxt_tc_resolve_tunnel_hdrs(bp, encap_key, &encap_node->l2_info); in bnxt_tc_get_encap_handle()
1431 rc = hwrm_cfa_encap_record_alloc(bp, encap_key, &encap_node->l2_info, in bnxt_tc_get_encap_handle()
1432 &encap_node->tunnel_handle); in bnxt_tc_get_encap_handle()
1437 *encap_handle = encap_node->tunnel_handle; in bnxt_tc_get_encap_handle()
1442 &tc_info->encap_ht_params, encap_node); in bnxt_tc_get_encap_handle()
1453 bnxt_tc_put_encap_handle(bp, flow_node->encap_node); in bnxt_tc_put_tunnel_handle()