Introduced a run time command to change the
log level for a given log type. Added the
necessary documentation.
Signed-off-by: Elza Mathew
---
app/test-pmd/cmdline.c | 53 +
doc/guides/testpmd_app_ug/testpmd_funcs.rst | 19 +++
2 files
Introduced a run time command to change the
log level for a given log type. Added the
necessary documentation.
V2: Changed the position of the command in
the documentation since generic commands
are placed at the beginning.
Signed-off-by: Elza Mathew
---
app/test-pmd/cmdline.c
command enables
the user to decide if the zero values should be shown while
displaying xstats.
Signed-off-by: Jianfeng Tan
Signed-off-by: Elza Mathew
---
app/test-pmd/cmdline.c | 47 +
app/test-pmd/config.c | 11 ++-
ap
Compile-time function selection can potentially lead to
lower performance on generic builds done by distros.
Replaced compile time flag checks with run-time function
selection.
Signed-off-by: Elza Mathew
---
lib/librte_hash/rte_fbk_hash.c | 11 ++-
lib/librte_hash/rte_fbk_hash.h | 8
Compile-time function selection can potentially lead to
lower performance on generic builds done by distros.
Replaced compile time flag checks with run-time function
selection.
Signed-off-by: Elza Mathew
---
lib/librte_hash/rte_cuckoo_hash.c | 10 +-
lib/librte_hash/rte_cuckoo_hash.h
Compile-time function selection can potentially lead to
lower performance on generic builds done by distros.
Replaced compile time flag checks with run-time
function selection.
Signed-off-by: Elza Mathew
---
lib/librte_net/rte_net_crc.c | 22 +-
1 file changed, 13 insertions
Introduced a check to detect if the stats IDs being
requested are all basic stats IDs. In that case,
ensured that only the basic stats would be retrieved.
Previously, both basic stats and xstats were being
retrieved even if all the IDs were basic stats IDs.
Signed-off-by: Elza Mathew
---
lib
Moved the code to get the basic stats names and values
into static functions.
Signed-off-by: Elza Mathew
---
lib/librte_ether/rte_ethdev.c | 156 --
1 file changed, 91 insertions(+), 65 deletions(-)
diff --git a/lib/librte_ether/rte_ethdev.c b/lib
8 matches
Mail list logo