yanet-platform / yanet

A high performance framework for forwarding traffic based on DPDK
Other
165 stars 17 forks source link

[DataPlane] Non-contiguous DPDK port range #59

Closed GeorgyKirichenko closed 5 months ago

GeorgyKirichenko commented 9 months ago

The DataPlane code based on two assumptions:

However, for some devices like Chelsio the first assumption is wrong - each PCI-enumerated device provides two DPDK ports while the second is identified using suffix _2. And the second assumption makes it impossible to ignore some possible unconnected ports in DataPlane configuration.

So one have to perform following changes: