Lines Matching full:ingress
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()
65 …NL_SET_ERR_MSG_MOD(extack, "Block cannot be bound to ingress because it contains unsupported rules… 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()
120 if (ingress) in mlxsw_sp_flow_block_unbind()
203 bool ingress) in mlxsw_sp_setup_tc_block_bind() argument
230 mlxsw_sp_port, ingress, f->extack); in mlxsw_sp_setup_tc_block_bind()
234 if (ingress) in mlxsw_sp_setup_tc_block_bind()
254 bool ingress) in mlxsw_sp_setup_tc_block_unbind() argument
266 if (ingress) in mlxsw_sp_setup_tc_block_unbind()
273 mlxsw_sp_port, ingress); in mlxsw_sp_setup_tc_block_unbind()
282 bool ingress) in mlxsw_sp_setup_tc_block_clsact() argument
288 return mlxsw_sp_setup_tc_block_bind(mlxsw_sp_port, f, ingress); in mlxsw_sp_setup_tc_block_clsact()
290 mlxsw_sp_setup_tc_block_unbind(mlxsw_sp_port, f, ingress); in mlxsw_sp_setup_tc_block_clsact()