Page MenuHomeFreeBSD

qlnxe: Remove a pointless copy back from the link-layer address
ClosedPublic

Authored by zlei on Jan 26 2026, 6:20 AM.
Tags
None
Referenced Files
F163277628: D54883.id171356.diff
Tue, Jul 21, 4:22 PM
F163267743: D54883.id170437.diff
Tue, Jul 21, 2:41 PM
F163241428: D54883.id171356.diff
Tue, Jul 21, 8:35 AM
Unknown Object (File)
Mon, Jul 20, 4:25 AM
Unknown Object (File)
Mon, Jul 20, 2:05 AM
Unknown Object (File)
Sun, Jul 19, 9:05 PM
Unknown Object (File)
Sun, Jul 19, 8:59 AM
Unknown Object (File)
Wed, Jul 15, 7:04 AM
Subscribers

Details

Summary

On ifnet attaching, ether_ifattach() makes the link-layer address by
shadow copying the ha->primary_mac. Well the link-layer address will not
be altered during attaching, thus it is pointless to copy it back.

There should be no functional changes.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

zlei requested review of this revision.Jan 26 2026, 6:20 AM
This revision is now accepted and ready to land.Feb 6 2026, 6:07 AM