mbox series

[00/13] Fixes and unit tests for librte_security

Message ID 20200312151654.7218-1-l.wojciechow@partner.samsung.com (mailing list archive)
Headers show
Series Fixes and unit tests for librte_security | expand

Message

Lukasz Wojciechowski March 12, 2020, 3:16 p.m. UTC
Set of patches fix minor issues like proper verification of input parameters
and aligning documentation with code in the matter of return values.
Another fixed issue is invalid decrementation of the session counter which
might cause inconsistency between counter values and a true number of sessions.

All of these issues (and all the librte_security) code is covered with unit
tests. The tests are added to dpdk-test application and can be launched
with "security_autotest" command.

Lukasz Wojciechowski (13):
  librte_security: fix verification of parameters
  librte_security: fix return types in documentation
  librte_security: fix session counter
  app/test: fix macro definition
  app/test: introduce librte_security tests
  app/test: add rte_security_session_update tests
  app/test: add rte_security_session_get_size tests
  app/test: add rte_security_session_stats_get tests
  app/test: add rte_security_session_destroy tests
  app/test: add rte_security_set_pkt_metadata tests
  app/test: add rte_security_get_userdata tests
  app/test: add rte_security_capabilities_get tests
  app/test: add rte_security_capability_get tests

 app/test/Makefile                  |    2 +
 app/test/meson.build               |    3 +
 app/test/test.h                    |    4 +-
 app/test/test_security.c           | 2399 ++++++++++++++++++++++++++++
 lib/librte_security/rte_security.c |   70 +-
 lib/librte_security/rte_security.h |    8 +-
 6 files changed, 2464 insertions(+), 22 deletions(-)
 create mode 100644 app/test/test_security.c