]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx5e: Fix page allocation failure for ptp-RQ over SF
authorAya Levin <ayal@nvidia.com>
Tue, 22 Jun 2021 07:24:17 +0000 (10:24 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Tue, 27 Jul 2021 23:10:05 +0000 (16:10 -0700)
commitf1517e4e5d0b6d31a1825fdcbce2da601dd8f175
treeb2250b54a1a1ce21f7a133abde95dc96bcc3adaa
parentaa169f7ecb8481576aa8098a60d2c923ff70564a
net/mlx5e: Fix page allocation failure for ptp-RQ over SF

Set the correct pci-device pointer to the ptp-RQ. This allows access to
dma_mask and avoids allocation request with wrong pci-device.

Fixes: 90bd9b97d215 ("net/mlx5e: Add RQ to PTP channel")
Signed-off-by: Aya Levin <ayal@nvidia.com>
Reviewed-by: Tariq Toukan <tariqt@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en/ptp.c