Generalize Metron to work with any From/ToDevice element
gkatsikas opened this issue · comments
Currently Metron exposes only DPDK interfaces to ONOS.
The plan is to abstract Metron by making it DPDK-agnostic.
The effort for this is huge because even if Metron could work with From/ToDevice elements, these elements do not provide means to exploit multiple NIC queues.
The workaround this problem is to use e.g., DPDK's AF_PACKET PMD with Linux kernel interfaces (not bound to DPDK). We have configured a Metron agent using the AF_PACKET approach here.
Alternatively, DPDK's AF_XDP PMD could be used as an even more efficient approach than AF_PACKET. Given that your system complies to the XDP prerequisites, you could run a Metron agent using AF_XDP as indicated here.