#
6cf329f9 |
| 07-Oct-2024 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
examples: use eventdev pre-scheduling
Enable event pre-scheduling if supported by the event device.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.c
examples: use eventdev pre-scheduling
Enable event pre-scheduling if supported by the event device.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
1d5078c6 |
| 10-Oct-2022 |
Volodymyr Fialko <vfialko@marvell.com> |
examples/ipsec-secgw: support event vector in lookaside mode
Added vector support for event crypto adapter in lookaside mode. Once --event-vector is enabled, event crypto adapter will group processe
examples/ipsec-secgw: support event vector in lookaside mode
Added vector support for event crypto adapter in lookaside mode. Once --event-vector is enabled, event crypto adapter will group processed crypto operation into rte_event_vector event with type RTE_EVENT_TYPE_CRYPTODEV_VECTOR.
Signed-off-by: Volodymyr Fialko <vfialko@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
c12871e4 |
| 10-Oct-2022 |
Volodymyr Fialko <vfialko@marvell.com> |
examples/ipsec-secgw: add queue for event crypto adapter
Add separate event queue for event crypto adapter processing, to resolve queue contention between new and already processed events.
Signed-o
examples/ipsec-secgw: add queue for event crypto adapter
Add separate event queue for event crypto adapter processing, to resolve queue contention between new and already processed events.
Signed-off-by: Volodymyr Fialko <vfialko@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
0dbe550a |
| 10-Oct-2022 |
Volodymyr Fialko <vfialko@marvell.com> |
examples/ipsec-secgw: initialize event crypto adapter
Added support to create, configure and start an event crypto adapter. This adapter will be used in lookaside event mode processing.
Signed-off-
examples/ipsec-secgw: initialize event crypto adapter
Added support to create, configure and start an event crypto adapter. This adapter will be used in lookaside event mode processing.
Signed-off-by: Volodymyr Fialko <vfialko@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
72b452c5 |
| 27-Aug-2022 |
Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> |
eal: remove unneeded includes from a public header
Do not include <ctype.h>, <errno.h>, and <stdlib.h> from <rte_common.h>, because they are not used by this file. Include the needed headers directl
eal: remove unneeded includes from a public header
Do not include <ctype.h>, <errno.h>, and <stdlib.h> from <rte_common.h>, because they are not used by this file. Include the needed headers directly from the files that need them.
Signed-off-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com> Acked-by: Bruce Richardson <bruce.richardson@intel.com>
show more ...
|
#
31edfc4a |
| 23-May-2022 |
Pavan Nikhilesh <pbhagavatula@marvell.com> |
examples: use mempool cache for vector pool
Use mempool cache for vector mempool as vectors are freed by the Tx routine, also increase the minimum pool size to 512 to avoid resource contention on Rx
examples: use mempool cache for vector pool
Use mempool cache for vector mempool as vectors are freed by the Tx routine, also increase the minimum pool size to 512 to avoid resource contention on Rx.
Signed-off-by: Pavan Nikhilesh <pbhagavatula@marvell.com> Acked-by: Jerin Jacob <jerinj@marvell.com>
show more ...
|
#
48a39871 |
| 23-Feb-2022 |
Nithin Dabilpuram <ndabilpuram@marvell.com> |
examples/ipsec-secgw: add pool size parameters
Add support to enable per port packet pool and also override vector pool size from command line args. This is useful on some HW to tune performance bas
examples/ipsec-secgw: add pool size parameters
Add support to enable per port packet pool and also override vector pool size from command line args. This is useful on some HW to tune performance based on usecase.
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
986c2c9e |
| 02-Dec-2021 |
Nithin Dabilpuram <ndabilpuram@marvell.com> |
examples/ipsec-secgw: fix eventdev start sequence
Start eventdev after complete initialization of event dev, rx adapter and tx adapter.
Fixes: e0b0e55c8f15 ("examples/ipsec-secgw: add framework for
examples/ipsec-secgw: fix eventdev start sequence
Start eventdev after complete initialization of event dev, rx adapter and tx adapter.
Fixes: e0b0e55c8f15 ("examples/ipsec-secgw: add framework for event helper") Cc: stable@dpdk.org
Signed-off-by: Nithin Dabilpuram <ndabilpuram@marvell.com> Acked-by: Anoob Joseph <anoobj@marvell.com>
show more ...
|
#
7be78d02 |
| 29-Nov-2021 |
Josh Soref <jsoref@gmail.com> |
fix spelling in comments and strings
The tool comes from https://github.com/jsoref
Signed-off-by: Josh Soref <jsoref@gmail.com> Signed-off-by: Thomas Monjalon <thomas@monjalon.net>
|
#
86738ebe |
| 03-Nov-2021 |
Srujana Challa <schalla@marvell.com> |
examples/ipsec-secgw: support event vector
Adds event vector support to inline protocol offload mode. By default vector support is disabled, it can be enabled by using the option --event-vector. Add
examples/ipsec-secgw: support event vector
Adds event vector support to inline protocol offload mode. By default vector support is disabled, it can be enabled by using the option --event-vector. Additional options to configure vector size and vector timeout are also implemented and can be used by specifying --vector-size and --vector-tmo.
Signed-off-by: Srujana Challa <schalla@marvell.com> Acked-by: Akhil Goyal <gakhil@marvell.com>
show more ...
|
#
cb056611 |
| 15-Oct-2020 |
Stephen Hemminger <stephen@networkplumber.org> |
eal: rename lcore master and slave
Replace master lcore with main lcore and replace slave lcore with worker lcore.
Keep the old functions and macros but mark them as deprecated for this release.
T
eal: rename lcore master and slave
Replace master lcore with main lcore and replace slave lcore with worker lcore.
Keep the old functions and macros but mark them as deprecated for this release.
The "--master-lcore" command line option is also deprecated and any usage will print a warning and use "--main-lcore" as replacement.
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org> Acked-by: Anatoly Burakov <anatoly.burakov@intel.com>
show more ...
|
#
b55efbab |
| 15-Oct-2020 |
Ivan Ilchenko <ivan.ilchenko@oktetlabs.ru> |
examples: check stop call status
rte_eth_dev_stop() return value was changed from void to int, so this patch modify usage of this function across examples according to new return type.
Signed-off-b
examples: check stop call status
rte_eth_dev_stop() return value was changed from void to int, so this patch modify usage of this function across examples according to new return type.
Signed-off-by: Ivan Ilchenko <ivan.ilchenko@oktetlabs.ru> Signed-off-by: Andrew Rybchenko <arybchenko@solarflare.com>
show more ...
|
#
f5ad5016 |
| 17-Apr-2020 |
Ankur Dwivedi <adwivedi@marvell.com> |
examples/ipsec-secgw: check event adapter errors
The return values of functions are checked before proceeding further.
Coverity issue: 355670, 355671, 355672, 355673 Fixes: 1d89ccf32301 ("examples/
examples/ipsec-secgw: check event adapter errors
The return values of functions are checked before proceeding further.
Coverity issue: 355670, 355671, 355672, 355673 Fixes: 1d89ccf32301 ("examples/ipsec-secgw: support event Tx adapter")
Signed-off-by: Ankur Dwivedi <adwivedi@marvell.com> Acked-by: Anoob Joseph <anoobj@marvell.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
65e3a202 |
| 27-Feb-2020 |
Lukasz Bartosik <lbartosik@marvell.com> |
examples/ipsec-secgw: add event mode
Add eventmode support to ipsec-secgw. With the aid of event helper configure and use the eventmode capabilities.
Signed-off-by: Anoob Joseph <anoobj@marvell.com
examples/ipsec-secgw: add event mode
Add eventmode support to ipsec-secgw. With the aid of event helper configure and use the eventmode capabilities.
Signed-off-by: Anoob Joseph <anoobj@marvell.com> Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
bc33e9c7 |
| 27-Feb-2020 |
Lukasz Bartosik <lbartosik@marvell.com> |
examples/ipsec-secgw: add event helper config init/uninit
Add eventmode helper eh_conf_init and eh_conf_uninit functions which purpose is to initialize and uninitialize eventmode helper configuratio
examples/ipsec-secgw: add event helper config init/uninit
Add eventmode helper eh_conf_init and eh_conf_uninit functions which purpose is to initialize and uninitialize eventmode helper configuration.
Signed-off-by: Anoob Joseph <anoobj@marvell.com> Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
ec3cc53f |
| 27-Feb-2020 |
Lukasz Bartosik <lbartosik@marvell.com> |
examples/ipsec-secgw: support internal ports for events
Add support for Rx and Tx internal ports. When internal ports are available then a packet can be received from eth port and forwarded to event
examples/ipsec-secgw: support internal ports for events
Add support for Rx and Tx internal ports. When internal ports are available then a packet can be received from eth port and forwarded to event queue by HW without any software intervention. The same applies to Tx side where a packet sent to an event queue can by forwarded by HW to eth port without any software intervention.
Signed-off-by: Anoob Joseph <anoobj@marvell.com> Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
1bf6baac |
| 27-Feb-2020 |
Lukasz Bartosik <lbartosik@marvell.com> |
examples/ipsec-secgw: add event worker launch
In eventmode workers can be drafted differently according to the capabilities of the underlying event device. The added functions will receive an array
examples/ipsec-secgw: add event worker launch
In eventmode workers can be drafted differently according to the capabilities of the underlying event device. The added functions will receive an array of such workers and probe the eventmode properties to choose the worker.
Signed-off-by: Anoob Joseph <anoobj@marvell.com> Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
4ce38479 |
| 27-Feb-2020 |
Anoob Joseph <anoobj@marvell.com> |
examples/ipsec-secgw: add event config display
Add routines to display the eventmode configuration and provide an overview of the devices used.
Signed-off-by: Anoob Joseph <anoobj@marvell.com> Sign
examples/ipsec-secgw: add event config display
Add routines to display the eventmode configuration and provide an overview of the devices used.
Signed-off-by: Anoob Joseph <anoobj@marvell.com> Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
1d89ccf3 |
| 27-Feb-2020 |
Anoob Joseph <anoobj@marvell.com> |
examples/ipsec-secgw: support event Tx adapter
Add Tx adapter support. The event helper init routine will initialize the Tx adapter according to the configuration. If Tx adapter config is not presen
examples/ipsec-secgw: support event Tx adapter
Add Tx adapter support. The event helper init routine will initialize the Tx adapter according to the configuration. If Tx adapter config is not present it will generate a default config.
Signed-off-by: Anoob Joseph <anoobj@marvell.com> Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
02afed59 |
| 27-Feb-2020 |
Anoob Joseph <anoobj@marvell.com> |
examples/ipsec-secgw: support event Rx adapter
Add Rx adapter support. The event helper init routine will initialize the Rx adapter according to the configuration. If Rx adapter config is not presen
examples/ipsec-secgw: support event Rx adapter
Add Rx adapter support. The event helper init routine will initialize the Rx adapter according to the configuration. If Rx adapter config is not present it will generate a default config. If there are enough event queues available it will map eth ports and event queues 1:1 (one eth port will be connected to one event queue). Otherwise it will map all eth ports to one event queue.
Signed-off-by: Anoob Joseph <anoobj@marvell.com> Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
d7bcfb97 |
| 27-Feb-2020 |
Anoob Joseph <anoobj@marvell.com> |
examples/ipsec-secgw: add event port-lcore link
Add event device port-lcore link and specify which event queues should be connected to the event port. Generate a default config for event port-lcore
examples/ipsec-secgw: add event port-lcore link
Add event device port-lcore link and specify which event queues should be connected to the event port. Generate a default config for event port-lcore links if it is not specified in the configuration. This routine will check the number of available ports and then create links according to the number of cores available. This patch also adds a new entry in the eventmode conf to denote that all queues are to be linked with every port. This enables one core to receive packets from all ethernet ports.
Signed-off-by: Anoob Joseph <anoobj@marvell.com> Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|
#
e0b0e55c |
| 27-Feb-2020 |
Anoob Joseph <anoobj@marvell.com> |
examples/ipsec-secgw: add framework for event helper
Add framework for eventmode helper. Event mode involves initialization of multiple devices like eventdev, ethdev and etc. Add routines to initial
examples/ipsec-secgw: add framework for event helper
Add framework for eventmode helper. Event mode involves initialization of multiple devices like eventdev, ethdev and etc. Add routines to initialize and uninitialize event device. Generate a default config for event device if it is not specified in the configuration. Currently event helper supports single event device only.
Signed-off-by: Anoob Joseph <anoobj@marvell.com> Signed-off-by: Lukasz Bartosik <lbartosik@marvell.com> Acked-by: Konstantin Ananyev <konstantin.ananyev@intel.com> Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
show more ...
|