net/mlx5: update Tx error handling routine