port layer init process