tbarbette / fastclick

FastClick - A faster version of the Click Modular Router featuring batching, advanced multi-processing and improved Netmap and DPDK support (ANCS'15). Check the metron branch for Metron specificities (NSDI'18). PacketMill modifications (ASPLOS'21) as well as MiddleClick(ToN, 2021) are merged in main.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.