-
Notifications
You must be signed in to change notification settings - Fork 8.3k
drivers: nxp_enet: Add get_config to re-enable ipv6 checksum acceleration #81247
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
drivers: nxp_enet: Add get_config to re-enable ipv6 checksum acceleration #81247
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nit: alignment
|
@decsny , with this PR. |
|
@hakehuang k64f is the platform I tested on, and I used the echo server example you put originally on your issue #73518, which now works, are you saying, it doesn't work if the cable is connected before boot? |
Previously, ipv6 being disabled was a dependency of the hw acceleration of the checksums for the nxp enet driver, because this ethernet has an errata causing icmpv6 checksum to not be supported. Now, there is a new config type in ethernet api for checksum types, so we can re-enable hardware acceleration for ipv6 by implementing this type in the get_config api in this driver. Signed-off-by: Declan Snyder <[email protected]>
c879bbe to
74988a3
Compare
|
regression test pass |
Previously, ipv6 being disabled was a dependency of the hw acceleration of the checksums for the nxp enet driver, because this ethernet has an errata causing icmpv6 checksum to not be supported (see #73518). Now, there is a new config type in ethernet api added in #73985 for checksum types, so we can re-enable hardware acceleration for ipv6 by implementing this type in the get_config api in this driver.