net/mlx5: fix index handling for Tx ring