OSDN Git Service

net/mlx5e: TX, Use function to access sq_dma object in fifo
authorTariq Toukan <tariqt@mellanox.com>
Mon, 20 Nov 2017 11:34:15 +0000 (13:34 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 26 Jul 2018 22:23:59 +0000 (15:23 -0700)
commit8ee48233566624826d185bf63735cc01d7113fce
tree8c71b267a98c1f26ff02d8000d08603a4d955140
parent9a3956da1c0a59b5853594d9a498289d9773df63
net/mlx5e: TX, Use function to access sq_dma object in fifo

Use designated function mlx5e_dma_get() to get
the mlx5e_sq_dma object to be pushed into fifo.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Reviewed-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_tx.c