add rx port ring management
add rx thread func