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)
Tue, Jun 16, 7:36 PM
Unknown Object (File)
Sat, Jun 13, 11:17 AM
Unknown Object (File)
May 13 2026, 5:20 PM
Unknown Object (File)
May 6 2026, 11:18 PM
Unknown Object (File)
May 5 2026, 7:08 PM
Unknown Object (File)
May 4 2026, 3:41 PM
Unknown Object (File)
May 4 2026, 12:09 AM
Unknown Object (File)
May 1 2026, 11:05 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
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable