eventdev: add queue attribute function