Home
last modified time | relevance | path

Searched refs:flow_table (Results 1 – 13 of 13) sorted by relevance

/drivers/net/ethernet/mediatek/
Dmtk_ppe_offload.c189 if (rhashtable_lookup(&eth->flow_table, &f->cookie, mtk_flow_ht_params)) in mtk_flow_offload_replace()
346 err = rhashtable_insert_fast(&eth->flow_table, &entry->node, in mtk_flow_offload_replace()
364 entry = rhashtable_lookup(&eth->flow_table, &f->cookie, in mtk_flow_offload_destroy()
370 rhashtable_remove_fast(&eth->flow_table, &entry->node, in mtk_flow_offload_destroy()
384 entry = rhashtable_lookup(&eth->flow_table, &f->cookie, in mtk_flow_offload_stats()
498 return rhashtable_init(&eth->flow_table, &mtk_flow_ht_params); in mtk_eth_offload_init()
Dmtk_eth_soc.h976 struct rhashtable flow_table; member
/drivers/net/ethernet/marvell/octeontx2/nic/
Dotx2_tc.c684 flow_node = rhashtable_lookup_fast(&tc_info->flow_table, in otx2_tc_del_flow()
716 WARN_ON(rhashtable_remove_fast(&nic->tc_info.flow_table, in otx2_tc_del_flow()
762 old_node = rhashtable_lookup_fast(&tc_info->flow_table, in otx2_tc_add_flow()
798 rc = rhashtable_insert_fast(&nic->tc_info.flow_table, &new_node->node, in otx2_tc_add_flow()
845 flow_node = rhashtable_lookup_fast(&tc_info->flow_table, in otx2_tc_get_flow_stats()
1108 err = rhashtable_init(&tc->flow_table, &tc->flow_ht_params); in otx2_init_tc()
1121 rhashtable_destroy(&tc->flow_table); in otx2_shutdown_tc()
Dotx2_common.h303 struct rhashtable flow_table; member
/drivers/net/ethernet/netronome/nfp/flower/
Dmetadata.c109 return rhashtable_lookup_fast(&priv->flow_table, &flower_cmp_arg, in nfp_flower_search_fl_table()
521 err = rhashtable_init(&priv->flow_table, &nfp_flower_table_params); in nfp_flower_metadata_init()
596 rhashtable_destroy(&priv->flow_table); in nfp_flower_metadata_init()
701 rhashtable_free_and_destroy(&priv->flow_table, in nfp_flower_metadata_cleanup()
Doffload.c1061 err = rhashtable_insert_fast(&priv->flow_table, &merge_flow->fl_node, in nfp_flower_merge_offloaded_flows()
1094 WARN_ON_ONCE(rhashtable_remove_fast(&priv->flow_table, in nfp_flower_merge_offloaded_flows()
1356 err = rhashtable_insert_fast(&priv->flow_table, &flow_pay->fl_node, in nfp_flower_add_offload()
1382 WARN_ON_ONCE(rhashtable_remove_fast(&priv->flow_table, in nfp_flower_add_offload()
1465 WARN_ON_ONCE(rhashtable_remove_fast(&priv->flow_table, in nfp_flower_remove_merge_flow()
1553 WARN_ON_ONCE(rhashtable_remove_fast(&priv->flow_table, in nfp_flower_del_offload()
Dconntrack.c815 err = rhashtable_insert_fast(&priv->flow_table, &flow_pay->fl_node, in nfp_fl_ct_add_offload()
834 WARN_ON_ONCE(rhashtable_remove_fast(&priv->flow_table, in nfp_fl_ct_add_offload()
891 WARN_ON_ONCE(rhashtable_remove_fast(&priv->flow_table, in nfp_fl_ct_del_offload()
1439 zt->nft = ct_act->ct.flow_table; in nfp_fl_ct_handle_pre_ct()
Dmain.h212 struct rhashtable flow_table; member
/drivers/net/ethernet/broadcom/bnxt/
Dbnxt_tc.c1485 rc = rhashtable_remove_fast(&tc_info->flow_table, &flow_node->node, in __bnxt_tc_del_flow()
1556 old_node = rhashtable_lookup_fast(&tc_info->flow_table, in bnxt_tc_add_flow()
1584 rc = rhashtable_insert_fast(&tc_info->flow_table, &new_node->node, in bnxt_tc_add_flow()
1614 flow_node = rhashtable_lookup_fast(&tc_info->flow_table, in bnxt_tc_del_flow()
1632 flow_node = rhashtable_lookup_fast(&tc_info->flow_table, in bnxt_tc_get_flow_stats()
1824 num_flows = atomic_read(&tc_info->flow_table.nelems); in bnxt_tc_flow_stats_work()
1828 rhashtable_walk_enter(&tc_info->flow_table, &tc_info->iter); in bnxt_tc_flow_stats_work()
2027 rc = rhashtable_init(&tc_info->flow_table, &tc_info->flow_ht_params); in bnxt_init_tc()
2075 rhashtable_destroy(&tc_info->flow_table); in bnxt_init_tc()
2091 rhashtable_destroy(&tc_info->flow_table); in bnxt_shutdown_tc()
Dbnxt.h1387 struct rhashtable flow_table; member
/drivers/infiniband/hw/mlx5/
Dfs.c690 mlx5_destroy_flow_table(prio->flow_table); in put_flow_table()
691 prio->flow_table = NULL; in put_flow_table()
756 prio->flow_table = ft; in _get_prio()
842 ft = prio->flow_table; in get_flow_table()
909 struct mlx5_flow_table *ft = ft_prio->flow_table; in _create_flow_rule()
1026 ft_prio->flow_table = ft; in _create_flow_rule()
1377 if (prio->flow_table) in _get_flow_table()
1396 struct mlx5_flow_table *ft = ft_prio->flow_table; in _create_raw_flow_rule()
1425 ft_prio->flow_table = ft; in _create_raw_flow_rule()
Dmlx5_ib.h236 struct mlx5_flow_table *flow_table; member
/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_ct.c1370 attr->ct_attr.nf_ft = act->ct.flow_table; in mlx5_tc_ct_parse_action()