341a793eb1
The ep struct is used to track what type of stats are required by the
client. For PORT_STATS type, it contains the lists of port and metric
ids to query, and the number of ids in each list.
The ep struct has values set (num of port and metric ids) when a request
for port stats values by name is received. However, after this value
assignment, the struct is reset to all 0 values, meaning the number of
port and metric ids required now both show as 0, and the client will not
receive the requested data in response. To fix this issue, the memset
call is now moved above the ep struct value assignment.
Fixes:
|
||
---|---|---|
.. | ||
Makefile | ||
meson.build | ||
rte_telemetry_internal.h | ||
rte_telemetry_parser_test.c | ||
rte_telemetry_parser.c | ||
rte_telemetry_parser.h | ||
rte_telemetry_socket_tests.h | ||
rte_telemetry_version.map | ||
rte_telemetry.c | ||
rte_telemetry.h |