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
F173163664: D54883.diff
Thu, Sep 24, 1:15 AM
Unknown Object (File)
Mon, Sep 21, 1:49 AM
Unknown Object (File)
Sun, Sep 20, 2:16 PM
Unknown Object (File)
Wed, Sep 16, 9:02 AM
Unknown Object (File)
Sat, Sep 5, 8:01 PM
Unknown Object (File)
Sat, Sep 5, 6:16 AM
Unknown Object (File)
Sat, Sep 5, 4:05 AM
Unknown Object (File)
Fri, Sep 4, 10:52 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