Lines Matching defs:flow_node

508 				   struct bnxt_tc_flow_node *flow_node)
516 req->ext_flow_handle = flow_node->ext_flow_handle;
518 req->flow_handle = flow_node->flow_handle;
592 struct bnxt_tc_flow_node *flow_node)
783 flow_node->flow_handle = resp->flow_handle;
785 flow_node->ext_flow_handle = resp->ext_flow_handle;
786 flow_node->flow_id = resp->flow_id;
950 struct bnxt_tc_flow_node *flow_node)
952 struct bnxt_tc_l2_node *l2_node = flow_node->l2_node;
956 /* remove flow_node from the L2 shared flow list */
957 list_del(&flow_node->l2_list_node);
1006 struct bnxt_tc_flow_node *flow_node,
1031 /* Insert the l2_node into the flow_node so that subsequent flows
1035 flow_node->l2_node = l2_node;
1036 list_add(&flow_node->l2_list_node, &l2_node->common_l2_flows);
1156 struct bnxt_tc_flow_node *flow_node,
1182 /* Insert the l2_node into the flow_node so that subsequent flows
1186 flow_node->decap_l2_node = decap_l2_node;
1187 list_add(&flow_node->decap_l2_list_node,
1194 struct bnxt_tc_flow_node *flow_node)
1196 struct bnxt_tc_l2_node *decap_l2_node = flow_node->decap_l2_node;
1200 /* remove flow_node from the decap L2 sharing flow list */
1201 list_del(&flow_node->decap_l2_list_node);
1213 struct bnxt_tc_flow_node *flow_node)
1215 __le32 decap_handle = flow_node->decap_node->tunnel_handle;
1219 if (flow_node->decap_l2_node)
1220 bnxt_tc_put_decap_l2_node(bp, flow_node);
1224 flow_node->decap_node);
1305 struct bnxt_tc_flow_node *flow_node,
1329 flow_node->decap_node = decap_node;
1359 rc = bnxt_tc_get_ref_decap_handle(bp, flow, decap_l2_info, flow_node,
1376 bnxt_tc_put_decap_l2_node(bp, flow_node);
1380 flow_node->decap_node);
1403 struct bnxt_tc_flow_node *flow_node,
1421 flow_node->encap_node = encap_node;
1448 struct bnxt_tc_flow_node *flow_node)
1451 bnxt_tc_put_decap_handle(bp, flow_node);
1453 bnxt_tc_put_encap_handle(bp, flow_node->encap_node);
1458 struct bnxt_tc_flow_node *flow_node,
1462 return bnxt_tc_get_decap_handle(bp, flow, flow_node,
1465 return bnxt_tc_get_encap_handle(bp, flow, flow_node,
1471 struct bnxt_tc_flow_node *flow_node)
1477 bnxt_hwrm_cfa_flow_free(bp, flow_node);
1482 bnxt_tc_put_tunnel_handle(bp, &flow_node->flow, flow_node);
1485 bnxt_tc_put_l2_node(bp, flow_node);
1489 rc = rhashtable_remove_fast(&tc_info->flow_table, &flow_node->node,
1495 kfree_rcu(flow_node, rcu);
1616 struct bnxt_tc_flow_node *flow_node;
1618 flow_node = rhashtable_lookup_fast(&tc_info->flow_table,
1621 if (!flow_node)
1624 return __bnxt_tc_del_flow(bp, flow_node);
1632 struct bnxt_tc_flow_node *flow_node;
1636 flow_node = rhashtable_lookup_fast(&tc_info->flow_table,
1639 if (!flow_node)
1642 flow = &flow_node->flow;
1659 struct bnxt_tc_flow_node *flow_node,
1665 *flow_id = flow_node->flow_id;
1672 if (flow_node->flow.l2_key.dir == BNXT_DIR_RX)
1680 *flow_handle = flow_node->flow_handle;
1703 struct bnxt_tc_flow_node *flow_node = stats_batch[i].flow_node;
1705 bnxt_fill_cfa_stats_req(bp, flow_node,
1772 struct bnxt_tc_flow_node *flow_node = stats_batch[i].flow_node;
1773 struct bnxt_tc_flow *flow = &flow_node->flow;
1793 void *flow_node;
1800 flow_node = rhashtable_walk_next(iter);
1801 if (IS_ERR(flow_node)) {
1803 if (PTR_ERR(flow_node) == -EAGAIN) {
1806 rc = PTR_ERR(flow_node);
1812 if (!flow_node)
1815 stats_batch[i].flow_node = flow_node;