net/mlx5: FPGA, Properly initialize dma direction on fpga conn send
authorIlya Lesokhin <ilyal@mellanox.com>
Tue, 14 Nov 2017 08:30:55 +0000 (10:30 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Wed, 30 May 2018 00:27:50 +0000 (17:27 -0700)
commitba869ee0e0f53077f58ce43a9381b4ee0a20cdd6
tree7091b8eea41e8f90a9f7cb3588c96386c89e48ab
parent90275d809ab982a7fdc1f2ed5b0fe3e4c55a5257
net/mlx5: FPGA, Properly initialize dma direction on fpga conn send

Properly initialize dma direction on fpga conn send.
Do not rely on dma_dir == 0 (DMA_BIDIRECTIONAL).

Signed-off-by: Ilya Lesokhin <ilyal@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/fpga/conn.c