net/mlx5e: Don't access directly DMA device pointer
authorLeon Romanovsky <leonro@nvidia.com>
Wed, 12 Oct 2022 12:28:10 +0000 (15:28 +0300)
committerSaeed Mahameed <saeedm@nvidia.com>
Wed, 30 Nov 2022 05:09:45 +0000 (21:09 -0800)
commit7c11eae2fdc8ff429b74f6f9cd91ebea9725d917
tree263d64a3bab530dcf4ec737e31187928ea276ebc
parent14624d7247fcd0f3114a6f5f17b3c8d1020fbbb7
net/mlx5e: Don't access directly DMA device pointer

Use specialized helper to fetch DMA device pointer.

Reviewed-by: Saeed Mahameed <saeedm@nvidia.com>
Signed-off-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: Saeed Mahameed <saeedm@nvidia.com>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/macsec.c