mlx4: replace mlx4_mac_to_u64() with ether_addr_to_u64()
[linux-2.6-block.git] / drivers / infiniband / hw / mlx4 / qp.c
index 8662f462e2a5faab9d3bedf168867b4cf62680b4..aea4182f33a48c90601c69881b74082b771d0584 100644 (file)
@@ -1853,7 +1853,7 @@ static int mlx4_set_path(struct mlx4_ib_dev *dev, const struct ib_qp_attr *qp,
                         u16 vlan_id, u8 *smac)
 {
        return _mlx4_set_path(dev, &qp->ah_attr,
-                             mlx4_mac_to_u64(smac),
+                             ether_addr_to_u64(smac),
                              vlan_id,
                              path, &mqp->pri, port);
 }