Searched refs:pndev (Results 1 – 5 of 5) sorted by relevance
190 return endev->pndev[port]; in mlx4_en_get_netdev()202 if (!mdev->pndev[port]) in mlx4_en_event()204 priv = netdev_priv(mdev->pndev[port]); in mlx4_en_event()220 !mdev->pndev[port]) in mlx4_en_event()237 if (mdev->pndev[i]) in mlx4_en_remove()238 mlx4_en_destroy_netdev(mdev->pndev[i]); in mlx4_en_remove()260 mdev->pndev[i] = NULL; in mlx4_en_activate()
75 struct mlx4_en_priv *priv = netdev_priv(mdev->pndev[port]); in mlx4_en_QUERY_PORT()188 struct net_device *dev = mdev->pndev[port]; in mlx4_en_DUMP_ETH_STATS()
97 cq->dev = mdev->pndev[priv->port]; in mlx4_en_activate_cq()
2358 mdev->pndev[priv->port] = NULL; in mlx4_en_destroy_netdev()2979 if (!port && (mdev->pndev[i] == ndev)) in mlx4_en_netdev_event()2981 mdev->upper[i] = mdev->pndev[i] ? in mlx4_en_netdev_event()2982 netdev_master_upper_dev_get(mdev->pndev[i]) : NULL; in mlx4_en_netdev_event()3423 mdev->pndev[port] = dev; in mlx4_en_init_netdev()
403 struct net_device *pndev[MLX4_MAX_PORTS + 1]; member