Effect of Dzyaloshinskii–Moriya interaction on magnetic vortex