Constraints on flagellar rotation