IB/mlx4: Avoid accessing netdevice when building RoCE qp1 header
[cascardo/linux.git] / drivers / infiniband / hw / mlx4 / mlx4_ib.h
index e8cad39..6eb743f 100644 (file)
@@ -451,6 +451,7 @@ struct mlx4_ib_iboe {
        spinlock_t              lock;
        struct net_device      *netdevs[MLX4_MAX_PORTS];
        struct net_device      *masters[MLX4_MAX_PORTS];
+       atomic64_t              mac[MLX4_MAX_PORTS];
        struct notifier_block   nb;
        struct notifier_block   nb_inet;
        struct notifier_block   nb_inet6;