Split raw and check_prio options, check config prios based on ifindex

- Split raw and check_prio options.
- Check config prios based on ifindex.