event/opdl: add PMD main body and helper function