Skip to content

Conversation

@SeppoTakalo
Copy link
Contributor

Pull fixes from upstream to initialize MAC properly on native_sim target.
Required few other commits to be applied cleanly on top of main.

aescolar and others added 4 commits May 8, 2025 15:09
…e_tap

Rename this driver to eth_native_tap, including renaming all its
options.
The old options remain until v4.4, but as deprecated.

Signed-off-by: Alberto Escolar Piedras <[email protected]>
(cherry picked from commit 78f8006)
…rom cmd line

Added the abililty to set the IPv4 addres, gateway and netmask from the
command line when running a native_posix build.

Signed-off-by: Ibe Van de Veire <[email protected]>
(cherry picked from commit 200b886)
… cmd line

Add the ability to set the MAC address from the command line when
running a native sim build.

Signed-off-by: Ibe Van de Veire <[email protected]>
(cherry picked from commit d890630)
Set static or random MAC before calling net_linkaddr_set().

Upstream PR #: 89640
Signed-off-by: Seppo Takalo <[email protected]>
@sonarqubecloud
Copy link

sonarqubecloud bot commented May 8, 2025

Quality Gate Failed Quality Gate failed

Failed conditions
1 Security Hotspot
6.5% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@SeppoTakalo
Copy link
Contributor Author

@jfischer-no You might want to pick these into upmerge PR jfischer-no#8

so this does not need to be merged.

@SeppoTakalo
Copy link
Contributor Author

This fix is now cherry-picked to upmerge branch. #2817

Can I close this?

@rlubos
Copy link
Contributor

rlubos commented May 8, 2025

This fix is now cherry-picked to upmerge branch. #2817

Can I close this?

I think so

@SeppoTakalo SeppoTakalo closed this May 9, 2025
@SeppoTakalo SeppoTakalo deleted the sim_eth_fix branch May 9, 2025 06:08
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.

5 participants