This patchset creates an abstraction layer of DPDK Cryptodev to the pipeline library to enable its symmetric cryptographic capability. The ip_pipeline sample application is updated accordingly.
v2: - Fixed bugs. - Updated data structure. - Updated IP-pipeline sample application. Zhang, Roy Fan (7): pipeline: add symmetric crypto to action examples/ip_pipeline: add cryptodev examples/ip_pipeline: configure crypto port examples/ip_pipeline: add symmetric crypto action examples/ip_pipeline: update cli parsing examples/ip_pipeline: add script doc: update action documentation doc/guides/prog_guide/packet_framework.rst | 11 +- doc/guides/sample_app_ug/ip_pipeline.rst | 23 + examples/ip_pipeline/Makefile | 1 + examples/ip_pipeline/action.c | 11 + examples/ip_pipeline/action.h | 1 + examples/ip_pipeline/cli.c | 577 +++++++++++++++++++++++++- examples/ip_pipeline/cryptodev.c | 117 ++++++ examples/ip_pipeline/cryptodev.h | 43 ++ examples/ip_pipeline/examples/flow_crypto.cli | 58 +++ examples/ip_pipeline/main.c | 9 + examples/ip_pipeline/meson.build | 3 +- examples/ip_pipeline/pipeline.c | 60 +++ examples/ip_pipeline/pipeline.h | 14 + examples/ip_pipeline/thread.c | 10 + lib/librte_pipeline/Makefile | 2 +- lib/librte_pipeline/meson.build | 2 +- lib/librte_pipeline/rte_pipeline_version.map | 1 + lib/librte_pipeline/rte_table_action.c | 503 +++++++++++++++++++++- lib/librte_pipeline/rte_table_action.h | 104 +++++ 19 files changed, 1543 insertions(+), 7 deletions(-) create mode 100644 examples/ip_pipeline/cryptodev.c create mode 100644 examples/ip_pipeline/cryptodev.h create mode 100644 examples/ip_pipeline/examples/flow_crypto.cli -- 2.13.6