-
Notifications
You must be signed in to change notification settings - Fork 163
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
[IPv6][SAM] Enable multicast hash table for multiple MAC addresses on SAM network interface #926
[IPv6][SAM] Enable multicast hash table for multiple MAC addresses on SAM network interface #926
Conversation
@@ -691,7 +710,7 @@ static BaseType_t prvGMACInit( NetworkInterface_t * pxInterface ) | |||
NetworkEndPoint_t * pxEndPoint; |
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.
Maybe its more cleaner (or more readable) to have different names for variables (pxEndPoint
) though they are in different scope.
Thank you Actory for creating this PR.
Some remarks: The function name |
a7a1254
Thanks for additions. Please help to take a look. |
@@ -706,7 +725,7 @@ static BaseType_t prvGMACInit( NetworkInterface_t * pxInterface ) | |||
ucMACAddress[ 3 ] = pxEndPoint->ipv6_settings.xIPAddress.ucBytes[ 13 ]; |
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.
When adding IPv6 multi-cast MAC addresses of the IPv6 endpoints to the hash table, shouldn't it be of the form - Address Mapping -- Multicast
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.
This looks like a valid issue and the field ucMACAddress[ 2 ] needs to be set as well.
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.
Change will be reverted, see Solicited-node multicast address. It is used to give the DUT a multicast address which is used during the SLAAC for DAD (Duplicate Address Detection).
[IPv6][SAM] Enable multicast hash table for multiple MAC addresses on SAM network interface
Description
The change is made by @htibosch.
When IPv6/Multiple endpoints enabled, the space to store MAC addresses is not enough.
To support it better, use multicast hash table in hardware to reduce loading on space.
Test Steps
Below scenarios are tested (by @htibosch) on both IPv4/IPv6:
Checklist:
Related Issue
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.