[dpdk-dev] [PATCH] app/testpmd: change log level at run time

2018-01-19 Thread Elza Mathew
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

[dpdk-dev] [PATCH v2] app/testpmd: change log level at run time

2018-01-22 Thread Elza Mathew
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

[dpdk-dev] [PATCH] app/testpmd: refine xstats show

2017-10-20 Thread Elza Mathew
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

[dpdk-dev] [PATCH 2/3] hash: run-time function selection

2017-11-06 Thread Elza Mathew
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

[dpdk-dev] [PATCH 1/3] hash: run-time function selection

2017-11-06 Thread Elza Mathew
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

[dpdk-dev] [PATCH 3/3] net: run-time function selection

2017-11-06 Thread Elza Mathew
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

[dpdk-dev] [PATCH 2/2] lib: optimize _xstats_by_ids APIs

2017-12-05 Thread Elza Mathew
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

[dpdk-dev] [PATCH 1/2] lib: refactor basic stats code

2017-12-05 Thread Elza Mathew
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