dpdk: use flags for identifying interface types