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
F151389453: D54883.id.diff
Wed, Apr 8, 2:28 AM
Unknown Object (File)
Sun, Apr 5, 5:02 PM
Unknown Object (File)
Sat, Mar 14, 10:06 AM
Unknown Object (File)
Sat, Mar 14, 10:03 AM
Unknown Object (File)
Fri, Mar 13, 9:24 PM
Unknown Object (File)
Fri, Mar 13, 9:24 PM
Unknown Object (File)
Tue, Mar 10, 8:01 PM
Unknown Object (File)
Feb 20 2026, 5:05 PM
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