[dpdk-dev] [PATCH 7/7] examples/eventdev_pipeline: adding example

2016-11-16 Thread Harry van Haaren
igned-off-by: Bruce Richardson Signed-off-by: Harry van Haaren --- examples/eventdev_pipeline/Makefile | 49 +++ examples/eventdev_pipeline/main.c | 718 2 files changed, 767 insertions(+) create mode 100644 examples/eventdev_pipeline/Makefile create m

[dpdk-dev] [PATCH 6/7] test/eventdev: unit func makefiles

2016-11-16 Thread Harry van Haaren
nit_autotest Signed-off-by: Gage Eads Signed-off-by: David Hunt Signed-off-by: Harry van Haaren --- app/test/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/test/Makefile b/app/test/Makefile index 5be023a..6d43cb7 100644 --- a/app/test/Makefile +++ b/app/test/Makefile @@ -197,6 +1

[dpdk-dev] [PATCH 5/7] test/eventdev: unit and functional tests

2016-11-16 Thread Harry van Haaren
This commit adds basic unit and functional tests for the eventdev API. The test code is added in this commit, but not yet enabled until the next commit. Signed-off-by: Gage Eads Signed-off-by: David Hunt Signed-off-by: Harry van Haaren --- app/test/test_eventdev_func.c | 1268

[dpdk-dev] [PATCH 4/7] event/sw: makefiles and config

2016-11-16 Thread Harry van Haaren
-by: Harry van Haaren --- config/common_base | 6 ++ drivers/event/Makefile | 2 ++ mk/rte.app.mk | 4 3 files changed, 12 insertions(+) diff --git a/config/common_base b/config/common_base index a0a07f6..862178a 100644 --- a/config/common_base +++ b/config/common_base

[dpdk-dev] [PATCH 3/7] event/sw: software eventdev implementation

2016-11-16 Thread Harry van Haaren
' enqueue (etc) functions - sw_evdev_scheduler.cCore pkt scheduling implementation This commit only adds the implementation, no existing DPDK files are modified. Signed-off-by: Gage Eads Signed-off-by: Bruce Richardson Signed-off-by: Harry van Haaren --- drivers/event/sw/Makefile

[dpdk-dev] [PATCH 2/7] eventdev: makefiles

2016-11-16 Thread Harry van Haaren
Makefiles that compile the previously committed eventdev header and infrastructure files. This commit changes the Makefiles and config/base to add the config options of building the eventdev. Signed-off-by: Gage Eads Signed-off-by: Bruce Richardson Signed-off-by: Harry van Haaren --- config

[dpdk-dev] [PATCH 1/7] eventdev: header and implementation

2016-11-16 Thread Harry van Haaren
] This commit does not change any existing DPDK code - only adds the eventdev header and infrastructure. Signed-off-by: Gage Eads Signed-off-by: Bruce Richardson Signed-off-by: Harry van Haaren [1] http://dpdk.org/ml/archives/dev/2016-August/045181.html [2] http://dpdk.org/ml/archives/dev/2016

[dpdk-dev] [RFC PATCH 0/7] RFC: EventDev Software PMD

2016-11-16 Thread Harry van Haaren
-by: Harry van Haaren [1] http://dpdk.org/ml/archives/dev/2016-August/045181.html [2] http://dpdk.org/ml/archives/dev/2016-October/thread.html#48196 Harry van Haaren (7): eventdev: header and implementation eventdev: makefiles event/sw: software eventdev implementation event/sw: makefiles

[dpdk-dev] [PATCH] doc: update multi process memory image

2016-04-06 Thread Harry van Haaren
This patch updates the titles in the multiprocess memory image to read "Primary Process" and "Secondary Process" instead of "DPDK Server Process" and "Customer Client Process". The rest of the image has been converted from PNG to SVG. Signed-off-by:

[dpdk-dev] [PATCH] doc: announce xstats api change for 16.07

2016-04-05 Thread Harry van Haaren
This patch adds a notice that the API for the xstats functionality will be modified in the 16.07 release, with no backwards compatibility planned as it would require code duplication in each PMD that supports xstats. Signed-off-by: Harry van Haaren --- doc/guides/rel_notes/deprecation.rst | 5

[dpdk-dev] [PATCH v9 2/2] eal: add function to check if primary proc alive

2016-03-09 Thread Harry van Haaren
-by: Harry van Haaren Acked-by: Maryam Tahhan --- doc/guides/rel_notes/release_16_04.rst | 8 lib/librte_eal/bsdapp/eal/Makefile | 1 + lib/librte_eal/bsdapp/eal/rte_eal_version.map | 1 + lib/librte_eal/common/eal_common_proc.c | 61 + lib

[dpdk-dev] [PATCH v9 1/2] eal: fix race-condition in pri/sec proc startup

2016-03-09 Thread Harry van Haaren
EAL: Fixes: 764bf26873b9 ("add FreeBSD support") Signed-off-by: Harry van Haaren --- lib/librte_eal/bsdapp/eal/eal.c | 6 +++--- lib/librte_eal/linuxapp/eal/eal.c | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/librte_eal/bsdapp/eal/eal.c b/lib/librte_eal/bs

[dpdk-dev] [PATCH v9 0/2] eal: add function to check primary alive

2016-03-09 Thread Harry van Haaren
to master (Makefile conflicts) v4: - Rebased to git head (2.3 -> 16.04 changes) v3: - Fixed Copyright years v2: - Passing NULL as const char* uses default /var/run/.rte_config - Moved co Harry van Haaren (2): eal: fix race-condition in pri/sec proc startup eal: add function to check if primary p

[dpdk-dev] [PATCH v8 2/2] eal: add function to check if primary proc alive

2016-03-09 Thread Harry van Haaren
-by: Harry van Haaren Acked-by: Maryam Tahhan --- doc/guides/rel_notes/release_16_04.rst | 8 lib/librte_eal/bsdapp/eal/Makefile | 1 + lib/librte_eal/bsdapp/eal/rte_eal_version.map | 1 + lib/librte_eal/common/eal_common_proc.c | 61 + lib

[dpdk-dev] [PATCH v8 1/2] eal: fix race-condition in pri/sec proc startup

2016-03-09 Thread Harry van Haaren
an error during rte_eal_init() Linux EAL: Fixes: 916e4f4f4e45 ("memory: fix for multi process support") BSD EAL: Fixes: 764bf26873b9 ("add FreeBSD support") Signed-off-by: Harry van Haaren --- lib/librte_eal/bsdapp/eal/eal.c | 6 +++--- lib/librte_eal/linuxapp/eal/eal.c

[dpdk-dev] [PATCH v8 0/2] eal: add function to check primary alive

2016-03-09 Thread Harry van Haaren
to git head (2.3 -> 16.04 changes) v3: - Fixed Copyright years v2: - Passing NULL as const char* uses default /var/run/.rte_config - Moved co Harry van Haaren (2): eal: fix race-condition in pri/sec proc startup eal: add function to check if primary proc alive doc/guides/rel_no

[dpdk-dev] [PATCH v3] docs: add statistics read frequency to fm10k guide

2016-03-08 Thread Harry van Haaren
This patch documents that the statistics of fm10k based NICs must be read regularly in order to avoid an undetected 32 bit integer-overflow. Signed-off-by: Harry van Haaren Acked-by: John McNamara --- v3: -Removed paragraph from "Known Issues" based on feedback v2: -Moved note

[dpdk-dev] [PATCH v7 2/2] eal: add function to check if primary proc alive

2016-03-08 Thread Harry van Haaren
-by: Harry van Haaren Acked-by: Maryam Tahhan --- doc/guides/rel_notes/release_16_04.rst | 8 lib/librte_eal/bsdapp/eal/Makefile | 1 + lib/librte_eal/bsdapp/eal/rte_eal_version.map | 1 + lib/librte_eal/common/include/rte_eal.h | 20 +++- lib

[dpdk-dev] [PATCH v7 1/2] eal: fix race-condition in pri/sec proc startup

2016-03-08 Thread Harry van Haaren
an error during rte_eal_init() Linux EAL: Fixes: 916e4f4f4e45 ("memory: fix for multi process support") BSD EAL: Fixes: 764bf26873b9 ("add FreeBSD support") Signed-off-by: Harry van Haaren --- lib/librte_eal/bsdapp/eal/eal.c | 6 +++--- lib/librte_eal/linuxapp/eal/eal.c

[dpdk-dev] [PATCH v7 0/2] eal: add function to check primary alive

2016-03-08 Thread Harry van Haaren
not rely on rte_eal_init(), as this uses the EAL and thus stops a primary from starting. The functionality provided by this patch is very useful for providing additional services to DPDK primary applications such as monitoring statistics and performing fault detection. Harry van Haaren (2): eal: fix

[dpdk-dev] [PATCH v3] doc/nic: add ixgbe statistics on read frequency

2016-03-08 Thread Harry van Haaren
This patch adds a note to the ixgbe PMD guide, stating the minimum time that statistics must be polled from the hardware in order to avoid register values becoming saturated and "sticking" to the max value. Reported-by: Jerry Zhang Tested-by: Marcin Kerlin Signed-off-by: Harry van Haa

[dpdk-dev] [PATCH v4 3/3] keepalive: fix whitespace, removes double newlines

2016-03-08 Thread Harry van Haaren
This patch removes double newlines between functions in keepalive.[hc] aligning it with the rest of DPDK. Fixes: 75583b0d1efd ("eal: add keep alive monitoring") Signed-off-by: Harry van Haaren --- lib/librte_eal/common/include/rte_keepalive.h | 7 --- lib/librte_eal/common/rte_k

[dpdk-dev] [PATCH v4 2/3] eal: add keepalive core register timestamp

2016-03-08 Thread Harry van Haaren
This patch sets a timestamp on each lcore when it is registered for keepalive. This causes the first values read by the monitor to show time since the core was registered, instead of the delta between 0 and the timestamp counter. Signed-off-by: Harry van Haaren Acked-by: Remy Horton --- lib

[dpdk-dev] [PATCH v4 1/3] doc: fix keepalive sample app guide

2016-03-08 Thread Harry van Haaren
This patch fixes some mismatches between the keepalive code and the docs. Struct names, and descriptions are not in line with the codebase. Fixes: e64833f2273a ("examples/l2fwd-keepalive: add sample application") Signed-off-by: Harry van Haaren Acked-by: John McNamara ---

[dpdk-dev] [PATCH v4 0/3] Keepalive register timestamp and doc update

2016-03-08 Thread Harry van Haaren
This patchset adds a timestamp to when keepalive registers a core, fixes the documentation to be in-line with the source, and fixes whitespace in keepalive.[hc] Harry van Haaren (3): doc: fix keepalive sample app guide eal: add keepalive core register timestamp keepalive: fix whitespace

[dpdk-dev] [PATCH v6] eal: add function to check if primary proc alive

2016-03-07 Thread Harry van Haaren
interfere with the secondary running. Signed-off-by: Harry van Haaren Acked-by: Maryam Tahhan --- v6: - Fix license header v5: - Renamed returns in doc from words to digits - Fixed line spacing in docs - Fixed line spacing in EAL header - Rebased to master (Makefile conflicts) v4: - Rebased

[dpdk-dev] [PATCH v5] eal: add function to check if primary proc alive

2016-03-07 Thread Harry van Haaren
interfere with the secondary running. Signed-off-by: Harry van Haaren Acked-by: Maryam Tahhan --- v5: - Renamed returns in doc from words to digits - Fixed line spacing in docs - Fixed line spacing in EAL header - Rebased to master (Makefile conflicts) v4: - Rebased to git head (2.3 -> 16

[dpdk-dev] [PATCH v2] doc/nic: add ixgbe statistics on read frequency

2016-02-29 Thread Harry van Haaren
This patch adds a note to the ixgbe PMD guide, stating the minimum time that statistics must be polled from the hardware in order to avoid register values becoming saturated and "sticking" to the max value. Reported-by: Jerry Zhang Tested-by: Marcin Kerlin Signed-off-by: Harry

[dpdk-dev] [PATCH] doc/nic: add ixgbe statistics on read frequency

2016-02-29 Thread Harry van Haaren
This patch adds a note to the ixgbe PMD guide, stating the minimum time that statistics must be polled from the hardware in order to avoid register values becoming saturated and "sticking" to the max value. Signed-off-by: Harry van Haaren --- doc/guides/nics/ixgb

[dpdk-dev] [PATCH v4] eal: add function to check if primary proc alive

2016-02-23 Thread Harry van Haaren
interfere with the secondary running. Signed-off-by: Harry van Haaren --- v4: - Rebased to git head (2.3 -> 16.04 changes) v3: - Fixed Copyright years v2: - Passing NULL as const char* uses default /var/run/.rte_config - Moved code into /common/ instead of /linuxapp/, should work on BSD

[dpdk-dev] [PATCH v3 3/3] keepalive: add rte_keepalive_xstats_get()

2016-02-22 Thread Harry van Haaren
This patch adds a function that exposes keepalive statistics using a rte_keepalive_xstats struct. The function provides the client API the opportunity to read last-seen and status of each core. Signed-off-by: Harry van Haaren --- doc/guides/rel_notes/release_16_04.rst | 7 doc

[dpdk-dev] [PATCH v3 2/3] eal: add keepalive core register timestamp

2016-02-22 Thread Harry van Haaren
This patch sets a timestamp on each lcore when it is registered for keepalive. This causes the first values read by the monitor to show time since the core was registered, instead of the delta between 0 and the timestamp counter. Signed-off-by: Harry van Haaren --- lib/librte_eal/common

[dpdk-dev] [PATCH v3 1/3] doc: fix keepalive sample app guide

2016-02-22 Thread Harry van Haaren
This patch fixes some mismatches between the keepalive code and the docs. Struct names, and descriptions are not in line with the codebase. Fixes: e64833f2273a ("examples/l2fwd-keepalive: add sample application") Signed-off-by: Harry van Haaren --- doc/guides/sample_app_ug/keep_aliv

[dpdk-dev] [PATCH v3 0/3] Keepalive stats function and doc fixes

2016-02-22 Thread Harry van Haaren
This patchset contains: 1. Fix variable naming consistency in sample guide 2. Set last_seen time on core when it gets registered 3. An xstats implementation for last-seen and current core status v2: -Refactor to remove rte_ethdev.h include v3: -Rebase to git Harry van Haaren (3): doc: fix

[dpdk-dev] [PATCH] doc/linux gsg: add gcc-multilib as package hint

2016-02-16 Thread Harry van Haaren
When compiling for i686 targets compilation could fail if the 32bit libc6-dev package is not installed. The gcc-multilib packages is a meta-package that will pull in the necessary dependencies, making setup easier for beginners. Reported-by: Weichun Chen Signed-off-by: Harry van Haaren --- doc

[dpdk-dev] [PATCH v2] docs: add statistics read frequency to fm10k guide

2016-02-09 Thread Harry van Haaren
This patch documents that the statistics of fm10k based NICs must be read regularly in order to avoid an undetected 32 bit integer-overflow. Signed-off-by: Harry van Haaren --- v2: -Moved notes to Known Issues section of Release Notes. doc/guides/nics/fm10k.rst| 16

[dpdk-dev] [PATCH] docs: add statistics read frequency to fm10k guide

2016-02-08 Thread Harry van Haaren
This patch documents that the statistics of fm10k based NICs must be read regularly in order to avoid an undetected 32 bit integer-overflow. Signed-off-by: Harry van Haaren --- doc/guides/nics/fm10k.rst| 16 doc/guides/rel_notes/release_2_3.rst | 4 2 files

[dpdk-dev] [PATCH v3] eal: add function to check if primary proc alive

2016-02-02 Thread Harry van Haaren
interfere with the secondary running. Signed-off-by: Harry van Haaren --- v3: - Fixed Copyright years v2: - Passing NULL as const char* uses default /var/run/.rte_config - Moved code into /common/ instead of /linuxapp/, should work on BSD now doc/guides/rel_notes/release_2_3.rst| 7

[dpdk-dev] [PATCH v2] eal: add function to check if primary proc alive

2016-01-27 Thread Harry van Haaren
interfere with the secondary running. Signed-off-by: Harry van Haaren --- v2: - Passing NULL as const char* uses default /var/run/.rte_config - Moved code into /common/ instead of /linuxapp/, should work on BSD now doc/guides/rel_notes/release_2_3.rst| 7 +++ lib/librte_eal/bsdapp

[dpdk-dev] [PATCH v2 3/3] keepalive: add rte_keepalive_xstats_get() and example

2016-01-21 Thread Harry van Haaren
This patch adds a function that exposes keepalive statistics using a rte_keepalive_xstats struct. The function provides the client API the opportunity to read last-seen and status of each core. Signed-off-by: Harry van Haaren --- doc/guides/rel_notes/release_2_3.rst| 6 doc

[dpdk-dev] [PATCH v2 2/3] eal: add keepalive core register timestamp

2016-01-21 Thread Harry van Haaren
This patch sets a timestamp on each lcore when it is registered for keepalive. This causes the first values read by the monitor to show time since the core was registered, instead of the delta between 0 and the timestamp counter. Signed-off-by: Harry van Haaren --- lib/librte_eal/common

[dpdk-dev] [PATCH v2 1/3] doc: fix keepalive sample app guide

2016-01-21 Thread Harry van Haaren
This patch fixes some mismatches between the keepalive code and the docs. Struct names, and descriptions are not in line with the codebase. Fixes: e64833f2273a ("examples/l2fwd-keepalive: add sample application") Signed-off-by: Harry van Haaren --- doc/guides/sample_app_ug/keep_aliv

[dpdk-dev] [PATCH v2 0/3] Keep-alive stats and doc fixes

2016-01-21 Thread Harry van Haaren
This patchset contains: 1. Fix variable naming consistency in sample guide 2. Set last_seen time on core when it gets registered 3. An xstats implementation for last-seen and current core status v2: -Refactor to remove rte_ethdev.h include Harry van Haaren (3): doc: fix keepalive sample app

[dpdk-dev] [PATCH 3/3] keepalive: add rte_keepalive_xstats() and example

2016-01-20 Thread Harry van Haaren
This patch adds a function that exposes keepalive statistics re-using the existing rte_eth_xstats struct. The function provides the client API the opportunity to read last-seen and status of each core. Signed-off-by: Harry van Haaren --- doc/guides/rel_notes/release_2_3.rst| 6

[dpdk-dev] [PATCH 2/3] eal: add keepalive core register timestamp

2016-01-20 Thread Harry van Haaren
This patch sets a timestamp on each lcore when it is registered for keepalive. This causes the first values read by the monitor to show time since the core was registered, instead of the delta between 0 and the timestamp counter. Signed-off-by: Harry van Haaren --- lib/librte_eal/common

[dpdk-dev] [PATCH 1/3] doc: fix keepalive sample app guide

2016-01-20 Thread Harry van Haaren
This patch fixes some mismatches between the keepalive code and the docs. Struct names, and descriptions are not in line with the codebase. Fixes: e64833f2273a ("examples/l2fwd-keepalive: add sample application") Signed-off-by: Harry van Haaren --- doc/guides/sample_app_ug/keep_aliv

[dpdk-dev] [PATCH 0/3] Keep-alive stats and doc fixes

2016-01-20 Thread Harry van Haaren
This patchset contains: 1. Fix variable naming consistency in sample guide 2. Set last_seen time on core when it gets registered 3. An xstats implementation for last-seen and current core status Harry van Haaren (3): doc: fix keepalive sample app guide eal: add keepalive core register

[dpdk-dev] [PATCH] ethdev: expose link status and speed using xstats

2016-01-20 Thread Harry van Haaren
This patch exposes link duplex, speed, and status via the existing xstats API. Signed-off-by: Harry van Haaren --- doc/guides/rel_notes/release_2_3.rst | 1 + lib/librte_ether/rte_ethdev.c| 29 ++--- 2 files changed, 27 insertions(+), 3 deletions(-) diff --git

[dpdk-dev] [PATCH] eal: add function to check if primary proc alive

2016-01-20 Thread Harry van Haaren
interfere with the secondary running. Signed-off-by: Harry van Haaren --- doc/guides/rel_notes/release_2_3.rst| 7 +++ lib/librte_eal/bsdapp/eal/rte_eal_version.map | 8 lib/librte_eal/common/include/rte_eal.h | 19 +++ lib/librte_eal/linuxapp

[dpdk-dev] [PATCH] doc: include ixgbe rx error changes

2015-12-15 Thread Harry van Haaren
uot;ixgbe: remove CRC size from byte counters") Fixes: 0834d1524dee ("i40e: remove CRC size from byte counters") Signed-off-by: Harry van Haaren --- Apologies for the oversight - I have a cheat-sheet now :) doc/guides/rel_notes/release_2_2.rst | 15 +++ 1 file changed, 15

[dpdk-dev] [PATCH v3] doc: add patch submit cheatsheet

2015-12-14 Thread Harry van Haaren
of of the cheatsheet will depend on the default monospace font installed. Signed-off-by: Harry van Haaren --- v3: Added missing rst file, tested building docs on clean dpdk repo. v2: Fixed Fixes: line, added format-patch workflow instead of using -N for setting the number of patches during send-email. doc

[dpdk-dev] [PATCH v2] doc: add patch submit cheatsheet

2015-12-09 Thread Harry van Haaren
of of the cheatsheet will depend on the default monospace font installed. Signed-off-by: Harry van Haaren --- v2: Fixed Fixes: line, added format-patch workflow instead of using -N for setting the number of patches during send-email. doc/guides/contributing/img/patch_cheatsheet.svg | 1484

[dpdk-dev] [PATCH] doc: add patch submit cheatsheet

2015-12-09 Thread Harry van Haaren
of of the cheatsheet will depend on the default monospace font installed. Signed-off-by: Harry van Haaren --- doc/guides/contributing/img/patch_cheatsheet.svg | 1404 ++ doc/guides/contributing/index.rst|1 + 2 files changed, 1405 insertions(+) create mode 100644 doc

[dpdk-dev] [PATCH] ixgbe: fix tx_bytes statistic with link down

2015-12-01 Thread Harry van Haaren
Reported-by: Michael Qiu Signed-off-by: Harry van Haaren --- drivers/net/ixgbe/ixgbe_ethdev.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 808ac69..1b6cd8e 100644 --- a/drivers/net/ixgbe/ixgbe_ethd

[dpdk-dev] [PATCH v2 3/3] i40e: fix rx/tx size mismatch, remove crc bytes

2015-11-18 Thread Harry van Haaren
This patch removes the crc bytes from byte counter statistics. Doing so fixes a bug that CRC bytes were included on TX but not on RX, causing mismatch of bytes recieved / sent. Fixes: 9aace75fc82e ("i40e: fix statistics") Reported-by: Weichun Chen Signed-off-by: Harry van Haaren --

[dpdk-dev] [PATCH v2 2/3] ixgbe: remove crc size from all byte counters

2015-11-18 Thread Harry van Haaren
This patch removes the crc bytes from byte counter statistics. Signed-off-by: Harry van Haaren --- drivers/net/ixgbe/ixgbe_ethdev.c | 55 +++- 1 file changed, 43 insertions(+), 12 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe

[dpdk-dev] [PATCH v2 1/3] e1000: remove crc size from all byte counters

2015-11-18 Thread Harry van Haaren
This patch removes the crc bytes from byte counter statistics. Signed-off-by: Harry van Haaren --- drivers/net/e1000/igb_ethdev.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index

[dpdk-dev] [PATCH v2 0/3] Remove CRC from byte counters

2015-11-18 Thread Harry van Haaren
Stephen Hemmingers suggestion of ETHER_CRC_LEN replacing magic #4 -Removed fm10k patch, thanks Michael Qiu for reporting - my testpmd usage for packet sizes on fm10k was creating an offset of 4 bytes in testing. -Reworded some comments Harry van Haaren (3): e1000: remove crc size from all byte

[dpdk-dev] [PATCH 4/4] fm10k: remove crc size from all byte counters

2015-11-16 Thread Harry van Haaren
This patch removes the crc bytes from byte counter statistics. Signed-off-by: Harry van Haaren --- drivers/net/fm10k/fm10k_ethdev.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c index 441f713

[dpdk-dev] [PATCH 3/4] i40e: fix rx/tx size mismatch, remove crc bytes

2015-11-16 Thread Harry van Haaren
This patch removes the crc bytes from byte counter statistics. Doing so fixes a bug that CRC bytes were included on TX but not on RX, causing mismatch of bytes recieved / sent. Fixes: 9aace75fc82e ("i40e: fix statistics") Reported-by: Weichun Chen Signed-off-by: Harry van Haaren --

[dpdk-dev] [PATCH 2/4] ixgbe: remove crc size from all byte counters

2015-11-16 Thread Harry van Haaren
This patch removes the crc bytes from byte counter statistics. Signed-off-by: Harry van Haaren --- drivers/net/ixgbe/ixgbe_ethdev.c | 47 ++-- 1 file changed, 35 insertions(+), 12 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe

[dpdk-dev] [PATCH 1/4] e1000: remove crc size from all byte counters

2015-11-16 Thread Harry van Haaren
This patch removes the crc bytes from byte counter statistics. Signed-off-by: Harry van Haaren --- drivers/net/e1000/igb_ethdev.c | 19 +-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers/net/e1000/igb_ethdev.c index

[dpdk-dev] [PATCH 0/4] Remove CRC from byte counters

2015-11-16 Thread Harry van Haaren
van Haaren (4): e1000: remove crc size from all byte counters ixgbe: remove crc size from all byte counters i40e: fix rx/tx size mismatch, remove crc bytes fm10k: remove crc size from all byte counters drivers/net/e1000/igb_ethdev.c | 19 ++-- drivers/net/fm10k/fm10k_ethdev.c

[dpdk-dev] [PATCH] ixgbe: fix crc-strip enable changing rx bytes

2015-11-09 Thread Harry van Haaren
: 29a05247ebad ("ixgbe: configure CRC stripping behaviour of PF") Reported-by: Stephen Hemminger Suggested-by: Konstantin Ananyev Signed-off-by: Harry van Haaren --- doc/guides/rel_notes/release_2_2.rst | 6 ++ drivers/net/ixgbe/ixgbe_ethdev.c | 7 +++ 2 files changed, 13 insertion

[dpdk-dev] [PATCH v3] i40e: fix resetting of stats

2015-11-09 Thread Harry van Haaren
be look like they are reset. Fixes: 9aace75fc82e ("i40e: fix statistics") Signed-off-by: Harry van Haaren Acked-by: Maryam Tahhan --- v4: Add previous ack, remove uneccessary function prototype v3: Refactor away function, fixing stats and xstats reset v2: Remove commented code driver

[dpdk-dev] [PATCH v3] i40e: fix resetting of stats

2015-11-09 Thread Harry van Haaren
be look like they are reset. Fixes: 9aace75fc82e ("i40e: fix statistics") Signed-off-by: Harry van Haaren --- v3: Refactor away function, fixing stats and xstats reset v2: Remove commented code drivers/net/i40e/i40e_ethdev.c | 25 - 1 file changed, 8 inserti

[dpdk-dev] [PATCH 3/3] i40e: refactor xstats queue handling

2015-11-06 Thread Harry van Haaren
This patch refactors the queue and priority statistic handling. Generic queue stats are presented by rte_eth_xstats_get(), and the i40e_xstats_get() exposes only the extra stats. Signed-off-by: Harry van Haaren --- drivers/net/i40e/i40e_ethdev.c | 112

[dpdk-dev] [PATCH 2/3] ixgbe: refactor xstats queue handling

2015-11-06 Thread Harry van Haaren
This patch refactors the queue handling. Generic queue stats are handled by rte_eth_xstats_get() and the ixgbe_xstats_get() exposes only the extra stats. Signed-off-by: Harry van Haaren --- drivers/net/ixgbe/ixgbe_ethdev.c | 132 --- 1 file changed, 53

[dpdk-dev] [PATCH 1/3] ethdev: xstats generic Q stats refactor

2015-11-06 Thread Harry van Haaren
This patch refactors the generic queue stats to be exposed by rte_ethdev_xstats_get(). Signed-off-by: Harry van Haaren --- lib/librte_ether/rte_ethdev.c | 10 ++ 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/lib/librte_ether/rte_ethdev.c b/lib/librte_ether/rte_ethdev.c

[dpdk-dev] [PATCH 0/3] xstats queue handling

2015-11-06 Thread Harry van Haaren
are the only NICs supporting queue xstats, and they have been updated to conform with the new method of presentation. Harry van Haaren (3): ethdev: xstats generic Q stats refactor ixgbe: refactor xstats queue handling i40e: refactor xstats queue handling drivers/net/i40e/i40e_ethdev.c | 112

[dpdk-dev] [PATCH v2] i40e: fix resetting of stats

2015-11-05 Thread Harry van Haaren
-by: Harry van Haaren --- v2: Remove commented code drivers/net/i40e/i40e_ethdev.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index a39bd28..7e18ba7 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++

[dpdk-dev] [PATCH] i40e: fix resetting of stats

2015-11-05 Thread Harry van Haaren
-by: Harry van Haaren --- drivers/net/i40e/i40e_ethdev.c | 11 ++- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev.c b/drivers/net/i40e/i40e_ethdev.c index a39bd28..70c1674 100644 --- a/drivers/net/i40e/i40e_ethdev.c +++ b/drivers/net/i40e/i40

[dpdk-dev] [PATCH v2] ixgbe: remove l3_l4_xsum_errors from rx errors

2015-11-04 Thread Harry van Haaren
90/ Fixes: f6bf669b9900 ("ixgbe: account more Rx errors") Suggested-by: Martin Weiser Signed-off-by: Harry van Haaren --- v2: Add fixes line drivers/net/ixgbe/ixgbe_ethdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c in

[dpdk-dev] [PATCH] ixgbe: remove l3_l4_xsum_errors from rx errors

2015-11-04 Thread Harry van Haaren
Suggested-by: Martin Weiser Signed-off-by: Harry van Haaren --- drivers/net/ixgbe/ixgbe_ethdev.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net/ixgbe/ixgbe_ethdev.c index 25966ef..9ed5b49 100644 --- a/drivers/net/ixgbe/ixgbe_ethdev.c +++ b/drivers

[dpdk-dev] [PATCH] ixgbe: remove mac fault counts from rx errors

2015-11-02 Thread Harry van Haaren
This patch removes the mac local fault count and mac remote fault count from rx errors. The mac fault count registers count faults, not packets, and hence should not be added to packet counters. Signed-off-by: Harry van Haaren --- drivers/net/ixgbe/ixgbe_ethdev.c | 2 -- 1 file changed, 2

[dpdk-dev] [PATCH v5 10/10] fm10k: add xstats() implementation

2015-11-02 Thread Harry van Haaren
Add xstats() functions and statistic strings. Signed-off-by: Harry van Haaren --- drivers/net/fm10k/fm10k_ethdev.c | 87 1 file changed, 87 insertions(+) diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c index b104fc2

[dpdk-dev] [PATCH v5 09/10] i40evf: add xstats() implementation

2015-11-02 Thread Harry van Haaren
Add implementation of xstats() functions in i40evf PMD. Signed-off-by: Harry van Haaren --- drivers/net/i40e/i40e_ethdev_vf.c | 89 +-- 1 file changed, 86 insertions(+), 3 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e

[dpdk-dev] [PATCH v5 08/10] i40e: add xstats() implementation

2015-11-02 Thread Harry van Haaren
Add xstats functions to i40e PMD, allowing extended statistics to be retrieved from the NIC and exposed to the DPDK. Signed-off-by: Harry van Haaren --- drivers/net/i40e/i40e_ethdev.c | 215 +++-- 1 file changed, 209 insertions(+), 6 deletions(-) diff --git

[dpdk-dev] [PATCH v5 07/10] ixgbevf: add xstats() implementation

2015-11-02 Thread Harry van Haaren
Add xstats() functions and stat strings as necessary to ixgbevf PMD. Signed-off-by: Harry van Haaren --- drivers/net/ixgbe/ixgbe_ethdev.c | 49 +++- 1 file changed, 48 insertions(+), 1 deletion(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net

[dpdk-dev] [PATCH v5 06/10] ixgbe: add extended statistic strings

2015-11-02 Thread Harry van Haaren
Added and updated statistic strings as used by xstats_get(), exposed extended queue statistics. Signed-off-by: Harry van Haaren --- drivers/net/ixgbe/ixgbe_ethdev.c | 203 +-- 1 file changed, 172 insertions(+), 31 deletions(-) diff --git a/drivers/net/ixgbe

[dpdk-dev] [PATCH v5 05/10] igbvf: add xstats() implementation

2015-11-02 Thread Harry van Haaren
Add xstats functionality to igbvf PMD, adding necessary statistic strings. Signed-off-by: Harry van Haaren --- drivers/net/e1000/igb_ethdev.c | 62 +- 1 file changed, 55 insertions(+), 7 deletions(-) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers

[dpdk-dev] [PATCH v5 04/10] igb: add xstats() implementation

2015-11-02 Thread Harry van Haaren
Add xstats_get() and xstats_reset() functions to igb driver, and the neccessary strings to expose these NIC statistics. Signed-off-by: Harry van Haaren --- drivers/net/e1000/igb_ethdev.c | 135 +++-- 1 file changed, 130 insertions(+), 5 deletions(-) diff

[dpdk-dev] [PATCH v5 03/10] virtio: add xstats() implementation

2015-11-02 Thread Harry van Haaren
Add xstats() functions and statistic strings to virtio PMD. Signed-off-by: Harry van Haaren --- drivers/net/virtio/virtio_ethdev.c | 98 +- drivers/net/virtio/virtio_rxtx.c | 32 + drivers/net/virtio/virtqueue.h | 4 ++ 3 files changed, 132

[dpdk-dev] [PATCH v5 02/10] ethdev: update xstats_get() strings and Q handling

2015-11-02 Thread Harry van Haaren
Update the strings used for presenting stats to adhere to the scheme previously presented. Updated xstats_get() function to handle Q information only if xstats() is not implemented in the PMD, providing the PMD with the needed flexibility to expose its extended Q stats. Signed-off-by: Harry van

[dpdk-dev] [PATCH v5 00/10] Port XStats

2015-11-02 Thread Harry van Haaren
a scheme detailed in the patch for the doc/prog_guide. v5: Fix Checkpatch inconsistencies v4: Consistency of names, refactored Q stat code v3: Added more stats to PMDs v2: Send correct patchset Harry van Haaren (10): doc: add extended statistics to prog_guide ethdev: update xstats_get

[dpdk-dev] [PATCH] tools/dpdk_nic_bind.py: alias -s to --summary

2015-10-30 Thread Harry van Haaren
This patch adds -s as an alias to --summary in dpdk_nic_bind.py, providing a convienient shorthand. Signed-off-by: Harry van Haaren --- tools/dpdk_nic_bind.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/dpdk_nic_bind.py b/tools/dpdk_nic_bind.py index b7bd877

[dpdk-dev] [PATCH v4 10/10] fm10k: add xstats() implementation

2015-10-30 Thread Harry van Haaren
Add xstats() functions and statistic strings. Signed-off-by: Harry van Haaren --- drivers/net/fm10k/fm10k_ethdev.c | 87 1 file changed, 87 insertions(+) diff --git a/drivers/net/fm10k/fm10k_ethdev.c b/drivers/net/fm10k/fm10k_ethdev.c index b104fc2

[dpdk-dev] [PATCH v4 09/10] i40evf: add xstats() implementation

2015-10-30 Thread Harry van Haaren
Add implementation of xstats() functions in i40evf PMD. Signed-off-by: Harry van Haaren --- drivers/net/i40e/i40e_ethdev_vf.c | 89 +-- 1 file changed, 86 insertions(+), 3 deletions(-) diff --git a/drivers/net/i40e/i40e_ethdev_vf.c b/drivers/net/i40e

[dpdk-dev] [PATCH v4 08/10] i40e: add xstats() implementation

2015-10-30 Thread Harry van Haaren
Add xstats functions to i40e PMD, allowing extended statistics to be retrieved from the NIC and exposed to the DPDK. Signed-off-by: Harry van Haaren --- drivers/net/i40e/i40e_ethdev.c | 217 +++-- 1 file changed, 210 insertions(+), 7 deletions(-) diff --git

[dpdk-dev] [PATCH v4 07/10] ixgbevf: add xstats() implementation

2015-10-30 Thread Harry van Haaren
Add xstats() functions and stat strings as necessary to ixgbevf PMD. Signed-off-by: Harry van Haaren --- drivers/net/ixgbe/ixgbe_ethdev.c | 51 ++-- 1 file changed, 49 insertions(+), 2 deletions(-) diff --git a/drivers/net/ixgbe/ixgbe_ethdev.c b/drivers/net

[dpdk-dev] [PATCH v4 06/10] ixgbe: add extended statistic strings

2015-10-30 Thread Harry van Haaren
Added and updated statistic strings as used by xstats_get(), exposed extended queue statistics. Signed-off-by: Harry van Haaren --- drivers/net/ixgbe/ixgbe_ethdev.c | 203 +-- 1 file changed, 172 insertions(+), 31 deletions(-) diff --git a/drivers/net/ixgbe

[dpdk-dev] [PATCH v4 05/10] igbvf: add xstats() implementation

2015-10-30 Thread Harry van Haaren
Add xstats functionality to igbvf PMD, adding necessary statistic strings. Signed-off-by: Harry van Haaren --- drivers/net/e1000/igb_ethdev.c | 62 +- 1 file changed, 55 insertions(+), 7 deletions(-) diff --git a/drivers/net/e1000/igb_ethdev.c b/drivers

[dpdk-dev] [PATCH v4 04/10] igb: add xstats() implementation

2015-10-30 Thread Harry van Haaren
Add xstats_get() and xstats_reset() functions to igb driver, and the neccessary strings to expose these NIC statistics. Signed-off-by: Harry van Haaren --- drivers/net/e1000/igb_ethdev.c | 135 +++-- 1 file changed, 130 insertions(+), 5 deletions(-) diff

[dpdk-dev] [PATCH v4 03/10] virtio: add xstats() implementation

2015-10-30 Thread Harry van Haaren
Add xstats() functions and statistic strings to virtio PMD. Signed-off-by: Harry van Haaren --- drivers/net/virtio/virtio_ethdev.c | 98 +- drivers/net/virtio/virtio_rxtx.c | 32 + drivers/net/virtio/virtqueue.h | 4 ++ 3 files changed, 132

[dpdk-dev] [PATCH v4 02/10] ethdev: update xstats_get() strings and Q handling

2015-10-30 Thread Harry van Haaren
Update the strings used for presenting stats to adhere to the scheme previously presented. Updated xstats_get() function to handle Q information only if xstats() is not implemented in the PMD, providing the PMD with the needed flexibility to expose its extended Q stats. Signed-off-by: Harry van

[dpdk-dev] [PATCH v4 01/10] doc: add extended statistics to prog_guide

2015-10-30 Thread Harry van Haaren
Add extended statistic section to the programmers guide, poll mode driver section. This section describes how the strings stats are formatted, and how the client code can use this to gather information about the stat. Signed-off-by: Harry van Haaren --- doc/guides/prog_guide/poll_mode_drv.rst

[dpdk-dev] [PATCH v4 00/10] Port XStats

2015-10-30 Thread Harry van Haaren
a scheme detailed in the patch for the doc/prog_guide. v4: Consistency of names, refactored Q stat code v3: Added more stats to PMDs v2: Send correct patchset Harry van Haaren (10): doc: add extended statistics to prog_guide ethdev: update xstats_get() strings and Q handling virtio: add

[dpdk-dev] [PATCH v2] e1000: mark rxq with RTE_SET_USED

2015-10-28 Thread Harry van Haaren
This patch marks rxq with RTE_SET_USED in rx_desc_hlen_type_rss_to_pkt_flags(), when ieee1588 is disabled. Previously a compilation error occurred on unused-parameter. Fixes: 1ce6591e238a ("igb: fix ieee1588 frame identification in i210") Signed-off-by: Harry van Haaren --- v2: F

[dpdk-dev] [PATCH] e1000: mark rxq with RTE_SET_USED

2015-10-28 Thread Harry van Haaren
This patch marks rxq with RTE_SET_USED in rx_desc_hlen_type_rss_to_pkt_flags(), when ieee1588 is disabled. Previously a compilation error occurred on unused-parameter. Fixes: c6c79fa425f1 ("e1000: do not release queue on alloc error") Signed-off-by: Harry van Haaren --- drivers

[dpdk-dev] [PATCH] ixgbe: add mspdc to rx errors

2015-10-27 Thread Harry van Haaren
This patch adds the mspdc (MAC Short Packet Discard Count) to the total rx errors, as discussed on the dev at dpdk mailing list: http://comments.gmane.org/gmane.comp.networking.dpdk.devel/23717 Suggested-by: Igor Ryzhov Signed-off-by: Harry van Haaren --- drivers/net/ixgbe/ixgbe_ethdev.c | 1

  1   2   >