Simplified the L2 forwarding examples by removing all tables and
actions, as they are not really needed for these simple use-cases.
Signed-off-by: Cristian Dumitrescu
---
examples/pipeline/examples/l2fwd.spec| 34 +-
examples/pipeline/examples/l2fwd_macswp.spec | 36
Removed the requirement that the number of pipeline input ports be a
power of 2, which is problematic for many real life use-cases. Also
adding checks for the output port validity used for sending the
current packet.
Signed-off-by: Cristian Dumitrescu
---
lib/pipeline/rte_swx_pipeline.c
Removed the requirement that the number of pipeline input ports be a
power of 2, which is problematic for many real life use-cases. Also
adding checks for the output port validity used for sending the
current packet.
Signed-off-by: Cristian Dumitrescu
---
lib/pipeline/rte_swx_pipeline.c
When rte_log.h was moved to a new directory, the include path was not
updated for the generated C code produced by the pipeline library,
which results in build failure for this code.
Fixes: 09ce41310930 ("log: separate logging functions out of EAL")
Cc: sta...@dpdk.org
Signed-off-by
handle the
required operations.
We are still not supporting the following operations on IPv6 addresses, as they
seem of very little practical use: addition, subtraction, multiplication and
division.
Cristian Dumitrescu (3):
pipeline: add new instruction for upper half of IPv6 address
pipeline:
Added new instruction called "movh" to read/write the upper half of an
IPv6 address, i.e. bits 127-64 of a 128-bit field.
Signed-off-by: Cristian Dumitrescu
---
lib/pipeline/rte_swx_pipeline.c | 99
lib/pipeline/rte_swx_pipeline_internal.h | 52 ++
Add example for swapping the two halves of the IPv6 source address.
Signed-off-by: Cristian Dumitrescu
---
examples/pipeline/examples/ipv6_addr_swap.cli | 35
.../pipeline/examples/ipv6_addr_swap.spec | 83 +++
2 files changed, 118 insertions(+)
create mode 100644
Enhanced the move instruction to detect and optimize the conversion
between 128-bit numbers (IPv6 addresses) and 64-bit (upper or lower
part of IPv6 addresses) or 32-bit numbers (IPv4 addresses).
Signed-off-by: Cristian Dumitrescu
---
lib/pipeline/rte_swx_pipeline.c | 56
When rte_log.h was moved to a new directory, the include path was not
updated for the generated C code produced by the pipeline library,
which results in build failure for this code.
Fixes: 09ce41310930 ("log: separate logging functions out of EAL")
Cc: sta...@dpdk.org
Signed-off-by
Simplified the L2 forwarding examples by removing all tables and
actions, as they are not really needed for this simplest use-case.
Signed-off-by: Cristian Dumitrescu
---
examples/pipeline/examples/l2fwd.spec | 34 +++
1 file changed, 8 insertions(+), 26 deletions
Simplified the L2 forwarding examples by removing all tables and
actions, as they are not really needed for this simplest use-case.
---
examples/pipeline/examples/l2fwd.spec | 34 +++
1 file changed, 8 insertions(+), 26 deletions(-)
diff --git a/examples/pipeline/examples/
, 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
, 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
Postpone the deprecation of the legacy pipeline, table and port
library API and gradual stabilization of the new API.
Signed-off-by: Cristian Dumitrescu
---
doc/guides/rel_notes/deprecation.rst | 21 +
1 file changed, 9 insertions(+), 12 deletions(-)
diff --git a/doc/guides
Announce the deprecation of the legacy pipeline, table and port
library API and gradual stabilization of the new API.
Signed-off-by: Cristian Dumitrescu
---
doc/guides/rel_notes/deprecation.rst | 18 ++
1 file changed, 18 insertions(+)
diff --git a/doc/guides/rel_notes
Announce the deprecation of the legacy pipeline, table and port
library API and gradual stabilization of the new API.
Signed-off-by: Cristian Dumitrescu
---
doc/guides/rel_notes/deprecation.rst | 18 ++
1 file changed, 18 insertions(+)
diff --git a/doc/guides/rel_notes
ze) or a small
header field, so in either case both destination and source are in the
network byte order.
Signed-off-by: Cristian Dumitrescu
Signed-off-by: Kamalakannan R
---
Depends-on: patch-26863 ("[V4] pipeline: add RSS support")
lib/pipeline/rte_swx_pipeline.c | 33
In case of rte_ipsec_session_prepare() error, the crypto session was
not freed, leading to its leakage.
Fixes: 20777eb5f913 ("pipeline: add IPsec")
Coverity issue: 383139
Signed-off-by: Cristian Dumitrescu
---
lib/pipeline/rte_swx_ipsec.c | 6 +-
1 file changed, 5 insertions(+),
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
1 - 100 of 1001 matches
Mail list logo