Lines Matching refs:acl_block

1515 mlxsw_sp_setup_tc_cls_flower(struct mlxsw_sp_acl_block *acl_block,  in mlxsw_sp_setup_tc_cls_flower()  argument
1518 struct mlxsw_sp *mlxsw_sp = mlxsw_sp_acl_block_mlxsw_sp(acl_block); in mlxsw_sp_setup_tc_cls_flower()
1522 return mlxsw_sp_flower_replace(mlxsw_sp, acl_block, f); in mlxsw_sp_setup_tc_cls_flower()
1524 mlxsw_sp_flower_destroy(mlxsw_sp, acl_block, f); in mlxsw_sp_setup_tc_cls_flower()
1527 return mlxsw_sp_flower_stats(mlxsw_sp, acl_block, f); in mlxsw_sp_setup_tc_cls_flower()
1529 return mlxsw_sp_flower_tmplt_create(mlxsw_sp, acl_block, f); in mlxsw_sp_setup_tc_cls_flower()
1531 mlxsw_sp_flower_tmplt_destroy(mlxsw_sp, acl_block, f); in mlxsw_sp_setup_tc_cls_flower()
1578 struct mlxsw_sp_acl_block *acl_block = cb_priv; in mlxsw_sp_setup_tc_block_cb_flower() local
1584 if (mlxsw_sp_acl_block_disabled(acl_block)) in mlxsw_sp_setup_tc_block_cb_flower()
1587 return mlxsw_sp_setup_tc_cls_flower(acl_block, type_data); in mlxsw_sp_setup_tc_block_cb_flower()
1595 struct mlxsw_sp_acl_block *acl_block = cb_priv; in mlxsw_sp_tc_block_flower_release() local
1597 mlxsw_sp_acl_block_destroy(acl_block); in mlxsw_sp_tc_block_flower_release()
1607 struct mlxsw_sp_acl_block *acl_block; in mlxsw_sp_setup_tc_block_flower_bind() local
1616 acl_block = mlxsw_sp_acl_block_create(mlxsw_sp, f->net); in mlxsw_sp_setup_tc_block_flower_bind()
1617 if (!acl_block) in mlxsw_sp_setup_tc_block_flower_bind()
1620 mlxsw_sp, acl_block, in mlxsw_sp_setup_tc_block_flower_bind()
1623 mlxsw_sp_acl_block_destroy(acl_block); in mlxsw_sp_setup_tc_block_flower_bind()
1629 acl_block = flow_block_cb_priv(block_cb); in mlxsw_sp_setup_tc_block_flower_bind()
1632 err = mlxsw_sp_acl_block_bind(mlxsw_sp, acl_block, in mlxsw_sp_setup_tc_block_flower_bind()
1638 mlxsw_sp_port->ing_acl_block = acl_block; in mlxsw_sp_setup_tc_block_flower_bind()
1640 mlxsw_sp_port->eg_acl_block = acl_block; in mlxsw_sp_setup_tc_block_flower_bind()
1661 struct mlxsw_sp_acl_block *acl_block; in mlxsw_sp_setup_tc_block_flower_unbind() local
1676 acl_block = flow_block_cb_priv(block_cb); in mlxsw_sp_setup_tc_block_flower_unbind()
1677 err = mlxsw_sp_acl_block_unbind(mlxsw_sp, acl_block, in mlxsw_sp_setup_tc_block_flower_unbind()