dpdk: fix extended stat strings
- These were displaying blank, apparently dpdk extended stat strings must be within the heap so they are identified as vectors by format_c_identifier even though they are not. Type: fix Change-Id: I2b153b100203b9856ce3af6d5ecb2daae410fb5b Signed-off-by: Christian Hopps <chopps@labn.net>
This commit is contained in:

committed by
Damjan Marion

parent
527746ff06
commit
cd64f73951
@@ -710,9 +710,9 @@ format_dpdk_device (u8 * s, va_list * args)
|
||||
xstat = vec_elt_at_index(xd->xstats, i);
|
||||
if (verbose == 2 || (verbose && xstat->value))
|
||||
{
|
||||
xs = format(xs, "\n%U%-38U%16Lu",
|
||||
xs = format(xs, "\n%U%-38s%16Lu",
|
||||
format_white_space, indent + 4,
|
||||
format_c_identifier, xstat_names[i].name,
|
||||
xstat_names[i].name,
|
||||
xstat->value);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user