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)
Thu, Mar 7, 5:20 PM
Unknown Object (File)
Feb 19 2024, 2:46 PM
Unknown Object (File)
Feb 3 2024, 8:45 AM
Unknown Object (File)
Jan 15 2024, 6:48 AM
Unknown Object (File)
Jan 15 2024, 1:00 AM
Unknown Object (File)
Dec 20 2023, 5:52 AM
Unknown Object (File)
Dec 15 2023, 11:34 PM
Unknown Object (File)
Nov 17 2023, 2:09 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