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)
Oct 13 2024, 2:01 AM
Unknown Object (File)
Oct 9 2024, 2:28 PM
Unknown Object (File)
Sep 26 2024, 5:58 PM
Unknown Object (File)
Sep 26 2024, 2:55 PM
Unknown Object (File)
Sep 24 2024, 1:05 AM
Unknown Object (File)
Sep 23 2024, 11:32 PM
Unknown Object (File)
Sep 22 2024, 8:20 AM
Unknown Object (File)
Sep 19 2024, 2:35 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