]> git.proxmox.com Git - mirror_ubuntu-focal-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)
committerStefan Bader <stefan.bader@canonical.com>
Fri, 3 Apr 2020 13:17:23 +0000 (15:17 +0200)
commit7389fc96f77945e94a35211a62aec242480834ee
tree1a045dbb49b23169999115bf2a64c5858d5327be
parent5f9db9076afd1bf6408a8659e9b2d2827aa6359e
net/mlx5: DR, Fix postsend actions write length

BugLink: https://bugs.launchpad.net/bugs/1870142
[ Upstream commit 692b0399a22530b2de8490bea75a7d20d59391d0 ]

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>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_action.c
drivers/net/ethernet/mellanox/mlx5/core/steering/dr_send.c