VisionFive2 Linux kernel

StarFive Tech Linux Kernel for VisionFive (JH7110) boards (mirror)

More than 9999 Commits   33 Branches   55 Tags
author: Aya Levin <ayal@nvidia.com> 2021-06-22 10:24:17 +0300 committer: Greg Kroah-Hartman <gregkh@linuxfoundation.org> 2021-08-04 12:47:55 +0200 commit: 9bf4345430b4ae08a5e1fa2662ac69a0298561a7 parent: 09f2d23a618e107b55b4891a6952574528447f93
Commit Summary:
net/mlx5e: Fix page allocation failure for ptp-RQ over SF
Diffstat:
1 file changed, 1 insertion, 1 deletion
diff --git a/drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c b/drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c
index 778e229310a9..0f6b3231ca1d 100644
--- a/drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c
+++ b/drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c
@@ -494,7 +494,7 @@ static int mlx5e_init_ptp_rq(struct mlx5e_ptp *c, struct mlx5e_params *params,
 	int err;
 
 	rq->wq_type      = params->rq_wq_type;
-	rq->pdev         = mdev->device;
+	rq->pdev         = c->pdev;
 	rq->netdev       = priv->netdev;
 	rq->priv         = priv;
 	rq->clock        = &mdev->clock;