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
Unknown Object (File)
Mar 8 2025, 12:28 AM
Unknown Object (File)
Mar 6 2025, 4:57 PM
Unknown Object (File)
Feb 26 2025, 6:36 PM
Unknown Object (File)
Feb 22 2025, 11:30 PM
Unknown Object (File)
Jan 27 2025, 6:47 AM
Unknown Object (File)
Jan 26 2025, 10:21 AM
Unknown Object (File)
Jan 18 2025, 5:41 AM
Unknown Object (File)
Jan 8 2025, 11:25 PM
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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable