History log of /dpdk/app/test/test_security.c (Results 1 – 13 of 13)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v22.03, v22.03-rc4, v22.03-rc3, v22.03-rc2, v22.03-rc1
# 7be78d02 29-Nov-2021 Josh Soref <[email protected]>

fix spelling in comments and strings

The tool comes from https://github.com/jsoref

Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Thomas Monjalon <[email protected]>


Revision tags: v21.11, v21.11-rc4, v21.11-rc3, v21.11-rc2, v21.11-rc1, v21.08, v21.08-rc4, v21.08-rc3, v21.08-rc2, v21.08-rc1, v21.05, v21.05-rc4, v21.05-rc3, v21.05-rc2, v21.05-rc1, v21.02, v21.02-rc4, v21.02-rc3, v21.02-rc2, v21.02-rc1, v20.11, v20.11-rc5, v20.11-rc4, v20.11-rc3, v20.11-rc2, v20.11-rc1
# e30b2833 18-Oct-2020 Akhil Goyal <[email protected]>

security: update session create API

The API ``rte_security_session_create`` takes only single
mempool for session and session private data. So the
application need to create mempool for twice the nu

security: update session create API

The API ``rte_security_session_create`` takes only single
mempool for session and session private data. So the
application need to create mempool for twice the number of
sessions needed and will also lead to wastage of memory as
session private data need more memory compared to session.
Hence the API is modified to take two mempool pointers
- one for session and one for private data.
This is very similar to crypto based session create APIs.

Signed-off-by: Akhil Goyal <[email protected]>
Reviewed-by: Lukasz Wojciechowski <[email protected]>
Tested-by: Lukasz Wojciechowski <[email protected]>

show more ...


Revision tags: v20.08, v20.08-rc4, v20.08-rc3, v20.08-rc2, v20.08-rc1
# c6478fd5 03-Jul-2020 David Coyle <[email protected]>

test/security: add DOCSIS capability checks

Add unit tests for DOCSIS capabilitity checks.

Signed-off-by: David Coyle <[email protected]>
Signed-off-by: Mairtin o Loingsigh <mairtin.oloingsigh@

test/security: add DOCSIS capability checks

Add unit tests for DOCSIS capabilitity checks.

Signed-off-by: David Coyle <[email protected]>
Signed-off-by: Mairtin o Loingsigh <[email protected]>
Acked-by: Akhil Goyal <[email protected]>

show more ...


Revision tags: v20.05, v20.05-rc4, v20.05-rc3, v20.05-rc2, v20.05-rc1
# 34e0ec71 23-Apr-2020 Lukasz Wojciechowski <[email protected]>

test/security: enable tests for non-implemented ops

After re-enabling checks for non-implemented ops in non-debug mode
in librte_security set_pkt_metadata and get_userdata functions,
tests verifying

test/security: enable tests for non-implemented ops

After re-enabling checks for non-implemented ops in non-debug mode
in librte_security set_pkt_metadata and get_userdata functions,
tests verifying proper work of tests can be enabled also.

Signed-off-by: Lukasz Wojciechowski <[email protected]>
Acked-by: Akhil Goyal <[email protected]>

show more ...


# cca3eda1 09-Apr-2020 Lukasz Wojciechowski <[email protected]>

test/security: check capability get

Add unit tests for rte_security_capability_get function.

Signed-off-by: Lukasz Wojciechowski <[email protected]>
Acked-by: Akhil Goyal <akhil.goya

test/security: check capability get

Add unit tests for rte_security_capability_get function.

Signed-off-by: Lukasz Wojciechowski <[email protected]>
Acked-by: Akhil Goyal <[email protected]>

show more ...


# 2242e701 09-Apr-2020 Lukasz Wojciechowski <[email protected]>

test/security: check capabilities get

Add unit tests for rte_security_capabilities_get function.

Signed-off-by: Lukasz Wojciechowski <[email protected]>
Acked-by: Akhil Goyal <akhil.

test/security: check capabilities get

Add unit tests for rte_security_capabilities_get function.

Signed-off-by: Lukasz Wojciechowski <[email protected]>
Acked-by: Akhil Goyal <[email protected]>

show more ...


# 0cbd6711 09-Apr-2020 Lukasz Wojciechowski <[email protected]>

test/security: check userdata get

Add unit tests for rte_security_get_userdata function.

Signed-off-by: Lukasz Wojciechowski <[email protected]>
Acked-by: Akhil Goyal <akhil.goyal@nx

test/security: check userdata get

Add unit tests for rte_security_get_userdata function.

Signed-off-by: Lukasz Wojciechowski <[email protected]>
Acked-by: Akhil Goyal <[email protected]>

show more ...


# a9ff3522 09-Apr-2020 Lukasz Wojciechowski <[email protected]>

test/security: check metadata set

Add unit tests for rte_security_set_pkt_metadata function.

Signed-off-by: Lukasz Wojciechowski <[email protected]>
Acked-by: Akhil Goyal <akhil.goya

test/security: check metadata set

Add unit tests for rte_security_set_pkt_metadata function.

Signed-off-by: Lukasz Wojciechowski <[email protected]>
Acked-by: Akhil Goyal <[email protected]>

show more ...


# 04631daf 09-Apr-2020 Lukasz Wojciechowski <[email protected]>

test/security: check session destroy

Add unit tests for rte_security_session_destroy function.

Signed-off-by: Lukasz Wojciechowski <[email protected]>
Acked-by: Akhil Goyal <akhil.go

test/security: check session destroy

Add unit tests for rte_security_session_destroy function.

Signed-off-by: Lukasz Wojciechowski <[email protected]>
Acked-by: Akhil Goyal <[email protected]>

show more ...


# 1e1a0e49 09-Apr-2020 Lukasz Wojciechowski <[email protected]>

test/security: check session stats

Add unit tests for rte_security_session_stats_get function.

Signed-off-by: Lukasz Wojciechowski <[email protected]>
Acked-by: Akhil Goyal <akhil.go

test/security: check session stats

Add unit tests for rte_security_session_stats_get function.

Signed-off-by: Lukasz Wojciechowski <[email protected]>
Acked-by: Akhil Goyal <[email protected]>

show more ...


# 226430f4 09-Apr-2020 Lukasz Wojciechowski <[email protected]>

test/security: check session size

Add unit tests for rte_security_session_get_size function.

Signed-off-by: Lukasz Wojciechowski <[email protected]>
Acked-by: Akhil Goyal <akhil.goya

test/security: check session size

Add unit tests for rte_security_session_get_size function.

Signed-off-by: Lukasz Wojciechowski <[email protected]>
Acked-by: Akhil Goyal <[email protected]>

show more ...


# 0b124e04 09-Apr-2020 Lukasz Wojciechowski <[email protected]>

test/security: check session update

Add unit tests for rte_security_session_update function.

Signed-off-by: Lukasz Wojciechowski <[email protected]>
Acked-by: Akhil Goyal <akhil.goya

test/security: check session update

Add unit tests for rte_security_session_update function.

Signed-off-by: Lukasz Wojciechowski <[email protected]>
Acked-by: Akhil Goyal <[email protected]>

show more ...


# 4849e8e4 09-Apr-2020 Lukasz Wojciechowski <[email protected]>

test/security: introduce security lib tests

This patch introduces set of unit tests of librte_security API functions.
Tests are added to dpdk-test application and can be run with
"security_autotest"

test/security: introduce security lib tests

This patch introduces set of unit tests of librte_security API functions.
Tests are added to dpdk-test application and can be run with
"security_autotest" runtime command.

This is the first patch in the series of patches as adding all test cases
for all API functions in a single patch would make it unreadable.

This patch defines structure of the file and necessary test framework
initialization. It also contains first subset of unit tests for
rte_security_session_create API function.

Structure of the tests file is following:
- macros for making tests more readable;
- mockup structures and functions for rte_security_ops;
- test suite and test cases setup and teardown functions;
- tests functions;
- declaration of testcases.

Signed-off-by: Lukasz Wojciechowski <[email protected]>
Acked-by: Akhil Goyal <[email protected]>

show more ...