diff mbox

Working NVMeoF Config From 4.12.5 Fails With 4.15.0

Message ID c0e91150-72be-44f3-6cb4-f95f85444915@grimberg.me (mailing list archive)
State Not Applicable
Headers show

Commit Message

Sagi Grimberg Feb. 4, 2018, 2:59 p.m. UTC
> I didn't read much email details.
> However there was a mention and git bisect done by Logan Gunthorpe in recent email in [1].
> Where he mentioned possible commit that introduced the regression.
> 05e0cc84e00c net/mlx5: Fix get vector affinity helper function
> 
> [1] https://www.spinics.net/lists/linux-rdma/msg60298.html
> 
> You might want to try to revert that commit and attempt.
> Might be same issue. Might be different, not sure.

Indeed,

Does this fix your issue?
--
                 return NULL;

--
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
diff mbox

Patch

diff --git a/include/linux/mlx5/driver.h b/include/linux/mlx5/driver.h
index a0610427e168..b82c4ae92411 100644
--- a/include/linux/mlx5/driver.h
+++ b/include/linux/mlx5/driver.h
@@ -1238,7 +1238,7 @@  mlx5_get_vector_affinity(struct mlx5_core_dev 
*dev, int vector)
         int eqn;
         int err;

-       err = mlx5_vector2eqn(dev, vector, &eqn, &irq);
+       err = mlx5_vector2eqn(dev, MLX5_EQ_VEC_COMP_BASE + vector, &eqn, 
&irq);
         if (err)