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
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
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
-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
' 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
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
]
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
-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
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:
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
-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
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
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
-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
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
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
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
-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
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
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
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
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
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
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
---
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
--
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
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
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
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
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
--
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
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
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
: 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
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
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
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
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
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
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
-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
+++
-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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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 - 100 of 148 matches
Mail list logo