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

The same buffers are shared by the 2 Ethernet controllers in the eth_mcux driver #28908

Closed
armandciejak opened this issue Oct 5, 2020 · 2 comments · Fixed by #29081
Closed
Assignees
Labels
area: Ethernet bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP priority: medium Medium impact/importance bug

Comments

@armandciejak
Copy link
Contributor

Describe the bug
Some i.MX RT have 2 independent Ethernet controller but the driver uses the same TX and RX data buffers for both controllers.

To Reproduce
The problem is in eth_mcux_init the buffer_config uses the same buffers for all controllers.

Expected behavior
Use different buffers for each Ethernet controller instances.

Impact
Prevent using the 2 Ethernet controllers.

Logs and console output

Environment (please complete the following information):

  • Zephyr version 2.4
@armandciejak armandciejak added the bug The issue is a bug, or the PR is fixing a bug label Oct 5, 2020
@armandciejak
Copy link
Contributor Author

I have a fix ready that I'm currently testing, I'll create a PR soon.

@armandciejak
Copy link
Contributor Author

My changes are done on top of #28874, therefore I'll wait for it to be merged before creating a PR.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: Ethernet bug The issue is a bug, or the PR is fixing a bug platform: NXP NXP priority: medium Medium impact/importance bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants