Age | Commit message (Collapse) | Author |
|
The supported DPDK versions are currently v19.11 and v20.11.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
|
|
Avoid division by zero if 'dev_info.tx_desc_lim.nb_align == 0'.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
|
|
Check that the number of objects in the pool is not zero in
odp_pool_param_t.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
|
|
Add ODP_SHM_SINGLE_VA to supported flags.
Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
In process mode, use the --legacy-mem EAL option, in order to ensure
that all memory is allocated at process start time. The memory
mappings are inherited by forked processes. This allows us to support
the ODP_SHM_SINGLE_VA flag.
Increase dpdk.process_mode_memory_mb in the configuration file from
512 to 768, so that all tests have enough memory in process mode.
Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Merge ODP linux-generic v1.35.0.0 into linux-dpdk
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
parameter"
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
_odp_packet_copy_cls_md()"
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
function"
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
function"
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Add missing and group existing includes.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Add missing odp/api/abi/byteorder.h include.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Add missing odp/api/buffer.h include and group existing includes.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Remove unnecessary, group existing, and add missing header includes.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
|
|
AM_CONDITIONALs are expected to be global by autoconf. OpenSSL and ARMv8
crypto conditionals are platform specific, which causes configure failures
on other platforms:
configure: error: conditional "WITH_OPENSSL_CRYPTO" was never defined.
Work around this issue by postponing the platform specific conditionals
to AC_CONFIG_COMMANDS_PRE phase, which effectively disables the failing
global checks.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Janne Peltonen <janne.peltonen@nokia.com>
Suggested-by: Nithin Dabilpuram <ndabilpuram@marvell.com>
|
|
Add missing odp/api/buffer.h include.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
|
|
Add missing odp/api/atomic.h, odp/api/event.h, and stdint.h includes. Group
existing includes.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
|
|
Add missing odp/api/queue.h include and group existing includes.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
|
|
Signed-off-by: Matias Elo <matias.elo@nokia.com>
|
|
There is no need to have the rte_crypto_sym_xform type data in the
session structure, so remove it from there. The xform data is really
needed only for rte_cryptodev_sym_session_init() which does not require
its parameters to be preserved after the call. Other uses of the xform
can be replaced by ODP crypto session creation parameters that are also
part of the crypto session.
Remove the xform data from the session structure as it is not needed.
Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Currently a memory buffer is allocated dynamically for the key(s) when
a session is created, but the buffer is not freed when the session is
destroyed.
Fix the leak by not allocating the buffer in the first place. Since
rte_cryptodev_sym_session_init() does not take ownership of the key and
does not require the passed key parameter to live beyond the init call,
we can simply pass it the key pointer we got as a session parameter.
Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com>
Reviewed-by: Matias Elo <matias.elo@nokia.com>
|
|
Increment API version number to reflect the following changes:
Backward incompatible:
- sched: deprecate scheduling priority level defines
ODP_SCHED_PRIO_HIGHEST, ODP_SCHED_PRIO_NORMAL, ODP_SCHED_PRIO_LOWEST, and
ODP_SCHED_PRIO_DEFAULT
- tm: change meaning of odp_tm_enq_multi() return value of zero from
failure code to part of normal operation
Backward compatible:
- packet: remove references to deprecated odp_pktin_ts_res() and
odp_pktin_ts_from_ns() functions
- pktio: add ODP_PKTOUT_MAX_QUEUES define for the maximum number of packet
output queues
- pktio: add new packet output queue size configuration option
odp_pktout_queue_param_t.queue_size and matching capabilities
odp_pktio_capability_t.min_output_queue_size and
odp_pktio_capability_t.max_output_queue_size
- pktio: clarify odp_pktio_config() usage in the interface setup sequence
- pktio: allow large send offload (LSO) usage with traffic manager
- timer: clarify timer tick properties
- timer: add new timer pool parameter odp_timer_pool_param_t.exp_mode
- timer: add new odp_timer_start() and odp_timer_restart() functions
- timer: add support for periodic timers
- tm: add odp_tm_enq_multi_lso() function
Removed deprecated APIs:
- cls: ODP_PMR_INVAL define
- crypto: old style cipher algorithm enumerations ODP_CIPHER_ALG_AES128_CBC
and ODP_CIPHER_ALG_AES128_GCM
- crypto: old style authentication algorithm enumerations
ODP_AUTH_ALG_MD5_96, ODP_AUTH_ALG_SHA256_128, and ODP_AUTH_ALG_AES128_GCM
- crypto: fields aes128_cbc and aes128_gcm from odp_crypto_cipher_algos_t
- crypto: fields md5_96, sha256_128, and aes128_gcm from
odp_crypto_auth_algos_t
- crypto: data range specifier odp_crypto_data_range_t
- crypto: iv field from odp_crypto_session_param_t
- crypto: odp_crypto_session_params_t type
- crypto: override_iv_ptr field from odp_crypto_op_param_t
- crypto: override_iv_ptr field from odp_crypto_packet_op_param_t
- crypto: odp_crypto_op_params_t type
- crypto: odp_crypto_compl_status_t type
- pktio: parser layer defines (ODP_PKTIO_PARSER_LAYER_*)
- pktio: odp_pktio_capability_t.loop_supported capability
- pktio: odp_pktio_mtu() function
- queue: scheduled queue capabilities from odp_queue_capability_t
- misc: odp.h header file replaced by odp_api.h
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Split random types into a separate header file to enable easier function
inlining. No API changes.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Split packet IO types into a separate header file to enable easier function
inlining. No API changes.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Split pool types into a separate header file to enable easier function
inlining. No API changes.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Remove unnecessary, group existing, and add missing header includes.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|
|
Remove unnecessary, group existing, and add missing header includes.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
|