[dpdk-dev] [PATCH 1/1] testpmd_ug: update userguide with xstats commands

2016-09-07 Thread Maryam Tahhan
Update the testpmd user guide with instructions for retrieving extended NIC statistics. Signed-off-by: Maryam Tahhan --- doc/guides/testpmd_app_ug/testpmd_funcs.rst | 17 ++--- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/doc/guides/testpmd_app_ug/testpmd_funcs.rst

[dpdk-dev] [PATCH v2 1/1] dpdk_procinfo: check for primary process

2016-09-07 Thread Maryam Tahhan
Add a check to see if the primary process is running and exit gracefully if it is not. v2: * Updated to tone down message and remove unnecessary brackets. Suggested-by: Patrick Kutch Signed-off-by: Maryam Tahhan --- app/proc_info/main.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[dpdk-dev] [PATCH v2 1/1] ethdev: remove the imissed deprecation tag

2015-10-20 Thread Maryam Tahhan
emove driver specific stats") Signed-off-by: Maryam Tahhan --- v2: - Clarify why imissed is no longer deprecated. - Improve definition of imissed in the documentation. --- doc/guides/rel_notes/deprecation.rst | 2 +- lib/librte_ether/rte_ethdev.h| 4 +++- 2 files changed, 4 insert

[dpdk-dev] [PATCH v2 1/1] ethdev: distinguish between drop and error stats

2015-10-19 Thread Maryam Tahhan
ets. Where the # of errors can be >= the packets received (without overlap between registers), this is because there may be multiple errors associated with a packet. v2: - Added detailed descriptions for ierrors and ipkterrors. Signed-off-by: Maryam Tahhan --- lib/librte_ether/rte_ethdev.

[dpdk-dev] [PATCH] ethdev: distinguish between drop and error stats

2015-10-02 Thread Maryam Tahhan
ets. Where the # of errors can be >= the packets received (without overlap between registers), this is because there may be multiple errors associated with a packet. Signed-off-by: Maryam Tahhan --- lib/librte_ether/rte_ethdev.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff

[dpdk-dev] [PATCH] ethdev: remove the imissed deprecation tag

2015-09-30 Thread Maryam Tahhan
Remove the deprecation tag and notice for imissed. Signed-off-by: Maryam Tahhan --- doc/guides/rel_notes/deprecation.rst | 2 +- lib/librte_ether/rte_ethdev.h| 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/guides/rel_notes/deprecation.rst b/doc/guides

[dpdk-dev] [PATCH v1 1/1] ixgbe: Fix oerrors by setting it to 0

2015-07-28 Thread Maryam Tahhan
intain a persistent value per port oerrors has now been set to 0. References to txdgpc is now removed as we don't use it. This patch also removes rxnfgpc as it's not used anywhere. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 17 +++-- 1 file changed, 3 insertions(

[dpdk-dev] [PATCH v2 1/1] ixgbe: Fix phy errors in stats->ierrors

2015-07-20 Thread Maryam Tahhan
ding packets to the interface without forwarding enabled - packets should be dropped and the error counters incremented. v2: - specified the commit that this bug fix fixes. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)

[dpdk-dev] [PATCH v1 1/1] ixgbe: Fix phy errors in stats->ierrors

2015-07-20 Thread Maryam Tahhan
ed - packets should be dropped and the error counters incremented. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 3a8cff0..09

[dpdk-dev] [PATCH v6 9/9] doc: Add documentation for proc_info

2015-07-15 Thread Maryam Tahhan
Add a guide for the proc_info application. Signed-off-by: Maryam Tahhan --- doc/guides/sample_app_ug/index.rst | 1 + doc/guides/sample_app_ug/proc_info.rst | 71 ++ 2 files changed, 72 insertions(+) create mode 100644 doc/guides/sample_app_ug/proc_info.rst

[dpdk-dev] [PATCH v6 8/9] app: add a new app proc_info

2015-07-15 Thread Maryam Tahhan
proc_info displays statistics information including extended stats for given DPDK ports and dumps the memory information for DPDK. Signed-off-by: Maryam Tahhan --- MAINTAINERS| 4 + app/Makefile | 1 + app/proc_info/Makefile | 45 +++ app/proc_info/main.c | 354

[dpdk-dev] [PATCH v6 7/9] app: remove dump_cfg

2015-07-15 Thread Maryam Tahhan
Remove the dump_cfg application, this will be replaced by a new app called proc_info that will implement the same functionality as dump_cfg and extend it to retrieve statistics for DPDK ports. Signed-off-by: Maryam Tahhan --- app/Makefile | 1 - app/dump_cfg/Makefile | 45

[dpdk-dev] [PATCH v6 6/9] ixgbe: return more errors in ierrors

2015-07-15 Thread Maryam Tahhan
ierrors only included a base set of error statistics, this patch adds additional error registers to ierrors. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b

[dpdk-dev] [PATCH v6 5/9] ixgbe: add NIC specific stats removed from ethdev

2015-07-15 Thread Maryam Tahhan
Add the NIC/HW specific stats that were removed from rte_ethdev.c to the extended stats in ixgbe. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 31 ++- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/drivers/net/ixgbe

[dpdk-dev] [PATCH v6 4/9] ethdev: remove HW specific stats in stats structs

2015-07-15 Thread Maryam Tahhan
Remove non generic stats in rte_stats_strings and mark the relevant fields in struct rte_eth_stats as deprecated. Signed-off-by: Maryam Tahhan --- doc/guides/rel_notes/abi.rst | 12 lib/librte_ether/rte_ethdev.c | 9 - lib/librte_ether/rte_ethdev.h | 30

[dpdk-dev] [PATCH v6 3/9] ethdev: expose extended error stats

2015-07-15 Thread Maryam Tahhan
Extend rte_eth_xstats_get to retrieve additional stats from the device driver as well the ethdev generic stats. Signed-off-by: Maryam Tahhan --- lib/librte_ether/rte_ethdev.c | 31 --- 1 file changed, 20 insertions(+), 11 deletions(-) mode change 100644 => 100

[dpdk-dev] [PATCH v6 2/9] ixgbe: add functions to get and reset xstats

2015-07-15 Thread Maryam Tahhan
Implement ixgbe_dev_xstats_reset and ixgbe_dev_xstats_get. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 87 1 file changed, 87 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index

[dpdk-dev] [PATCH v6 1/9] ixgbe: move stats register reads to a new function

2015-07-15 Thread Maryam Tahhan
Move stats register reads to ixgbe_read_stats_registers() as it will be used by the functions to retrieve stats and extended stats. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 64 +++- 1 file changed, 44 insertions(+), 20 deletions

[dpdk-dev] [PATCH v6 0/9] Expose IXGBE extended stats to DPDK apps

2015-07-15 Thread Maryam Tahhan
proc_info copyright year. - Display queue stats for all devices in proc_info. v6: - Modified the driver implementation of ixgbe_dev_xstats_get() so that it doesn't worry about the generic stats written by the generic layer. Maryam Tahhan (9): ixgbe: move stats register reads to a new function

[dpdk-dev] [PATCH v5 9/9] doc: Add documentation for proc_info

2015-07-13 Thread Maryam Tahhan
Add a guide for the proc_info application. Signed-off-by: Maryam Tahhan --- doc/guides/sample_app_ug/index.rst | 1 + doc/guides/sample_app_ug/proc_info.rst | 71 ++ 2 files changed, 72 insertions(+) create mode 100644 doc/guides/sample_app_ug/proc_info.rst

[dpdk-dev] [PATCH v5 8/9] app: add a new app proc_info

2015-07-13 Thread Maryam Tahhan
proc_info displays statistics information including extended stats for given DPDK ports and dumps the memory information for DPDK. Signed-off-by: Maryam Tahhan --- MAINTAINERS| 4 + app/Makefile | 1 + app/proc_info/Makefile | 45 +++ app/proc_info/main.c | 354

[dpdk-dev] [PATCH v5 7/9] app: remove dump_cfg

2015-07-13 Thread Maryam Tahhan
Remove the dump_cfg application, this will be replaced by a new app called proc_info that will implement the same functionality as dump_cfg and extend it to retrieve statistics for DPDK ports. Signed-off-by: Maryam Tahhan --- app/Makefile | 1 - app/dump_cfg/Makefile | 45

[dpdk-dev] [PATCH v5 6/9] ixgbe: return more errors in ierrors

2015-07-13 Thread Maryam Tahhan
ierrors only included a base set of error statistics, this patch adds additional error registers to ierrors. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b

[dpdk-dev] [PATCH v5 5/9] ixgbe: add NIC specific stats removed from ethdev

2015-07-13 Thread Maryam Tahhan
Add the NIC/HW specific stats that were removed from rte_ethdev.c to the extended stats in ixgbe. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 31 ++- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/drivers/net/ixgbe

[dpdk-dev] [PATCH v5 3/9] ethdev: expose extended error stats

2015-07-13 Thread Maryam Tahhan
Extend rte_eth_xstats_get to retrieve additional stats from the device driver as well the ethdev generic stats. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 7 --- lib/librte_ether/rte_ethdev.c| 25 - 2 files changed, 20 insertions(+), 12

[dpdk-dev] [PATCH v5 2/9] ixgbe: add functions to get and reset xstats

2015-07-13 Thread Maryam Tahhan
Implement ixgbe_dev_xstats_reset and ixgbe_dev_xstats_get. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 87 1 file changed, 87 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index

[dpdk-dev] [PATCH v5 1/9] ixgbe: move stats register reads to a new function

2015-07-13 Thread Maryam Tahhan
Move stats register reads to ixgbe_read_stats_registers() as it will be used by the functions to retrieve stats and extended stats. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 64 +++- 1 file changed, 44 insertions(+), 20 deletions

[dpdk-dev] [PATCH v4 8/8] app: add a new app proc_info

2015-07-05 Thread Maryam Tahhan
proc_info displays statistics information including extened stats for given DPDK ports and dumps the memory information for DPDK. Signed-off-by: Maryam Tahhan --- MAINTAINERS| 4 + app/Makefile | 1 + app/proc_info/Makefile | 45 + app/proc_info/main.c | 512

[dpdk-dev] [PATCH v4 7/8] app: remove dump_cfg

2015-07-05 Thread Maryam Tahhan
Remove the dump_cfg application, this will be replaced by a new app called proc_info that will implement the same functionality as dump_cfg and extend it to retrieve statistics for DPDK ports. Signed-off-by: Maryam Tahhan --- app/Makefile | 1 - app/dump_cfg/Makefile | 45

[dpdk-dev] [PATCH v4 6/8] ixgbe: return more errors in ierrors

2015-07-05 Thread Maryam Tahhan
ierrors only included a base set of error statistics, this patch adds additional error registers to ierrors. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 11 ++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b

[dpdk-dev] [PATCH v4 5/8] ixgbe: add NIC specific stats removed from ethdev

2015-07-05 Thread Maryam Tahhan
Add the NIC/HW specific stats that were removed from rte_ethdev.c to the extended stats in ixgbe. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 31 ++- 1 file changed, 14 insertions(+), 17 deletions(-) diff --git a/drivers/net/ixgbe

[dpdk-dev] [PATCH v4 4/8] ethdev: remove HW specific stats in stats structs

2015-07-05 Thread Maryam Tahhan
Remove non generic stats in rte_stats_strings and mark the relevant fields in struct rte_eth_stats as deprecated. Signed-off-by: Maryam Tahhan --- doc/guides/rel_notes/abi.rst | 11 +++ lib/librte_ether/rte_ethdev.c | 9 - lib/librte_ether/rte_ethdev.h | 30

[dpdk-dev] [PATCH v4 3/8] ethdev: expose extended error stats

2015-07-05 Thread Maryam Tahhan
Extend rte_eth_xstats_get to retrieve additional stats from the device driver as well the ethdev generic stats. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 7 --- lib/librte_ether/rte_ethdev.c| 25 - 2 files changed, 20 insertions(+), 12

[dpdk-dev] [PATCH v4 2/8] ixgbe: add functions to get and reset xstats

2015-07-05 Thread Maryam Tahhan
Implement ixgbe_dev_xstats_reset and ixgbe_dev_xstats_get. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 87 1 file changed, 87 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index

[dpdk-dev] [PATCH v4 1/8] ixgbe: move stats register reads to a new function

2015-07-05 Thread Maryam Tahhan
Move stats register reads to ixgbe_read_stats_registers() as it will be used by the functions to retrieve stats and extended stats. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 64 +++- 1 file changed, 44 insertions(+), 20 deletions

[dpdk-dev] [PATCH v4 0/8] Expose IXGBE extended stats to DPDK apps

2015-07-05 Thread Maryam Tahhan
d NIC specific stats removed from ethdev" into two patches, one that adds the stats and another that extends ierrors to include more error stats. - Remove second call to ixgbe_dev_xstats_get() from rte_eth_xstats_get(). Maryam Tahhan (8): ixgbe: move stats register reads to a ne

[dpdk-dev] [PATCH v3 7/7] app: add a new app proc_info

2015-06-26 Thread Maryam Tahhan
proc_info displays statistics information including extened stats for given DPDK ports and dumps the memory information for DPDK. Signed-off-by: Maryam Tahhan --- MAINTAINERS| 4 + app/Makefile | 1 + app/proc_info/Makefile | 45 + app/proc_info/main.c | 512

[dpdk-dev] [PATCH v3 6/7] app: remove dump_cfg

2015-06-26 Thread Maryam Tahhan
Remove the dump_cfg application, this will be replaced by a new app called proc_info that will implement the same functionality as dump_cfg and extend it to retrieve statistics for DPDK ports. Signed-off-by: Maryam Tahhan --- app/Makefile | 1 - app/dump_cfg/Makefile | 45

[dpdk-dev] [PATCH v3 5/7] ixgbe: add NIC specific stats removed from ethdev

2015-06-26 Thread Maryam Tahhan
Add the NIC/HW specific stats that were removed from rte_ethdev.c to the extended stats in ixgbe. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 43 ++-- 1 file changed, 24 insertions(+), 19 deletions(-) diff --git a/drivers/net/ixgbe

[dpdk-dev] [PATCH v3 4/7] ethdev: remove HW specific stats in stats structs

2015-06-26 Thread Maryam Tahhan
Remove non generic stats in rte_stats_strings and mark the relevant fields in struct rte_eth_stats as deprecated. Signed-off-by: Maryam Tahhan --- doc/guides/rel_notes/abi.rst | 11 +++ lib/librte_ether/rte_ethdev.c | 9 - lib/librte_ether/rte_ethdev.h | 30

[dpdk-dev] [PATCH v3 3/7] ethdev: expose extended error stats

2015-06-26 Thread Maryam Tahhan
Extend rte_eth_xstats_get to retrieve additional stats from the device driver as well the ethdev generic stats. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 2 +- lib/librte_ether/rte_ethdev.c| 20 ++-- 2 files changed, 15 insertions(+), 7 deletions

[dpdk-dev] [PATCH v3 2/7] ixgbe: add functions to get and reset xstats

2015-06-26 Thread Maryam Tahhan
Implement ixgbe_dev_xstats_reset and ixgbe_dev_xstats_get. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 85 1 file changed, 85 insertions(+) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index

[dpdk-dev] [PATCH v3 1/7] ixgbe: move stats register reads to a new function

2015-06-26 Thread Maryam Tahhan
Move stats register reads to ixgbe_read_stats_registers() as it will be used by the functions to retrieve stats and extended stats. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 64 +++- 1 file changed, 44 insertions(+), 20 deletions

[dpdk-dev] [PATCH v3 0/7] Expose IXGBE extended stats to DPDK apps

2015-06-26 Thread Maryam Tahhan
stats fields in rte_stats_strings and deprecates the fields related to them in struct rte_eth_stats. - Modifies rte_eth_xstats_get() to return generic stats and extended stats. Maryam Tahhan (7): ixgbe: move stats register reads to a new function ixgbe: add functions to get and reset xstats

[dpdk-dev] [PATCH v2 7/7] app: add a new app proc_info

2015-06-09 Thread Maryam Tahhan
proc_info displays statistics information including extened stats for given DPDK ports and dumps the memory information for DPDK. Signed-off-by: Maryam Tahhan --- MAINTAINERS| 4 + app/Makefile | 1 + app/proc_info/Makefile | 45 + app/proc_info/main.c | 514

[dpdk-dev] [PATCH v2 6/7] app: remove dump_cfg

2015-06-09 Thread Maryam Tahhan
Remove the dump_cfg application, this will be replaced by a new app called proc_info that will implement the same functionality as dump_cfg and extend it to retrieve statistics for DPDK ports. Signed-off-by: Maryam Tahhan --- app/Makefile | 1 - app/dump_cfg/Makefile | 45

[dpdk-dev] [PATCH v2 5/7] testpmd: extend testpmd to show all extended stats

2015-06-09 Thread Maryam Tahhan
Extend testpmd to show additional aggregate extended stats. Signed-off-by: Maryam Tahhan --- app/test-pmd/config.c | 5 + 1 file changed, 5 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index f788ed5..b42d83f 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd

[dpdk-dev] [PATCH v2 4/7] ethdev: expose extended error stats

2015-06-09 Thread Maryam Tahhan
Extend rte_eth_xstats_get to retrieve additional stats from the device driver as well the top level extended stats. Signed-off-by: Maryam Tahhan --- lib/librte_ether/rte_ethdev.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lib/librte_ether/rte_ethdev.c b/lib

[dpdk-dev] [PATCH v2 3/7] ixgbe: Expose extended error statistics

2015-06-09 Thread Maryam Tahhan
Implement xstats_get() and xstats_reset() in dev_ops for ixgbe to expose detailed error statistics to DPDK applications. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 85 1 file changed, 85 insertions(+) diff --git a/drivers/net

[dpdk-dev] [PATCH v2 1/7] ethdev: add additional error stats

2015-06-09 Thread Maryam Tahhan
Add MAC error and drop statistics to struct rte_eth_stats and the extended stats. Signed-off-by: Maryam Tahhan --- lib/librte_ether/rte_ethdev.c | 4 lib/librte_ether/rte_ethdev.h | 4 2 files changed, 8 insertions(+) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether

[dpdk-dev] [PATCH v2 0/7] Expose IXGBE extended stats to DPDK apps

2015-06-09 Thread Maryam Tahhan
functionality. test_pmd was also extended to display additional statistics. Maryam Tahhan (7): ethdev: add additional error stats ixgbe: move stats register reads to a new function ixgbe: Expose extended error statistics ethdev: expose extended error stats testpmd: extend testpmd to show all

[dpdk-dev] [PATCH 4/4] app: replace dump_cfg with proc_info

2015-06-05 Thread Maryam Tahhan
Extend dump_cfg to also display statistcs information for given DPDK ports and rename the application to proc_info as it's now a utility doing a little more than just dumping the memory information for DPDK. Signed-off-by: Maryam Tahhan --- app/Makefile | 2 +- app/dump_cfg/Makefile

[dpdk-dev] [PATCH 3/4] testpmd: extend testpmd to show all extended stats

2015-06-05 Thread Maryam Tahhan
Extend testpmd to show additional aggregate extended stats. Signed-off-by: Maryam Tahhan --- app/test-pmd/config.c | 5 + 1 file changed, 5 insertions(+) diff --git a/app/test-pmd/config.c b/app/test-pmd/config.c index f788ed5..b42d83f 100644 --- a/app/test-pmd/config.c +++ b/app/test-pmd

[dpdk-dev] [PATCH 2/4] ethdev: expose extended error stats

2015-06-05 Thread Maryam Tahhan
Extend rte_eth_xstats_get to retrieve additional stats from the device driver as well the top level extended stats. Add additional drop counters to the extended stats. Signed-off-by: Maryam Tahhan --- lib/librte_ether/rte_ethdev.c | 12 lib/librte_ether/rte_ethdev.h | 4 2

[dpdk-dev] [PATCH 1/4] ixgbe: expose extended error statistics

2015-06-05 Thread Maryam Tahhan
Implement xstats_get() and xstats_reset() in dev_ops for ixgbe to expose detailed error statistics to DPDK applications. Signed-off-by: Maryam Tahhan --- drivers/net/ixgbe/ixgbe_ethdev.c | 160 +-- 1 file changed, 138 insertions(+), 22 deletions(-) diff

[dpdk-dev] [PATCH 0/4] expose ixgbe extended stats to dpdk apps

2015-06-05 Thread Maryam Tahhan
functionality. The testpmd app was also extended to display additional statistics. Maryam Tahhan (4): ixgbe: expose extended error statistics ethdev: expose extended error stats testpmd: extend testpmd to show all extended stats app: replace dump_cfg with proc_info app/Makefile