yanet
yanet copied to clipboard
Local and dpdk port id's mixup in worker
Discussed in https://github.com/yanet-platform/yanet/discussions/201
Originally posted by zV3KT0R May 30, 2024 uint8_t physicalPort_flags[CONFIG_YADECAP_PORTS_SIZE]; but metadata->fromPortId can be greater than CONFIG_YADECAP_PORTS_SIZE
https://github.com/yanet-platform/yanet/blob/87748d7bf95f44ba21725197b0ef18e196310741/dataplane/worker.cpp#L1063
dpdk port id is erroneously used as index instead of local port id.
dataplane::base::permanently.PortMapper