]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitc70ad8189a5d291b98257f1c589e22e6c2c15750
tree48513c05781c0abe7f7afc244d77a0e9096c0e6a
parent78458a9309917013237c2d634620c524ea64c0ea
net/mlx5: DR, Fix postsend actions write length

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

Fixes: 8d7d901ac5f5 ("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