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

@jnippula jnippula requested a review from jlaitine May 27, 2024 11:29
@jnippula jnippula force-pushed the mpfs_eth_gmac_rx branch from 681403a to 435d0cb Compare May 27, 2024 11:31
@jnippula jnippula requested review from eenurkka and pussuw May 28, 2024 11:26
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 jnippula force-pushed the mpfs_eth_gmac_rx branch from 435d0cb to f368c8b Compare May 29, 2024 06:50
@jnippula jnippula requested a review from pussuw May 29, 2024 06:54
@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 force-pushed the mpfs_eth_gmac_rx branch from f368c8b to 8662abb Compare May 29, 2024 07:00
@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