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

mpfs_ethernet.c: increase GMAC_RX_UNITSIZE #260

Merged
merged 1 commit into from
May 29, 2024
Merged

Conversation

jnippula
Copy link

Set RX buffer size to max frame length to be able to receive MC side MTU size frames

Copy link

@pussuw pussuw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, although the suggestion about having a separate kconfig variable does sound tempting as well.

@jnippula
Copy link
Author

LGTM, although the suggestion about having a separate kconfig variable does sound tempting as well.

Now when you say it, I'll think I'll do that instead, so it would be consistent with the TX buffer.

@jnippula
Copy link
Author

I was thinking is there any reason to use different packet sizes for RX and TX, but just use the same size/config for both?

@pussuw
Copy link

pussuw commented May 29, 2024

I was thinking is there any reason to use different packet sizes for RX and TX, but just use the same size/config for both?

To me it would make sense to just use the (Ethernet) MTU for both, shouldn't that be enough ?

@jnippula jnippula merged commit e8bbaf6 into master May 29, 2024
11 checks passed
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

Successfully merging this pull request may close these issues.

2 participants