net/mlx5: remove unused calculation in RSS expansion
authorMichael Baum <michaelba@nvidia.com>
Wed, 11 Nov 2020 07:36:44 +0000 (07:36 +0000)
committerFerruh Yigit <ferruh.yigit@intel.com>
Sat, 14 Nov 2020 00:36:19 +0000 (01:36 +0100)
commit8b3799531b9bc46fb518c4ec84f4960ecc78a0d0
treec710c437653f757df88b87619a216ccd5eb122a2
parent0064bf431899b19c37960dd77523525497a5964e
net/mlx5: remove unused calculation in RSS expansion

The RSS flow expansion get a memory buffer to fill the new patterns of
the expanded flows.
This memory management saves the next address to write into the buffer
in a dedicated variable.

The calculation for the next address was wrongly also done when all the
patterns were ready.

Remove it.

Fixes: 4ed05fcd441b ("ethdev: add flow API to expand RSS flows")
Cc: stable@dpdk.org
Signed-off-by: Michael Baum <michaelba@nvidia.com>
Acked-by: Matan Azrad <matan@nvidia.com>
drivers/net/mlx5/mlx5_flow.c