ethdev: refine API to query supported packet types