[PATCH 00/11] pipeline: add IPsec support

2023-01-11 Thread Cristian Dumitrescu
packet. The SA ID field is typically written by the pipeline before sending the packet to the IPsec block. Cristian Dumitrescu (11): pipeline: add IPsec support examples/pipeline: rework memory pool support examples/pipeline: streamline ring support examples/pipeline: streamline the Ethernet

[PATCH 01/11] pipeline: add IPsec support

2023-01-11 Thread Cristian Dumitrescu
This block is providing IPsec support to the SWX pipeline. The IPsec block is external to the pipeline, so it needs to be explicitly instantiated and connected to a pipeline through the I/O ports. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- lib/pipeline/meson.build

[PATCH 02/11] examples/pipeline: rework memory pool support

2023-01-11 Thread Cristian Dumitrescu
Rework the memory pool CLI command to accommodate the MBUF private meta-data area size parameter. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 72 ++--- examples/pipeline/examples/fib.cli| 2

[PATCH 03/11] examples/pipeline: streamline ring support

2023-01-11 Thread Cristian Dumitrescu
Remove redundant ring related code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 24 ++-- examples/pipeline/obj.c | 63 - examples/pipeline/obj.h | 21 -- 3 files changed, 15

[PATCH 04/11] examples/pipeline: streamline the Ethernet device support

2023-01-11 Thread Cristian Dumitrescu
Streamline the Ethernet device support code and remove redundant code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 175 ++-- examples/pipeline/main.c | 12 +-- examples/pipeline/obj.c | 186

[PATCH 05/11] examples/pipeline: support crypto devices

2023-01-11 Thread Cristian Dumitrescu
Add support for crypto devices in the application. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/obj.c | 61 + examples/pipeline/obj.h | 11 2 files changed, 72 insertions(+) diff --git a/examples

[PATCH 06/11] examples/pipeline: add CLI command for crypto device

2023-01-11 Thread Cristian Dumitrescu
Add CLI command for the configuration of crypto devices. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 63 + 1 file changed, 63 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c

[PATCH 07/11] examples/pipeline: add IPsec CLI commands

2023-01-11 Thread Cristian Dumitrescu
Add CLI commands for IPsec block configuration. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 298 1 file changed, 298 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c index

[PATCH 08/11] examples/pipeline: rework the thread configuration updates

2023-01-11 Thread Cristian Dumitrescu
Previously, the configuration updates for the data plane threads were performed through message queues. Now, this mechanism is replaced by the control thread updating the mirror copy of the data plane thread configuration followed by pointer swapping. Signed-off-by: Cristian Dumitrescu Signed

[PATCH 09/11] examples/pipeline: support blocks other than pipelines

2023-01-11 Thread Cristian Dumitrescu
Previously, the data plane threads only supported the execution of pipelines assigned to them through configuration updates. Now, the data plane threads also support running blocks such as IPsec. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/thread.c

[PATCH 10/11] examples/pipeline: add block enable/disable CLI commands

2023-01-11 Thread Cristian Dumitrescu
Add CLI commands to enable/disable block execution on data plane threads. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 154 1 file changed, 154 insertions(+) diff --git a/examples/pipeline/cli.c b

[PATCH 11/11] examples/pipeline: add IPsec example

2023-01-11 Thread Cristian Dumitrescu
Add example files to illustrate the pipeline IPsec support. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/examples/ipsec.cli| 57 +++ examples/pipeline/examples/ipsec.io | 23 +++ examples/pipeline/examples/ipsec.spec | 138

[PATCH V2 00/11] pipeline: add IPsec support

2023-01-11 Thread Cristian Dumitrescu
packet. The SA ID field is typically written by the pipeline before sending the packet to the IPsec block. Cristian Dumitrescu (11): pipeline: add IPsec support examples/pipeline: rework memory pool support examples/pipeline: streamline ring support examples/pipeline: streamline the Ethernet

[PATCH V2 01/11] pipeline: add IPsec support

2023-01-11 Thread Cristian Dumitrescu
This block is providing IPsec support to the SWX pipeline. The IPsec block is external to the pipeline, so it needs to be explicitly instantiated and connected to a pipeline through the I/O ports. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- lib/pipeline/meson.build

[PATCH V2 02/11] examples/pipeline: rework memory pool support

2023-01-11 Thread Cristian Dumitrescu
Rework the memory pool CLI command to accommodate the MBUF private meta-data area size parameter. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 72 ++--- examples/pipeline/examples/fib.cli| 2

[PATCH V2 03/11] examples/pipeline: streamline ring support

2023-01-11 Thread Cristian Dumitrescu
Remove redundant ring related code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 24 ++-- examples/pipeline/obj.c | 63 - examples/pipeline/obj.h | 21 -- 3 files changed, 15

[PATCH V2 05/11] examples/pipeline: support crypto devices

2023-01-11 Thread Cristian Dumitrescu
Add support for crypto devices in the application. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/obj.c | 61 + examples/pipeline/obj.h | 11 2 files changed, 72 insertions(+) diff --git a/examples

[PATCH V2 04/11] examples/pipeline: streamline the Ethernet device support

2023-01-11 Thread Cristian Dumitrescu
Streamline the Ethernet device support code and remove redundant code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 175 ++-- examples/pipeline/main.c | 12 +-- examples/pipeline/obj.c | 186

[PATCH V2 06/11] examples/pipeline: add CLI command for crypto device

2023-01-11 Thread Cristian Dumitrescu
Add CLI command for the configuration of crypto devices. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 63 + 1 file changed, 63 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c

[PATCH V2 07/11] examples/pipeline: add IPsec CLI commands

2023-01-11 Thread Cristian Dumitrescu
Add CLI commands for IPsec block configuration. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 298 1 file changed, 298 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c index

[PATCH V2 08/11] examples/pipeline: rework the thread configuration updates

2023-01-11 Thread Cristian Dumitrescu
Previously, the configuration updates for the data plane threads were performed through message queues. Now, this mechanism is replaced by the control thread updating the mirror copy of the data plane thread configuration followed by pointer swapping. Signed-off-by: Cristian Dumitrescu Signed

[PATCH V2 09/11] examples/pipeline: support blocks other than pipelines

2023-01-11 Thread Cristian Dumitrescu
Previously, the data plane threads only supported the execution of pipelines assigned to them through configuration updates. Now, the data plane threads also support running blocks such as IPsec. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/thread.c

[PATCH V2 11/11] examples/pipeline: add IPsec example

2023-01-11 Thread Cristian Dumitrescu
Add example files to illustrate the pipeline IPsec support. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/examples/ipsec.cli| 57 +++ examples/pipeline/examples/ipsec.io | 23 +++ examples/pipeline/examples/ipsec.spec | 138

[PATCH V2 10/11] examples/pipeline: add block enable/disable CLI commands

2023-01-11 Thread Cristian Dumitrescu
Add CLI commands to enable/disable block execution on data plane threads. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 154 1 file changed, 154 insertions(+) diff --git a/examples/pipeline/cli.c b

[PATCH V3 00/11] pipeline: add IPsec support

2023-01-12 Thread Cristian Dumitrescu
packet. The SA ID field is typically written by the pipeline before sending the packet to the IPsec block. Change log: V3: Rebase on top of main latest. V2: Fix minor style issues. Cristian Dumitrescu (11): pipeline: add IPsec support examples/pipeline: rework memory pool support examples/pi

[PATCH V3 01/11] pipeline: add IPsec support

2023-01-12 Thread Cristian Dumitrescu
This block is providing IPsec support to the SWX pipeline. The IPsec block is external to the pipeline, so it needs to be explicitly instantiated and connected to a pipeline through the I/O ports. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- lib/pipeline/meson.build

[PATCH V3 02/11] examples/pipeline: rework memory pool support

2023-01-12 Thread Cristian Dumitrescu
Rework the memory pool CLI command to accommodate the MBUF private meta-data area size parameter. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 72 ++--- examples/pipeline/examples/fib.cli| 2

[PATCH V3 03/11] examples/pipeline: streamline ring support

2023-01-12 Thread Cristian Dumitrescu
Remove redundant ring related code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 24 ++-- examples/pipeline/obj.c | 63 - examples/pipeline/obj.h | 21 -- 3 files changed, 15

[PATCH V3 04/11] examples/pipeline: streamline the Ethernet device support

2023-01-12 Thread Cristian Dumitrescu
Streamline the Ethernet device support code and remove redundant code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 175 ++-- examples/pipeline/main.c | 12 +-- examples/pipeline/obj.c | 186

[PATCH V3 05/11] examples/pipeline: support crypto devices

2023-01-12 Thread Cristian Dumitrescu
Add support for crypto devices in the application. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/obj.c | 60 + examples/pipeline/obj.h | 11 2 files changed, 71 insertions(+) diff --git a/examples

[PATCH V3 06/11] examples/pipeline: add CLI command for crypto device

2023-01-12 Thread Cristian Dumitrescu
Add CLI command for the configuration of crypto devices. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 63 + 1 file changed, 63 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c

[PATCH V3 07/11] examples/pipeline: add IPsec CLI commands

2023-01-12 Thread Cristian Dumitrescu
Add CLI commands for IPsec block configuration. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 298 1 file changed, 298 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c index

[PATCH V3 08/11] examples/pipeline: rework the thread configuration updates

2023-01-12 Thread Cristian Dumitrescu
Previously, the configuration updates for the data plane threads were performed through message queues. Now, this mechanism is replaced by the control thread updating the mirror copy of the data plane thread configuration followed by pointer swapping. Signed-off-by: Cristian Dumitrescu Signed

[PATCH V3 09/11] examples/pipeline: support blocks other than pipelines

2023-01-12 Thread Cristian Dumitrescu
Previously, the data plane threads only supported the execution of pipelines assigned to them through configuration updates. Now, the data plane threads also support running blocks such as IPsec. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/thread.c

[PATCH V3 10/11] examples/pipeline: add block enable/disable CLI commands

2023-01-12 Thread Cristian Dumitrescu
Add CLI commands to enable/disable block execution on data plane threads. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 154 1 file changed, 154 insertions(+) diff --git a/examples/pipeline/cli.c b

[PATCH V3 11/11] examples/pipeline: add IPsec example

2023-01-12 Thread Cristian Dumitrescu
Add example files to illustrate the pipeline IPsec support. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/examples/ipsec.cli| 57 +++ examples/pipeline/examples/ipsec.io | 23 +++ examples/pipeline/examples/ipsec.spec | 138

[PATCH V3 00/11] pipeline: add IPsec support

2023-01-12 Thread Cristian Dumitrescu
packet. The SA ID field is typically written by the pipeline before sending the packet to the IPsec block. Change log: V3: Rebase on top of main latest. V2: Fix minor style issues. Cristian Dumitrescu (11): pipeline: add IPsec support examples/pipeline: rework memory pool support examples/pi

[PATCH V3 01/11] pipeline: add IPsec support

2023-01-12 Thread Cristian Dumitrescu
This block is providing IPsec support to the SWX pipeline. The IPsec block is external to the pipeline, so it needs to be explicitly instantiated and connected to a pipeline through the I/O ports. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- lib/pipeline/meson.build

[PATCH V3 02/11] examples/pipeline: rework memory pool support

2023-01-12 Thread Cristian Dumitrescu
Rework the memory pool CLI command to accommodate the MBUF private meta-data area size parameter. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 72 ++--- examples/pipeline/examples/fib.cli| 2

[PATCH V3 03/11] examples/pipeline: streamline ring support

2023-01-12 Thread Cristian Dumitrescu
Remove redundant ring related code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 24 ++-- examples/pipeline/obj.c | 63 - examples/pipeline/obj.h | 21 -- 3 files changed, 15

[PATCH V3 04/11] examples/pipeline: streamline the Ethernet device support

2023-01-12 Thread Cristian Dumitrescu
Streamline the Ethernet device support code and remove redundant code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 175 ++-- examples/pipeline/main.c | 12 +-- examples/pipeline/obj.c | 186

[PATCH V3 05/11] examples/pipeline: support crypto devices

2023-01-12 Thread Cristian Dumitrescu
Add support for crypto devices in the application. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/obj.c | 60 + examples/pipeline/obj.h | 11 2 files changed, 71 insertions(+) diff --git a/examples

[PATCH V3 06/11] examples/pipeline: add CLI command for crypto device

2023-01-12 Thread Cristian Dumitrescu
Add CLI command for the configuration of crypto devices. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 63 + 1 file changed, 63 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c

[PATCH V3 07/11] examples/pipeline: add IPsec CLI commands

2023-01-12 Thread Cristian Dumitrescu
Add CLI commands for IPsec block configuration. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 298 1 file changed, 298 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c index

[PATCH V3 09/11] examples/pipeline: support blocks other than pipelines

2023-01-12 Thread Cristian Dumitrescu
Previously, the data plane threads only supported the execution of pipelines assigned to them through configuration updates. Now, the data plane threads also support running blocks such as IPsec. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/thread.c

[PATCH V3 08/11] examples/pipeline: rework the thread configuration updates

2023-01-12 Thread Cristian Dumitrescu
Previously, the configuration updates for the data plane threads were performed through message queues. Now, this mechanism is replaced by the control thread updating the mirror copy of the data plane thread configuration followed by pointer swapping. Signed-off-by: Cristian Dumitrescu Signed

[PATCH V3 10/11] examples/pipeline: add block enable/disable CLI commands

2023-01-12 Thread Cristian Dumitrescu
Add CLI commands to enable/disable block execution on data plane threads. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 154 1 file changed, 154 insertions(+) diff --git a/examples/pipeline/cli.c b

[PATCH V3 11/11] examples/pipeline: add IPsec example

2023-01-12 Thread Cristian Dumitrescu
Add example files to illustrate the pipeline IPsec support. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/examples/ipsec.cli| 57 +++ examples/pipeline/examples/ipsec.io | 23 +++ examples/pipeline/examples/ipsec.spec | 138

[PATCH V4 00/11] pipeline: add IPsec support

2023-01-12 Thread Cristian Dumitrescu
packet. The SA ID field is typically written by the pipeline before sending the packet to the IPsec block. Change log: V4: Fixed Doxygen issues. V3: Rebased on top of main latest. V2: Fixed minor style issues. Cristian Dumitrescu (11): pipeline: add IPsec support examples/pipeline: rework memor

[PATCH V4 01/11] pipeline: add IPsec support

2023-01-12 Thread Cristian Dumitrescu
This block is providing IPsec support to the SWX pipeline. The IPsec block is external to the pipeline, so it needs to be explicitly instantiated and connected to a pipeline through the I/O ports. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- lib/pipeline/meson.build

[PATCH V4 02/11] examples/pipeline: rework memory pool support

2023-01-12 Thread Cristian Dumitrescu
Rework the memory pool CLI command to accommodate the MBUF private meta-data area size parameter. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 72 ++--- examples/pipeline/examples/fib.cli| 2

[PATCH V4 03/11] examples/pipeline: streamline ring support

2023-01-12 Thread Cristian Dumitrescu
Remove redundant ring related code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 24 ++-- examples/pipeline/obj.c | 63 - examples/pipeline/obj.h | 21 -- 3 files changed, 15

[PATCH V4 04/11] examples/pipeline: streamline the Ethernet device support

2023-01-12 Thread Cristian Dumitrescu
Streamline the Ethernet device support code and remove redundant code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 175 ++-- examples/pipeline/main.c | 12 +-- examples/pipeline/obj.c | 186

[PATCH V4 05/11] examples/pipeline: support crypto devices

2023-01-12 Thread Cristian Dumitrescu
Add support for crypto devices in the application. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/obj.c | 60 + examples/pipeline/obj.h | 11 2 files changed, 71 insertions(+) diff --git a/examples

[PATCH V4 06/11] examples/pipeline: add CLI command for crypto device

2023-01-12 Thread Cristian Dumitrescu
Add CLI command for the configuration of crypto devices. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 63 + 1 file changed, 63 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c

[PATCH V4 07/11] examples/pipeline: add IPsec CLI commands

2023-01-12 Thread Cristian Dumitrescu
Add CLI commands for IPsec block configuration. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 298 1 file changed, 298 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c index

[PATCH V4 08/11] examples/pipeline: rework the thread configuration updates

2023-01-12 Thread Cristian Dumitrescu
Previously, the configuration updates for the data plane threads were performed through message queues. Now, this mechanism is replaced by the control thread updating the mirror copy of the data plane thread configuration followed by pointer swapping. Signed-off-by: Cristian Dumitrescu Signed

[PATCH V4 09/11] examples/pipeline: support blocks other than pipelines

2023-01-12 Thread Cristian Dumitrescu
Previously, the data plane threads only supported the execution of pipelines assigned to them through configuration updates. Now, the data plane threads also support running blocks such as IPsec. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/thread.c

[PATCH V4 10/11] examples/pipeline: add block enable/disable CLI commands

2023-01-12 Thread Cristian Dumitrescu
Add CLI commands to enable/disable block execution on data plane threads. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 154 1 file changed, 154 insertions(+) diff --git a/examples/pipeline/cli.c b

[PATCH V4 11/11] examples/pipeline: add IPsec example

2023-01-12 Thread Cristian Dumitrescu
Add example files to illustrate the pipeline IPsec support. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/examples/ipsec.cli| 57 +++ examples/pipeline/examples/ipsec.io | 23 +++ examples/pipeline/examples/ipsec.spec | 138

[PATCH V5 00/11] pipeline: add IPsec support

2023-01-26 Thread Cristian Dumitrescu
packet. The SA ID field is typically written by the pipeline before sending the packet to the IPsec block. Change log: V5: Fixed build issue for gcc 4.8.5. V4: Fixed Doxygen issues. V3: Rebased on top of main latest. V2: Fixed minor style issues. Cristian Dumitrescu (11): pipeline: add IPsec s

[PATCH V5 01/11] pipeline: add IPsec support

2023-01-26 Thread Cristian Dumitrescu
This block is providing IPsec support to the SWX pipeline. The IPsec block is external to the pipeline, so it needs to be explicitly instantiated and connected to a pipeline through the I/O ports. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- lib/pipeline/meson.build

[PATCH V5 02/11] examples/pipeline: rework memory pool support

2023-01-26 Thread Cristian Dumitrescu
Rework the memory pool CLI command to accommodate the MBUF private meta-data area size parameter. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 72 ++--- examples/pipeline/examples/fib.cli| 2

[PATCH V5 03/11] examples/pipeline: streamline ring support

2023-01-26 Thread Cristian Dumitrescu
Remove redundant ring related code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 24 ++-- examples/pipeline/obj.c | 63 - examples/pipeline/obj.h | 21 -- 3 files changed, 15

[PATCH V5 04/11] examples/pipeline: streamline the Ethernet device support

2023-01-26 Thread Cristian Dumitrescu
Streamline the Ethernet device support code and remove redundant code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 175 ++-- examples/pipeline/main.c | 12 +-- examples/pipeline/obj.c | 186

[PATCH V5 05/11] examples/pipeline: support crypto devices

2023-01-26 Thread Cristian Dumitrescu
Add support for crypto devices in the application. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/obj.c | 62 + examples/pipeline/obj.h | 11 2 files changed, 73 insertions(+) diff --git a/examples

[PATCH V5 06/11] examples/pipeline: add CLI command for crypto device

2023-01-26 Thread Cristian Dumitrescu
Add CLI command for the configuration of crypto devices. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 63 + 1 file changed, 63 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c

[PATCH V5 07/11] examples/pipeline: add IPsec CLI commands

2023-01-26 Thread Cristian Dumitrescu
Add CLI commands for IPsec block configuration. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 298 1 file changed, 298 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c index

[PATCH V5 08/11] examples/pipeline: rework the thread configuration updates

2023-01-26 Thread Cristian Dumitrescu
Previously, the configuration updates for the data plane threads were performed through message queues. Now, this mechanism is replaced by the control thread updating the mirror copy of the data plane thread configuration followed by pointer swapping. Signed-off-by: Cristian Dumitrescu Signed

[PATCH V5 09/11] examples/pipeline: support blocks other than pipelines

2023-01-26 Thread Cristian Dumitrescu
Previously, the data plane threads only supported the execution of pipelines assigned to them through configuration updates. Now, the data plane threads also support running blocks such as IPsec. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/thread.c

[PATCH V5 10/11] examples/pipeline: add block enable/disable CLI commands

2023-01-26 Thread Cristian Dumitrescu
Add CLI commands to enable/disable block execution on data plane threads. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 154 1 file changed, 154 insertions(+) diff --git a/examples/pipeline/cli.c b

[PATCH V5 11/11] examples/pipeline: add IPsec example

2023-01-26 Thread Cristian Dumitrescu
Add example files to illustrate the pipeline IPsec support. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/examples/ipsec.cli| 57 +++ examples/pipeline/examples/ipsec.io | 23 +++ examples/pipeline/examples/ipsec.spec | 138

[PATCH V6 00/11] pipeline: add IPsec support

2023-01-26 Thread Cristian Dumitrescu
packet. The SA ID field is typically written by the pipeline before sending the packet to the IPsec block. Change log: V6: Fixed more build issues for gcc 4.8.5. V5: Fixed build issue for gcc 4.8.5. V4: Fixed Doxygen issues. V3: Rebased on top of main latest. V2: Fixed minor style issues. Cr

[PATCH V6 01/11] pipeline: add IPsec support

2023-01-26 Thread Cristian Dumitrescu
This block is providing IPsec support to the SWX pipeline. The IPsec block is external to the pipeline, so it needs to be explicitly instantiated and connected to a pipeline through the I/O ports. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- lib/pipeline/meson.build

[PATCH V6 02/11] examples/pipeline: rework memory pool support

2023-01-26 Thread Cristian Dumitrescu
Rework the memory pool CLI command to accommodate the MBUF private meta-data area size parameter. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 72 ++--- examples/pipeline/examples/fib.cli| 2

[PATCH V6 03/11] examples/pipeline: streamline ring support

2023-01-26 Thread Cristian Dumitrescu
Remove redundant ring related code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 24 ++-- examples/pipeline/obj.c | 63 - examples/pipeline/obj.h | 21 -- 3 files changed, 15

[PATCH V6 04/11] examples/pipeline: streamline the Ethernet device support

2023-01-26 Thread Cristian Dumitrescu
Streamline the Ethernet device support code and remove redundant code. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 172 ++-- examples/pipeline/main.c | 12 +-- examples/pipeline/obj.c | 186

[PATCH V6 05/11] examples/pipeline: support crypto devices

2023-01-26 Thread Cristian Dumitrescu
Add support for crypto devices in the application. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/obj.c | 62 + examples/pipeline/obj.h | 11 2 files changed, 73 insertions(+) diff --git a/examples

[PATCH V6 06/11] examples/pipeline: add CLI command for crypto device

2023-01-26 Thread Cristian Dumitrescu
Add CLI command for the configuration of crypto devices. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 63 + 1 file changed, 63 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c

[PATCH V6 07/11] examples/pipeline: add IPsec CLI commands

2023-01-26 Thread Cristian Dumitrescu
Add CLI commands for IPsec block configuration. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 298 1 file changed, 298 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c index

[PATCH V6 08/11] examples/pipeline: rework the thread configuration updates

2023-01-26 Thread Cristian Dumitrescu
Previously, the configuration updates for the data plane threads were performed through message queues. Now, this mechanism is replaced by the control thread updating the mirror copy of the data plane thread configuration followed by pointer swapping. Signed-off-by: Cristian Dumitrescu Signed

[PATCH V6 09/11] examples/pipeline: support blocks other than pipelines

2023-01-26 Thread Cristian Dumitrescu
Previously, the data plane threads only supported the execution of pipelines assigned to them through configuration updates. Now, the data plane threads also support running blocks such as IPsec. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/thread.c

[PATCH V6 11/11] examples/pipeline: add IPsec example

2023-01-26 Thread Cristian Dumitrescu
Add example files to illustrate the pipeline IPsec support. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/examples/ipsec.cli| 57 +++ examples/pipeline/examples/ipsec.io | 23 +++ examples/pipeline/examples/ipsec.spec | 138

[PATCH V6 10/11] examples/pipeline: add block enable/disable CLI commands

2023-01-26 Thread Cristian Dumitrescu
Add CLI commands to enable/disable block execution on data plane threads. Signed-off-by: Cristian Dumitrescu Signed-off-by: Kamalakannan R --- examples/pipeline/cli.c | 154 1 file changed, 154 insertions(+) diff --git a/examples/pipeline/cli.c b

[PATCH] pipeline: add RSS support

2023-02-03 Thread Cristian Dumitrescu
Add pipeline support for the Receive Side Scaling (RSS) hashing. While the pipeline already supports the stateless hashing schemes, the RSS scheme uses a key configured by the control plane and preserved between successive RSS hash invocations. Signed-off-by: Cristian Dumitrescu Signed-off-by

[PATCH] ethdev: add flow API support for P4-programmable devices

2023-09-15 Thread Cristian Dumitrescu
, which is typically compiled into firmware that is loaded on the device at init time. These flow items and actions are then used during the run-time phase to add flows on the device. Signed-off-by: Cristian Dumitrescu Signed-off-by: Qi Zhang --- Change log: V1: -Incorporated the feedback fro

[PATCH V2] ethdev: add flow API support for P4-programmable devices

2023-09-25 Thread Cristian Dumitrescu
, which is typically compiled into firmware that is loaded on the device at init time. These flow items and actions are then used during the run-time phase to add flows on the device. Signed-off-by: Cristian Dumitrescu Signed-off-by: Qi Zhang --- Change log: V2: -Adjusted field names and imp

[dpdk-dev] [PATCH] pipeline: relax table match field requirements

2021-04-15 Thread Cristian Dumitrescu
.src_addr field in a table match field list, even though within the IPv4 header the dst_addr field is present after the src_addr field. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_ctl.c | 43 -- lib/librte_pipeline/rte_swx_pipeline.c | 188 +++-- 2

[dpdk-dev] [PATCH] pipeline: add table statistics

2021-04-16 Thread Cristian Dumitrescu
Add support for table statistics for the SWX pipeline. For each table, we maintain a counter for lookup hit packets, one for lookup miss packets and one packet counter for each table action. Signed-off-by: Cristian Dumitrescu Signed-off-by: Yogesh Jangra --- examples/pipeline/cli.c

[dpdk-dev] [PATCH] pipeline: prevent some compiler warnings

2021-04-21 Thread Cristian Dumitrescu
Some older versions of the GCC compiler may trigger the -Werror=maybe-uninitialized warning if some local variables are not initialized. Signed-off-by: Cristian Dumitrescu --- lib/librte_pipeline/rte_swx_pipeline.c | 30 +- 1 file changed, 15 insertions(+), 15 deletions

[dpdk-dev] [PATCH 1/5] examples/pipeline: improve table update CLI commands

2021-07-02 Thread Cristian Dumitrescu
From: Churchill Khangar For more felxibility, the single monolithic table update command is split into table entry add, table entry delete, table default entry add, pipeline commit and pipeline abort. Signed-off-by: Churchill Khangar Signed-off-by: Cristian Dumitrescu --- examples/pipeline

[dpdk-dev] [PATCH 2/5] table: add support for selector tables

2021-07-02 Thread Cristian Dumitrescu
header/meta-data fields. It is very useful for implementing an ECMP/WCMP-enabled FIB or a load balancer. It is part of the action selector described by the P4 Portable Switch Architecture (PSA) specification. Signed-off-by: Cristian Dumitrescu --- lib/table/meson.build | 2 + lib/table

[dpdk-dev] [PATCH 3/5] pipeline: add support for selector tables

2021-07-02 Thread Cristian Dumitrescu
Add pipeline-level support for selector tables, Signed-off-by: Cristian Dumitrescu --- lib/pipeline/rte_swx_ctl.c | 700 - lib/pipeline/rte_swx_ctl.h | 253 + lib/pipeline/rte_swx_pipeline.c | 748 --- lib/pipeline

[dpdk-dev] [PATCH 4/5] examples/pipeline: add support for selector tables

2021-07-02 Thread Cristian Dumitrescu
Add application-evel support for selector tables. Signed-off-by: Churchill Khangar Signed-off-by: Cristian Dumitrescu --- examples/pipeline/cli.c | 568 1 file changed, 568 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c

[dpdk-dev] [PATCH 5/5] examples/pipeline: add selector CLI and spec files

2021-07-02 Thread Cristian Dumitrescu
Signed-off-by: Cristian Dumitrescu --- examples/pipeline/examples/selector.cli | 31 +++ examples/pipeline/examples/selector.spec | 70 examples/pipeline/examples/selector.txt | 4 ++ 3 files changed, 105 insertions(+) create mode 100644 examples/pipeline

[dpdk-dev] [PATCH V2 1/5] examples/pipeline: improve table update CLI commands

2021-07-02 Thread Cristian Dumitrescu
From: Churchill Khangar For more felxibility, the single monolithic table update command is split into table entry add, table entry delete, table default entry add, pipeline commit and pipeline abort. Signed-off-by: Churchill Khangar Signed-off-by: Cristian Dumitrescu --- examples/pipeline

[dpdk-dev] [PATCH V2 2/5] table: add support for selector tables

2021-07-02 Thread Cristian Dumitrescu
header/meta-data fields. It is very useful for implementing an ECMP/WCMP-enabled FIB or a load balancer. It is part of the action selector described by the P4 Portable Switch Architecture (PSA) specification. Signed-off-by: Cristian Dumitrescu --- lib/table/meson.build | 2 + lib/table

[dpdk-dev] [PATCH V2 3/5] pipeline: add support for selector tables

2021-07-02 Thread Cristian Dumitrescu
Add pipeline-level support for selector tables, Signed-off-by: Cristian Dumitrescu --- lib/pipeline/rte_swx_ctl.c | 700 - lib/pipeline/rte_swx_ctl.h | 253 + lib/pipeline/rte_swx_pipeline.c | 748 --- lib/pipeline

[dpdk-dev] [PATCH V2 4/5] examples/pipeline: add support for selector tables

2021-07-02 Thread Cristian Dumitrescu
Add application-evel support for selector tables. Signed-off-by: Churchill Khangar Signed-off-by: Cristian Dumitrescu --- examples/pipeline/cli.c | 563 1 file changed, 563 insertions(+) diff --git a/examples/pipeline/cli.c b/examples/pipeline/cli.c

[dpdk-dev] [PATCH V2 5/5] examples/pipeline: add selector example

2021-07-02 Thread Cristian Dumitrescu
Added the files to illustrate the selector table usage. Signed-off-by: Cristian Dumitrescu --- examples/pipeline/examples/selector.cli | 31 examples/pipeline/examples/selector.spec | 95 examples/pipeline/examples/selector.txt | 4 + 3 files changed, 130

  1   2   3   4   5   6   7   8   9   10   >