Diffusion approximation and markovian models of RED control mechanism