net/mlx5e: kTLS, Remove redundant posts in TX resync flow
authorTariq Toukan <tariqt@mellanox.com>
Mon, 13 Jan 2020 12:46:09 +0000 (14:46 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jan 2020 15:45:23 +0000 (16:45 +0100)
commit43eda24c6f75cdeaf7780fdb18142d5a45601d02
tree4d084aa8e25086cf5eab0939d23917667059b786
parent384faad2ad5a49c56e4e7c931533f7e2a6368f84
net/mlx5e: kTLS, Remove redundant posts in TX resync flow

commit 1e92899791358dba94a9db7cc3b6004636b5a2f6 upstream.

The call to tx_post_resync_params() is done earlier in the flow,
the post of the control WQEs is unnecessarily repeated. Remove it.

Fixes: 700ec4974240 ("net/mlx5e: kTLS, Fix missing SQ edge fill")
Signed-off-by: Tariq Toukan <tariqt@mellanox.com>
Signed-off-by: Boris Pismenny <borisp@mellanox.com>
Reviewed-by: Boris Pismenny <borisp@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/mellanox/mlx5/core/en_accel/ktls_tx.c