net/mlx5: DR, Fix postsend actions write length
authorHamdan Igbaria <hamdani@mellanox.com>
Mon, 24 Feb 2020 12:41:29 +0000 (14:41 +0200)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 5 Mar 2020 23:13:33 +0000 (15:13 -0800)
commit692b0399a22530b2de8490bea75a7d20d59391d0
tree48513c05781c0abe7f7afc244d77a0e9096c0e6a
parent3b4f06c715d0d3ecd6497275e3c85fe91462d0ee
net/mlx5: DR, Fix postsend actions write length

Fix the send info write length to be (actions x action) size in bytes.

Fixes: 297cccebdc5a ("net/mlx5: DR, Expose an internal API to issue RDMA operations")
Signed-off-by: Hamdan Igbaria <hamdani@mellanox.com>
Reviewed-by: Alex Vesker <valex@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c