OpenDataPlane / odp

The ODP project is an open-source, cross-platform set of application programming interfaces (APIs) for the networking data plane
https://opendataplane.org
Other
176 stars 134 forks source link

Scheduler classifier and LAGs in ODP #1000

Open Neetika02 opened 4 years ago

Neetika02 commented 4 years ago

Hello,

I have following unrelated queries:

Regards, Neetika

JannePeltonen commented 4 years ago

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.