net/mlx5: fix build without soft counters
authorThierry Herbelot <thierry.herbelot@6wind.com>
Tue, 14 Nov 2017 13:52:44 +0000 (14:52 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Tue, 14 Nov 2017 17:44:24 +0000 (18:44 +0100)
commitcb98affeefff891cfce331cb88e0e93d006693a5
treea83e806734c0e450b7c9c1cb354535645336c4fd
parente49f11365427159317d8c18250c31c2f98bf5dce
net/mlx5: fix build without soft counters

total_length is only visible when SOFT_COUNTERS are enabled

Fixes: 3f13f8c23a7c ("net/mlx5: support hardware TSO")
Cc: stable@dpdk.org
Signed-off-by: Thierry Herbelot <thierry.herbelot@6wind.com>
Acked-by: Nelio Laranjeiro <nelio.laranjeiro@6wind.com>
drivers/net/mlx5/mlx5_rxtx.c