Page MenuHomeFreeBSD

mlx4: rename conflicting netdev_priv() to mlx4_netdev_priv()
ClosedPublic

Authored by bz on Oct 25 2021, 4:27 PM.
Tags
None
Referenced Files
F166325629: D32640.id97428.diff
Wed, Aug 12, 10:27 PM
F166255291: D32640.id97407.diff
Wed, Aug 12, 2:09 PM
F166247015: D32640.id.diff
Wed, Aug 12, 1:35 PM
Unknown Object (File)
Mon, Aug 10, 9:33 AM
Unknown Object (File)
Mon, Aug 10, 8:54 AM
Unknown Object (File)
Sun, Aug 9, 10:44 PM
Unknown Object (File)
Sat, Aug 8, 4:17 AM
Unknown Object (File)
Sat, Aug 8, 4:17 AM
Subscribers

Details

Summary

netdev_priv() is a LinuxKPI function which was used with the old ifnet
linux/netdevice.h implementation which was not adaptable to modern
Linux drviers unless rewriting them for ifnet in first place which
defeats the purpose.
Rename the netdev_priv() calls in mlx4 to mlx4_netdev_priv()
returning the ifnet softc to avoid conflicting symbol names
with different implementations in the future.

MFC after: 3 days

Diff Detail

Repository
rS FreeBSD src repository - subversion
Lint
Lint Passed
Unit
No Test Coverage
Build Status
Buildable 42344
Build 39232: arc lint + arc unit