Go to file
Guduri Prathyusha aee62e906f service: fix lcore stop
lcore_states store the state of the lcore. Fixing the invalid
dereference of lcore_states with service number

Unit test case service_lcore_start_stop fails with the above fix.
Service core was stopped without stopping the service.

This commit fixes the test by adding negative and positive cases of
stopping the service lcore before and after stopping the service
respectively

Fixes: 21698354c8 ("service: introduce service cores concept")
Fixes: f038a81e1c ("service: add unit tests")

Signed-off-by: Guduri Prathyusha <gprathyusha@caviumnetworks.com>
Reviewed-by: Harry van Haaren <harry.van.haaren@intel.com>
2017-09-15 15:32:48 +02:00
app app/testpmd: add port reset command 2017-09-13 23:08:11 +02:00
buildtools buildtools: zero elf info variable in pmdinfogen 2017-09-14 14:20:41 +02:00
config net/mlx4: workaround verbs error after plug-out 2017-08-03 23:10:27 +02:00
devtools devtools: speed up maintainers check 2017-08-03 12:40:35 +02:00
doc doc: add notes on service cores API updates 2017-09-15 13:46:57 +02:00
drivers service: use id in runstate function 2017-09-15 13:45:38 +02:00
examples examples/eventdev: fix run forever with -n option 2017-08-05 01:38:01 +02:00
lib service: fix lcore stop 2017-09-15 15:32:48 +02:00
mk mk: add sensible default target with defconfig 2017-08-05 10:27:04 +02:00
pkg version: 17.08.0 2017-08-08 20:01:40 +02:00
test service: fix lcore stop 2017-09-15 15:32:48 +02:00
usertools update Cavium Inc copyright headers 2017-07-08 17:43:49 +02:00
.gitattributes improve git diff 2016-11-13 15:25:12 +01:00
.gitignore devtools: add tags and cscope index generation 2017-04-30 12:57:04 +02:00
GNUmakefile mk: do not build tests by default 2017-02-28 16:04:18 +01:00
LICENSE.GPL doc: GPL/LGPL licenses 2013-07-25 14:43:06 +02:00
LICENSE.LGPL doc: fix file format (dos to unix) 2013-09-06 11:43:07 +02:00
MAINTAINERS doc: add GRO guide 2017-08-06 14:51:26 +02:00
Makefile remove trailing whitespaces 2014-06-11 00:29:34 +02:00
README doc: add readme file 2015-12-13 22:06:58 +01:00

DPDK is a set of libraries and drivers for fast packet processing.
It supports many processor architectures and both FreeBSD and Linux.

The DPDK uses the Open Source BSD license for the core libraries and
drivers. The kernel components are GPLv2 licensed.

Please check the doc directory for release notes,
API documentation, and sample application information.

For questions and usage discussions, subscribe to: users@dpdk.org
Report bugs and issues to the development mailing list: dev@dpdk.org