Searched refs:flow_block (Results 1 – 8 of 8) sorted by relevance
/drivers/net/ethernet/mellanox/mlxsw/ |
D | spectrum_flow.c | 135 static int mlxsw_sp_flow_block_mall_cb(struct mlxsw_sp_flow_block *flow_block, in mlxsw_sp_flow_block_mall_cb() argument 138 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_flow_block_mlxsw_sp(flow_block); in mlxsw_sp_flow_block_mall_cb() 142 return mlxsw_sp_mall_replace(mlxsw_sp, flow_block, f); in mlxsw_sp_flow_block_mall_cb() 144 mlxsw_sp_mall_destroy(flow_block, f); in mlxsw_sp_flow_block_mall_cb() 151 static int mlxsw_sp_flow_block_flower_cb(struct mlxsw_sp_flow_block *flow_block, in mlxsw_sp_flow_block_flower_cb() argument 154 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_flow_block_mlxsw_sp(flow_block); in mlxsw_sp_flow_block_flower_cb() 158 return mlxsw_sp_flower_replace(mlxsw_sp, flow_block, f); in mlxsw_sp_flow_block_flower_cb() 160 mlxsw_sp_flower_destroy(mlxsw_sp, flow_block, f); in mlxsw_sp_flow_block_flower_cb() 163 return mlxsw_sp_flower_stats(mlxsw_sp, flow_block, f); in mlxsw_sp_flow_block_flower_cb() 165 return mlxsw_sp_flower_tmplt_create(mlxsw_sp, flow_block, f); in mlxsw_sp_flow_block_flower_cb() [all …]
|
D | spectrum2_mr_tcam.c | 12 struct mlxsw_sp_flow_block *flow_block; member 64 mr_tcam->flow_block, in mlxsw_sp2_mr_tcam_ipv4_init() 114 mr_tcam->flow_block, in mlxsw_sp2_mr_tcam_ipv6_init() 292 mr_tcam->flow_block = mlxsw_sp_flow_block_create(mlxsw_sp, NULL); in mlxsw_sp2_mr_tcam_init() 293 if (!mr_tcam->flow_block) in mlxsw_sp2_mr_tcam_init() 309 mlxsw_sp_flow_block_destroy(mr_tcam->flow_block); in mlxsw_sp2_mr_tcam_init() 319 mlxsw_sp_flow_block_destroy(mr_tcam->flow_block); in mlxsw_sp2_mr_tcam_fini()
|
/drivers/net/dsa/sja1105/ |
D | sja1105_flower.c | 12 list_for_each_entry(rule, &priv->flow_block.rules, list) in sja1105_rule_find() 24 if (!priv->flow_block.l2_policer_used[i]) in sja1105_find_free_l2_policer() 93 priv->flow_block.l2_policer_used[rule->bcast_pol.sharindx] = true; in sja1105_setup_bcast_policer() 94 list_add(&rule->list, &priv->flow_block.rules); in sja1105_setup_bcast_policer() 165 priv->flow_block.l2_policer_used[rule->tc_pol.sharindx] = true; in sja1105_setup_tc_policer() 166 list_add(&rule->list, &priv->flow_block.rules); in sja1105_setup_tc_policer() 454 priv->flow_block.l2_policer_used[old_sharindx] = false; in sja1105_cls_flower_del() 488 INIT_LIST_HEAD(&priv->flow_block.rules); in sja1105_flower_setup() 491 priv->flow_block.l2_policer_used[port] = true; in sja1105_flower_setup() 500 list_for_each_safe(pos, n, &priv->flow_block.rules) { in sja1105_flower_teardown()
|
D | sja1105_vl.c | 102 list_for_each_entry(rule, &priv->flow_block.rules, list) { in sja1105_compose_gating_subschedule() 124 list_for_each_entry(rule, &priv->flow_block.rules, list) { in sja1105_compose_gating_subschedule() 313 list_for_each_entry(rule, &priv->flow_block.rules, list) { in sja1105_init_virtual_links() 383 list_for_each_entry(rule, &priv->flow_block.rules, list) { in sja1105_init_virtual_links() 517 list_add(&rule->list, &priv->flow_block.rules); in sja1105_vl_redirect() 610 list_add(&rule->list, &priv->flow_block.rules); in sja1105_vl_gate()
|
D | sja1105.h | 241 struct sja1105_flow_block flow_block; member
|
D | sja1105_main.c | 2320 list_for_each_entry(rule, &priv->flow_block.rules, list) { in sja1105_vlan_filtering()
|
/drivers/net/ethernet/marvell/prestera/ |
D | prestera_flow.c | 140 port->flow_block = block; in prestera_setup_flow_block_bind() 174 port->flow_block = NULL; in prestera_setup_flow_block_unbind()
|
D | prestera.h | 75 struct prestera_flow_block *flow_block; member
|