Input queued switches: cell switching vs. packet switching