mirror of
https://github.com/opnsense/src.git
synced 2026-05-19 08:25:22 -04:00
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.
(cherry picked from commit
|
||
|---|---|---|
| .. | ||
| en.h | ||
| en_port.h | ||
| mlx4_en_cq.c | ||
| mlx4_en_main.c | ||
| mlx4_en_netdev.c | ||
| mlx4_en_port.c | ||
| mlx4_en_resources.c | ||
| mlx4_en_rx.c | ||
| mlx4_en_tx.c | ||