Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Local and dpdk port id's mixup in worker #203

Open
TheRandomCharacter opened this issue May 30, 2024 Discussed in #201 · 0 comments
Open

Local and dpdk port id's mixup in worker #203

TheRandomCharacter opened this issue May 30, 2024 Discussed in #201 · 0 comments

Comments

@TheRandomCharacter
Copy link
Collaborator

Discussed in #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

if (basePermanently.globalBaseAtomic->physicalPort_flags[metadata->fromPortId] & YANET_PHYSICALPORT_FLAG_IN_DUMP)

dpdk port id is erroneously used as index instead of local port id.
dataplane::base::permanently.PortMapper

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant