D | spectrum_flow.c | 35 struct mlxsw_sp_port *mlxsw_sp_port, bool ingress) in mlxsw_sp_flow_block_lookup() argument 41 binding->ingress == ingress) in mlxsw_sp_flow_block_lookup() 55 bool ingress, in mlxsw_sp_flow_block_bind() argument 61 if (WARN_ON(mlxsw_sp_flow_block_lookup(block, mlxsw_sp_port, ingress))) in mlxsw_sp_flow_block_bind() 64 if (ingress && block->ingress_blocker_rule_count) { in mlxsw_sp_flow_block_bind() 69 if (!ingress && block->egress_blocker_rule_count) { in mlxsw_sp_flow_block_bind() 84 binding->ingress = ingress; in mlxsw_sp_flow_block_bind() 92 if (ingress) in mlxsw_sp_flow_block_bind() 110 bool ingress) in mlxsw_sp_flow_block_unbind() argument 114 binding = mlxsw_sp_flow_block_lookup(block, mlxsw_sp_port, ingress); in mlxsw_sp_flow_block_unbind() [all …]
|