OpenDataPlane / odp

The ODP project is an open-source, cross-platform set of application programming interfaces (APIs) for the networking data plane

Home Page:https://opendataplane.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Scheduler classifier and LAGs in ODP

Neetika02 opened this issue · comments

Hello,

I have following unrelated queries:

  • Does ODP Support Link Aggregate Groups. If yes how?

  • When using Scheduler/Classifier API over DPDK how do we know if the flow matching is being done at Hardware or Software. Is this a compile time option or can I check this using capability query?

Regards,
Neetika

ODP API does not directly support link aggregation but allows the application to implement it in SW on top of the ODP API. In addition, ODP API does not preclude an ODP implementation from exposing a group of aggregated ports as single pktio, but in this case the configuration and management of the aggregation would not be done through ODP API.

If you use DPDK for packet I/O within the ODP implementation, you may be able to use the DPDK link bonding PMD and have it visible as single ODP pktio in the ODP API. I have not tried it so I do not know if making it work requires some tweaking.

The extent of HW offloading varies across ODP implementations and in general ODP API does not tell whether something is HW or SW based but considers it an implementation detail (there are some exceptions to this in the ODP crypto API). Linux generic ODP and odp-dpdk implement packet classification in SW.