Lines Matching refs:sparx5

411 	vctrl = port->sparx5->vcap_ctrl;  in sparx5_tc_select_protocol_keyset()
774 static int sparx5_tc_flower_psfp_setup(struct sparx5 *sparx5, in sparx5_tc_flower_psfp_setup() argument
800 ret = sparx5_psfp_sg_add(sparx5, sg_idx, sg, &psfp_sgid); in sparx5_tc_flower_psfp_setup()
806 ret = sparx5_psfp_fm_add(sparx5, pol_idx, fm, &psfp_fmid); in sparx5_tc_flower_psfp_setup()
815 ret = sparx5_psfp_sf_add(sparx5, sf, &psfp_sfid); in sparx5_tc_flower_psfp_setup()
820 sparx5_isdx_conf_set(sparx5, psfp_sfid, psfp_sfid, psfp_fmid); in sparx5_tc_flower_psfp_setup()
1170 struct sparx5 *sparx5 = port->sparx5; in sparx5_tc_flower_replace() local
1178 vctrl = port->sparx5->vcap_ctrl; in sparx5_tc_flower_replace()
1285 err = sparx5_tc_flower_psfp_setup(sparx5, vrule, tc_sg_idx, in sparx5_tc_flower_replace()
1321 static void sparx5_tc_free_psfp_resources(struct sparx5 *sparx5, in sparx5_tc_free_psfp_resources() argument
1335 sfid = sparx5_psfp_isdx_get_sf(sparx5, isdx); in sparx5_tc_free_psfp_resources()
1340 fmid = sparx5_psfp_isdx_get_fm(sparx5, isdx); in sparx5_tc_free_psfp_resources()
1341 sgid = sparx5_psfp_sf_get_sg(sparx5, sfid); in sparx5_tc_free_psfp_resources()
1343 if (fmid && sparx5_psfp_fm_del(sparx5, fmid) < 0) in sparx5_tc_free_psfp_resources()
1347 if (sgid && sparx5_psfp_sg_del(sparx5, sgid) < 0) in sparx5_tc_free_psfp_resources()
1351 if (sparx5_psfp_sf_del(sparx5, sfid) < 0) in sparx5_tc_free_psfp_resources()
1355 sparx5_isdx_conf_set(sparx5, isdx, 0, 0); in sparx5_tc_free_psfp_resources()
1363 struct sparx5 *sparx5 = port->sparx5; in sparx5_tc_free_rule_resources() local
1371 sparx5_tc_free_psfp_resources(sparx5, vrule); in sparx5_tc_free_rule_resources()
1385 vctrl = port->sparx5->vcap_ctrl; in sparx5_tc_flower_destroy()
1421 vctrl = port->sparx5->vcap_ctrl; in sparx5_tc_flower_stats()
1468 vctrl = port->sparx5->vcap_ctrl; in sparx5_tc_flower_template_create()
1553 vctrl = port->sparx5->vcap_ctrl; in sparx5_tc_flower()