Rough-hewn refactor to put all DPDK-related code inside an lcore.