Vortex pairs and rings interacting with shear-layer vortices