Lines Matching refs:mact
573 struct mlxsw_sp_acl_mangle_action *mact, in mlxsw_sp_acl_rulei_act_mangle_field() argument
576 switch (mact->field) { in mlxsw_sp_acl_rulei_act_mangle_field()
593 struct mlxsw_sp_acl_mangle_action *mact, in mlxsw_sp1_acl_rulei_act_mangle_field() argument
598 err = mlxsw_sp_acl_rulei_act_mangle_field(mlxsw_sp, rulei, mact, val, extack); in mlxsw_sp1_acl_rulei_act_mangle_field()
624 struct mlxsw_sp_acl_mangle_action *mact, in mlxsw_sp2_acl_rulei_act_mangle_field() argument
629 err = mlxsw_sp_acl_rulei_act_mangle_field(mlxsw_sp, rulei, mact, val, extack); in mlxsw_sp2_acl_rulei_act_mangle_field()
633 switch (mact->field) { in mlxsw_sp2_acl_rulei_act_mangle_field()
651 mact->field, in mlxsw_sp2_acl_rulei_act_mangle_field()
708 struct mlxsw_sp_acl_mangle_action *mact; in mlxsw_sp_acl_rulei_act_mangle() local
712 mact = &mlxsw_sp_acl_mangle_actions[i]; in mlxsw_sp_acl_rulei_act_mangle()
713 if (mact->htype == htype && in mlxsw_sp_acl_rulei_act_mangle()
714 mact->offset == offset && in mlxsw_sp_acl_rulei_act_mangle()
715 mact->mask == mask) { in mlxsw_sp_acl_rulei_act_mangle()
716 val >>= mact->shift; in mlxsw_sp_acl_rulei_act_mangle()
718 rulei, mact, in mlxsw_sp_acl_rulei_act_mangle()