ethdev: add an argument to internal callback function