eventdev: move Rx adapter to separate function