net/mlx5e: Rename traffic type enums
[sfrench/cifs-2.6.git] / drivers / net / ethernet / mellanox / mlx5 / core / en_main.c
index 6797328e0afdd9ec3524775a93528cb022cfc6bb..c1469f5755b506c8b831338cb54b66f53865be20 100644 (file)
@@ -4211,7 +4211,7 @@ static bool mlx5e_tunnel_any_tx_proto_supported(struct mlx5_core_dev *mdev)
 {
        int tt;
 
-       for (tt = 0; tt < MLX5E_NUM_TUNNEL_TT; tt++) {
+       for (tt = 0; tt < MLX5_NUM_TUNNEL_TT; tt++) {
                if (mlx5e_tunnel_proto_supported_tx(mdev, mlx5e_get_proto_by_tunnel_type(tt)))
                        return true;
        }