]> asedeno.scripts.mit.edu Git - linux.git/commit
net/mlx5e: Separate dma base address and offset in dma_sync call
authorTariq Toukan <tariqt@mellanox.com>
Mon, 27 Nov 2017 08:35:12 +0000 (10:35 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 28 Mar 2018 00:17:27 +0000 (17:17 -0700)
commitbd658dda423781dbe775a2d87d662a3145ec05a6
tree32f0c0bd793a2fab9facd39379478b7454756586
parent73faf36c5ae6b300490f0a5f2835fa702adef0e1
net/mlx5e: Separate dma base address and offset in dma_sync call

Pass the base dma address and offset to dma_sync_single_range_for_cpu(),
instead of doing the pre-calculation.

Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/en_rx.c