Lines Matching refs:new_node
1289 struct bnxt_tc_flow_node *new_node, *old_node; in bnxt_tc_add_flow() local
1297 new_node = kzalloc(sizeof(*new_node), GFP_KERNEL); in bnxt_tc_add_flow()
1298 if (!new_node) { in bnxt_tc_add_flow()
1302 new_node->cookie = tc_flow_cmd->cookie; in bnxt_tc_add_flow()
1303 flow = &new_node->flow; in bnxt_tc_add_flow()
1327 rc = bnxt_tc_get_ref_flow_handle(bp, flow, new_node, &ref_flow_handle); in bnxt_tc_add_flow()
1332 rc = bnxt_tc_get_tunnel_handle(bp, flow, new_node, &tunnel_handle); in bnxt_tc_add_flow()
1338 tunnel_handle, &new_node->flow_handle); in bnxt_tc_add_flow()
1345 rc = rhashtable_insert_fast(&tc_info->flow_table, &new_node->node, in bnxt_tc_add_flow()
1354 bnxt_hwrm_cfa_flow_free(bp, new_node->flow_handle); in bnxt_tc_add_flow()
1356 bnxt_tc_put_tunnel_handle(bp, flow, new_node); in bnxt_tc_add_flow()
1358 bnxt_tc_put_l2_node(bp, new_node); in bnxt_tc_add_flow()
1362 kfree_rcu(new_node, rcu); in bnxt_tc_add_flow()