Open TheRandomCharacter opened 3 months ago
Right now it is possible to use logical port id is in instead of dpdk port id, this is error prone. It would be nice to define define distinct types for these ids and move to using them instead:
struct DPDKPort { uint16_t id_; }; struct LogicalPort { tPortId id_; };
This will prevent using one in lieu of another by accident.
Right now it is possible to use logical port id is in instead of dpdk port id, this is error prone. It would be nice to define define distinct types for these ids and move to using them instead:
This will prevent using one in lieu of another by accident.