Skip to content

Commit

Permalink
api: increment ODP API version to 1.39.0.0
Browse files Browse the repository at this point in the history
Increment API version number to reflect the following changes:

Backward incompatible:
- cls: deprecate odp_cos_with_l2_priority() function
- cls: deprecate packet drop policy option and related functions
- shm: disallow usage of invalid SHM handles with odp_shm_info()

Backward compatible:
- buffer: add multi variants of event conversion functions
- cls: add PFC priority level to back pressure parameters
- cls: clarify PMR specification for the case of multiple PMRs matching
  within a CoS
- crypto: fix a stale reference to renamed hash_result_not_in_auth_range
  session parameter
- packet: add support for additional L3 and L4 protocol types
- pktio: add ODP_PKTIN_MAX_QUEUES define for maximum number of packet input
  queues
- pktio: add new packet input queue size configuration option and matching
  capabilities
- pktio: add missing documentation to pktio link enumerations
- pktio: add ODP_PKTIO_LINK_PFC_ON enumeration for PFC flow control mode
- pktio: add capabilities and configuration parameters to control reception
  and transmission of Ethernet pause frames
- shm: add odp_shm_segment_info() function for retrieving information about
  each memory segment of an SHM block
- shm: clarified odp_shm_reserve() operation with the default options (no
  flags)
- system: add odp_system_meminfo() function for retrieving information
  about ODP memory usage

Signed-off-by: Matias Elo <[email protected]>
Reviewed-by: Petri Savolainen <[email protected]>
  • Loading branch information
MatiasElo committed Dec 2, 2022
1 parent b73c1a5 commit b531763
Show file tree
Hide file tree
Showing 2 changed files with 56 additions and 1 deletion.
55 changes: 55 additions & 0 deletions CHANGELOG
Original file line number Diff line number Diff line change
@@ -1,3 +1,58 @@
== OpenDataPlane (1.39.0.0)

=== Backward incompatible API changes
==== Classifier
* Deprecate `odp_cos_with_l2_priority()` function. Use `ODP_PMR_VLAN_PCP_0`
instead.
* Deprecate packet drop policy option (`odp_cls_cos_param_t.drop_policy`) and
related functions `odp_cos_drop()` and `odp_cos_drop_set()`.

==== Shared Memory
* Change `odp_shm_info()` specification to disallow usage of invalid SHM
handles.

=== Backward compatible API changes
==== Buffer
* Add multi variants of event conversion functions
(`odp_buffer_from_event_multi()` and `odp_buffer_to_event_multi()`).

==== Classifier
* Add PFC priority level (`odp_bp_param_t.pfc_level`) to back pressure
parameters.
* Clarify PMR specification to state that in case of multiple PMRs matching
within a CoS, it is implementation specific which PMR is selected.

==== Crypto
* Fix a stale reference to the renamed `hash_result_not_in_auth_range`
session parameter to use the correct name (`hash_result_in_auth_range`)
in the comment text of `hash_result_offset`.

==== Packet
* Add support for additional L3 and L4 protocol types.

==== Packet IO
* Add `ODP_PKTIN_MAX_QUEUES` define for maximum number of packet input queues.
* Add new packet input queue size configuration option
`odp_pktin_queue_param_t.queue_size` and matching capabilities
`odp_pktio_capability_t.min_input_queue_size` and
`odp_pktio_capability_t.max_input_queue_size`.
* Add missing documentation to `odp_pktio_link_status_t`,
`odp_pktio_link_duplex_t`, and `odp_pktio_link_pause_t` enumerations.
* Add `ODP_PKTIO_LINK_PFC_ON` enumeration for PFC flow control mode.
* Add capabilities (`odp_pktio_capability_t.flow_control`) and configuration
parameters to control reception (`odp_pktio_config_t.flow_control.pause_rx`) and
transmission (`odp_pktio_config_t.flow_control.pause_tx`) of Ethernet pause
frames.

==== Shared Memory
* Add `odp_shm_segment_info()` function for retrieving information about each
memory segment of an SHM block.
* Clarified `odp_shm_reserve()` operation with the default options (no flags).

==== System
* Add `odp_system_meminfo()` function for retrieving information about ODP
memory usage.

== OpenDataPlane (1.38.0.0)

=== Backward incompatible API changes
Expand Down
2 changes: 1 addition & 1 deletion configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ AC_PREREQ([2.5])
# ODP API version
##########################################################################
m4_define([odp_version_generation], [1])
m4_define([odp_version_major], [38])
m4_define([odp_version_major], [39])
m4_define([odp_version_minor], [0])
m4_define([odp_version_patch], [0])

Expand Down

0 comments on commit b531763

Please sign in to comment.