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)
Wed, Jan 8, 11:25 PM
Unknown Object (File)
Dec 4 2024, 11:11 PM
Unknown Object (File)
Dec 2 2024, 9:56 PM
Unknown Object (File)
Dec 2 2024, 7:25 PM
Unknown Object (File)
Nov 30 2024, 6:22 AM
Unknown Object (File)
Nov 28 2024, 3:36 AM
Unknown Object (File)
Nov 22 2024, 2:07 AM
Unknown Object (File)
Nov 21 2024, 9:13 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