remove experimental flag from some API's
PATCH v7 11/25 timer: remove experimental from rte_timer_next_ticks
In reply to Stephen HemmingerFunction was added in 20.11, remove experimental flag.
--- lib/timer/rte_timer.h | 4 ---- lib/timer/version.map | 7 +------ 2 files changed, 1 insertion(+), 10 deletions(-)
lib/timer/rte_timer.h +0 -4
@@ -331,9 +331,6 @@ void rte_timer_stop_sync(struct rte_timer *tim);int rte_timer_pending (struct rte_timer *tim);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Time until the next timer on the current lcore * This function gives the ticks until the next timer will be active. *
@@ -343,7 +340,6 @@ int rte_timer_pending(struct rte_timer *tim);* - 0: a timer is pending and will run at next rte_timer_manage() * - >0: ticks until the next timer is ready */ -__rte_experimental int64_t rte_timer_next_ticks (void );/**
lib/timer/version.map +1 -6
@@ -10,6 +10,7 @@ DPDK_24 { rte_timer_dump_stats; rte_timer_init; rte_timer_manage; + rte_timer_next_ticks; rte_timer_pending; rte_timer_reset; rte_timer_reset_sync;
@@ -21,9 +22,3 @@ DPDK_24 { local: *; }; - -EXPERIMENTAL { - global: - - rte_timer_next_ticks; -};
Signature · 1 line
2.39.2
PATCH v7 12/25 sched: remove experimental
In reply to Stephen HemmingerThe overcommit and PIE support was added back in 2020. Remove experimental tag.
--- lib/sched/rte_pie.h | 8 -------- lib/sched/rte_sched.h | 5 ----- lib/sched/version.map | 18 ++++-------------- 3 files changed, 4 insertions(+), 27 deletions(-)
lib/sched/rte_pie.h +0 -8
@@ -78,7 +78,6 @@ struct rte_pie {* @retval !0 error */ int -__rte_experimentalrte_pie_rt_data_init (struct rte_pie *pie);/**
@@ -95,7 +94,6 @@ rte_pie_rt_data_init(struct rte_pie *pie);* @retval !0 error */ int -__rte_experimental rte_pie_config_init(struct rte_pie_config *pie_cfg, const uint16_t qdelay_ref, const uint16_t dp_update_interval,
@@ -116,7 +114,6 @@ rte_pie_config_init(struct rte_pie_config *pie_cfg,* @retval !0 drop the packet */ static int -__rte_experimentalrte_pie_enqueue_empty (const struct rte_pie_config *pie_cfg,struct rte_pie *pie,uint32_t pkt_len)
@@ -148,7 +145,6 @@ rte_pie_enqueue_empty(const struct rte_pie_config *pie_cfg,* @param time [in] current time (measured in cpu cycles) */ static void -__rte_experimental_calc_drop_probability (const struct rte_pie_config *pie_cfg,struct rte_pie *pie,uint64_t time) {
@@ -212,7 +208,6 @@ _calc_drop_probability(const struct rte_pie_config *pie_cfg,* @retval 1 drop the packet */ static inline int -__rte_experimental_rte_pie_drop (const struct rte_pie_config *pie_cfg,struct rte_pie *pie) {
@@ -261,7 +256,6 @@ _rte_pie_drop(const struct rte_pie_config *pie_cfg,* @retval 2 drop the packet based on mark probability criterion */ static inline int -__rte_experimental rte_pie_enqueue_nonempty(const struct rte_pie_config *pie_cfg, struct rte_pie *pie, uint32_t pkt_len,
@@ -329,7 +323,6 @@ rte_pie_enqueue_nonempty(const struct rte_pie_config *pie_cfg,* @retval 1 drop the packet based on drop probability criteria */ static inline int -__rte_experimental rte_pie_enqueue(const struct rte_pie_config *pie_cfg, struct rte_pie *pie, const unsigned int qlen,
@@ -354,7 +347,6 @@ rte_pie_enqueue(const struct rte_pie_config *pie_cfg,* @param time [in] current time stamp in cpu cycles */ static inline void -__rte_experimentalrte_pie_dequeue (struct rte_pie *pie,uint32_t pkt_len,uint64_t time)
lib/sched/rte_sched.h +0 -5
@@ -353,9 +353,6 @@ rte_sched_subport_pipe_profile_add(struct rte_sched_port *port, uint32_t *pipe_profile_id);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice. -* * Hierarchical scheduler subport bandwidth profile add * Note that this function is safe to use in runtime for adding new * subport bandwidth profile as it doesn't have any impact on hierarchical
@@ -369,7 +366,6 @@ rte_sched_subport_pipe_profile_add(struct rte_sched_port *port,* @return * 0 upon success, error code otherwise */ -__rte_experimental int rte_sched_port_subport_profile_add(struct rte_sched_port *port, struct rte_sched_subport_profile_params *profile,
@@ -592,7 +588,6 @@ rte_sched_port_dequeue(struct rte_sched_port *port, struct rte_mbuf **pkts, uint* @return * 0 upon success, error code otherwise */ -__rte_experimental int rte_sched_subport_tc_ov_config (struct rte_sched_port *port,uint32_t subport_id,bool tc_ov_enable);
lib/sched/version.map +4 -14
@@ -2,6 +2,8 @@ DPDK_24 { global: rte_approx; + rte_pie_config_init; + rte_pie_rt_data_init; rte_red_config_init; rte_red_log2_1_minus_Wq; rte_red_pow2_frac_inv;
@@ -17,24 +19,12 @@ DPDK_24 { rte_sched_port_pkt_read_color; rte_sched_port_pkt_read_tree_path; rte_sched_port_pkt_write; + rte_sched_port_subport_profile_add; rte_sched_queue_read_stats; rte_sched_subport_config; rte_sched_subport_pipe_profile_add; rte_sched_subport_read_stats; + rte_sched_subport_tc_ov_config; local: *; }; - -EXPERIMENTAL { - global: - - # added in 20.11 - rte_sched_port_subport_profile_add; - - # added in 21.11 - rte_pie_rt_data_init; - rte_pie_config_init; - - # added in 22.07 - rte_sched_subport_tc_ov_config; -};
Signature · 1 line
2.39.2
PATCH v7 13/25 dmadev: mark API's as not experimental
In reply to Stephen HemmingerThese were added in 20.11 time now to remove experimental flag.
--- MAINTAINERS | 2 +- lib/dmadev/rte_dmadev.h | 85 ----------------------------------------- lib/dmadev/version.map | 2 +- 3 files changed, 2 insertions(+), 87 deletions(-)
MAINTAINERS +1 -1
@@ -483,7 +483,7 @@ F: doc/guides/prog_guide/mldev.rst F: app/test-mldev/ F: doc/guides/tools/testmldev.rst -DMA device API - EXPERIMENTAL +DMA device API M: Chengwen Feng <[email protected]> F: lib/dmadev/ F: drivers/dma/skeleton/
lib/dmadev/rte_dmadev.h +0 -85
321 lines not on this page · raw message
lib/dmadev/version.map +1 -1
@@ -1,4 +1,4 @@ -EXPERIMENTAL { +DPDK_24 { global: rte_dma_close;
Signature · 1 line
2.39.2
PATCH v7 14/25 meter: remove experimental warning from comments
In reply to Stephen HemmingerThe API's for rte_meter_trtcm were documented as experimental with warning in documentation but the API's were not marked as experimental in version.map and/or with __rte_experimental.
This patch removes the warnings from the docbook comment.
--- lib/meter/rte_meter.h | 12 ------------ 1 file changed, 12 deletions(-)
lib/meter/rte_meter.h +0 -12
@@ -124,9 +124,6 @@ int rte_meter_trtcm_profile_config(struct rte_meter_trtcm_profile *p, struct rte_meter_trtcm_params *params);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * trTCM RFC 4115 profile configuration * * @param p
@@ -170,9 +167,6 @@ rte_meter_trtcm_config(struct rte_meter_trtcm *m, struct rte_meter_trtcm_profile *p);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * trTCM RFC 4115 configuration per metered traffic flow * * @param m
@@ -273,9 +267,6 @@ rte_meter_trtcm_color_aware_check(struct rte_meter_trtcm *m, enum rte_color pkt_color);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * trTCM RFC4115 color blind traffic metering * * @param m
@@ -297,9 +288,6 @@ rte_meter_trtcm_rfc4115_color_blind_check( uint32_t pkt_len);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * trTCM RFC4115 color aware traffic metering * * @param m
Signature · 1 line
2.39.2
PATCH v7 15/25 power: remove experimental from API's
In reply to Stephen HemmingerThe power management API's were last changed in 22.11 release.
--- lib/power/rte_power.h | 4 --- lib/power/rte_power_guest_channel.h | 4 --- lib/power/rte_power_pmd_mgmt.h | 40 ----------------------------- lib/power/rte_power_uncore.h | 2 -- lib/power/version.map | 37 +++++++++++--------------- 5 files changed, 15 insertions(+), 72 deletions(-)
lib/power/rte_power.h +0 -4
@@ -25,9 +25,6 @@ enum power_management_env {PM_ENV_NOT_SET, PM_ENV_ACPI_CPUFREQ, PM_ENV_KVM_VM, PM_ENV_AMD_PSTATE_CPUFREQ};/** -* @warning -* @b EXPERIMENTAL: this API may change, or be removed, without prior notice -* * Check if a specific power management environment type is supported on a * currently running system. *
@@ -39,7 +36,6 @@ enum power_management_env {PM_ENV_NOT_SET, PM_ENV_ACPI_CPUFREQ, PM_ENV_KVM_VM,* - 0 if unsupported * - -1 if error, with rte_errno indicating reason for error. */ -__rte_experimental int rte_power_check_env_supported (enum power_management_env env);/**
lib/power/rte_power_guest_channel.h +0 -4
@@ -135,9 +135,6 @@ int rte_power_guest_channel_send_msg(struct rte_power_channel_packet *pkt, unsigned int lcore_id);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice. -* * Receive a message contained in pkt over the Virtio-Serial * from the host endpoint. *
@@ -155,7 +152,6 @@ int rte_power_guest_channel_send_msg(struct rte_power_channel_packet *pkt,* - 0 on success. * - Negative on error. */ -__rte_experimental int rte_power_guest_channel_receive_msg (void *pkt,size_t pkt_len,unsigned int lcore_id);
lib/power/rte_power_pmd_mgmt.h +0 -40
@@ -33,9 +33,6 @@ enum rte_power_pmd_mgmt_type { };/** -* @warning -* @b EXPERIMENTAL: this API may change, or be removed, without prior notice. -* * Enable power management on a specified Ethernet device Rx queue and lcore. * * @note This function is not thread-safe.
@@ -55,16 +52,12 @@ enum rte_power_pmd_mgmt_type {* 0 on success * <0 on error */ -__rte_experimental int rte_power_ethdev_pmgmt_queue_enable (unsigned int lcore_id,uint16_t port_id,uint16_t queue_id,enum rte_power_pmd_mgmt_type mode);/** -* @warning -* @b EXPERIMENTAL: this API may change, or be removed, without prior notice. -* * Disable power management on a specified Ethernet device Rx queue and lcore. * * @note This function is not thread-safe.
@@ -82,42 +75,30 @@ rte_power_ethdev_pmgmt_queue_enable(unsigned int lcore_id,* 0 on success * <0 on error */ -__rte_experimental int rte_power_ethdev_pmgmt_queue_disable (unsigned int lcore_id,uint16_t port_id,uint16_t queue_id);/** -* @warning -* @b EXPERIMENTAL: this API may change, or be removed, without prior notice. -* * Set a emptypoll_max to specified value. Used to specify the number of empty * polls to wait before entering sleep state. * * @param max * The value to set emptypoll_max to. */ -__rte_experimental void rte_power_pmd_mgmt_set_emptypoll_max (unsigned int max);/** -* @warning -* @b EXPERIMENTAL: this API may change, or be removed, without prior notice. -* * Get the current value of emptypoll_max. * * @return * The current emptypoll_max value */ -__rte_experimental unsigned int rte_power_pmd_mgmt_get_emptypoll_max (void );/** -* @warning -* @b EXPERIMENTAL: this API may change, or be removed, without prior notice. -* * Set the pause_duration. Used to adjust the pause mode callback duration. * * @note Duration must be greater than zero.
@@ -128,27 +109,19 @@ rte_power_pmd_mgmt_get_emptypoll_max(void);* 0 on success * <0 on error */ -__rte_experimental int rte_power_pmd_mgmt_set_pause_duration (unsigned int duration);/** -* @warning -* @b EXPERIMENTAL: this API may change, or be removed, without prior notice. -* * Get the current value of pause_duration. * * @return * The current pause_duration value. */ -__rte_experimental unsigned int rte_power_pmd_mgmt_get_pause_duration (void );/** -* @warning -* @b EXPERIMENTAL: this API may change, or be removed, without prior notice. -* * Set the min frequency to be used for frequency scaling or zero to use defaults. * * @note Supported by: Pstate mode.
@@ -161,14 +134,10 @@ rte_power_pmd_mgmt_get_pause_duration(void);* 0 on success * <0 on error */ -__rte_experimental int rte_power_pmd_mgmt_set_scaling_freq_min (unsigned int lcore,unsigned int min);/** -* @warning -* @b EXPERIMENTAL: this API may change, or be removed, without prior notice. -* * Set the max frequency to be used for frequency scaling or zero to use defaults. * * @note Supported by: Pstate mode.
@@ -182,14 +151,10 @@ rte_power_pmd_mgmt_set_scaling_freq_min(unsigned int lcore, unsigned int min);* 0 on success * <0 on error */ -__rte_experimental int rte_power_pmd_mgmt_set_scaling_freq_max (unsigned int lcore,unsigned int max);/** -* @warning -* @b EXPERIMENTAL: this API may change, or be removed, without prior notice. -* * Get the current configured min frequency used for frequency scaling. * * @note Supported by: Pstate mode.
@@ -202,14 +167,10 @@ rte_power_pmd_mgmt_set_scaling_freq_max(unsigned int lcore, unsigned int max);* , in KiloHertz, used for frequency scaling. * <0 on error */ -__rte_experimental int rte_power_pmd_mgmt_get_scaling_freq_min (unsigned int lcore);/** -* @warning -* @b EXPERIMENTAL: this API may change, or be removed, without prior notice. -* * Get the current configured max frequency used for frequency scaling. * * @note Supported by: Pstate mode.
@@ -222,7 +183,6 @@ rte_power_pmd_mgmt_get_scaling_freq_min(unsigned int lcore);* , in KiloHertz, used for frequency scaling. * <0 on error */ -__rte_experimental int rte_power_pmd_mgmt_get_scaling_freq_max (unsigned int lcore);
lib/power/rte_power_uncore.h +0 -2
@@ -74,7 +74,6 @@ enum rte_uncore_power_mgmt_env rte_power_get_uncore_env(void);* - 0 on success. * - Negative on error. */ -__rte_experimental int rte_power_uncore_init (unsigned int pkg,unsigned int die);
@@ -96,7 +95,6 @@ rte_power_uncore_init(unsigned int pkg, unsigned int die);* - 0 on success. * - Negative on error. */ -__rte_experimental int rte_power_uncore_exit (unsigned int pkg,unsigned int die);
lib/power/version.map +15 -22
@@ -1,6 +1,9 @@ DPDK_24 { global: + rte_power_check_env_supported; + rte_power_ethdev_pmgmt_queue_disable; + rte_power_ethdev_pmgmt_queue_enable; rte_power_exit; rte_power_freq_disable_turbo; rte_power_freq_down;
@@ -12,27 +15,10 @@ DPDK_24 { rte_power_get_capabilities; rte_power_get_env; rte_power_get_freq; + rte_power_get_uncore_freq; + rte_power_guest_channel_receive_msg; rte_power_guest_channel_send_msg; rte_power_init; - rte_power_set_env; - rte_power_set_freq; - rte_power_turbo_status; - rte_power_unset_env; - - local: *; -}; - -EXPERIMENTAL { - global: - - rte_power_check_env_supported; - rte_power_guest_channel_receive_msg; - - # added in 21.02 - rte_power_ethdev_pmgmt_queue_disable; - rte_power_ethdev_pmgmt_queue_enable; - - # added in 22.07 rte_power_pmd_mgmt_get_emptypoll_max; rte_power_pmd_mgmt_get_pause_duration; rte_power_pmd_mgmt_get_scaling_freq_max;
@@ -41,10 +27,10 @@ EXPERIMENTAL { rte_power_pmd_mgmt_set_pause_duration; rte_power_pmd_mgmt_set_scaling_freq_max; rte_power_pmd_mgmt_set_scaling_freq_min; - - # added in 22.11 - rte_power_get_uncore_freq; + rte_power_set_env; + rte_power_set_freq; rte_power_set_uncore_freq; + rte_power_turbo_status; rte_power_uncore_exit; rte_power_uncore_freq_max; rte_power_uncore_freq_min;
@@ -52,6 +38,13 @@ EXPERIMENTAL { rte_power_uncore_get_num_freqs; rte_power_uncore_get_num_pkgs; rte_power_uncore_init; + rte_power_unset_env; + + local: *; +}; + +EXPERIMENTAL { + global: # added in 23.11 rte_power_get_uncore_env;
Signature · 1 line
2.39.2
PATCH v7 16/25 kvargs: remove experimental flag
In reply to Stephen HemmingerThe function rte_kvargs_get_with_value was added in 21.11 so experimental flag can be removed.
--- lib/kvargs/rte_kvargs.h | 4 ---- lib/kvargs/version.map | 8 +------- 2 files changed, 1 insertion(+), 11 deletions(-)
lib/kvargs/rte_kvargs.h +0 -4
@@ -145,9 +145,6 @@ void rte_kvargs_free(struct rte_kvargs *kvlist);const char *rte_kvargs_get (const struct rte_kvargs *kvlist,const char *key);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Get the value associated with a given key and value. * * Find the first entry in the kvlist whose key and value match the
@@ -167,7 +164,6 @@ const char *rte_kvargs_get(const struct rte_kvargs *kvlist, const char *key);* NULL if no key matches the input, * a value associated with a matching key otherwise. */ -__rte_experimental const char *rte_kvargs_get_with_value (const struct rte_kvargs *kvlist,const char *key,const char *value);
lib/kvargs/version.map +1 -7
@@ -4,16 +4,10 @@ DPDK_24 { rte_kvargs_count; rte_kvargs_free; rte_kvargs_get; + rte_kvargs_get_with_value; rte_kvargs_parse; rte_kvargs_parse_delim; rte_kvargs_process; local: *; }; - -EXPERIMENTAL { - global: - - # added in 21.11 - rte_kvargs_get_with_value; -};
Signature · 1 line
2.39.2
PATCH v7 17/25 ip_frag: mark a couple of functions stable
In reply to Stephen HemmingerThere were two functions added in 22.11 which were marked as experimental. Remove the experimental tag.
--- lib/ip_frag/rte_ip_frag.h | 2 -- lib/ip_frag/version.map | 9 ++------- 2 files changed, 2 insertions(+), 9 deletions(-)
lib/ip_frag/rte_ip_frag.h +0 -2
@@ -205,7 +205,6 @@ int32_t rte_ipv4_fragment_packet(struct rte_mbuf *pkt_in,* in the pkts_out array. * Otherwise - (-1) * errno. */ -__rte_experimental int32_t rte_ipv4_fragment_copy_nonseg_packet(struct rte_mbuf *pkt_in, struct rte_mbuf **pkts_out,
@@ -289,7 +288,6 @@ rte_ip_frag_table_statistics_dump(FILE * f, const struct rte_ip_frag_tbl *tbl);* @param tms * Current timestamp */ -__rte_experimental void rte_ip_frag_table_del_expired_entries (struct rte_ip_frag_tbl *tbl,struct rte_ip_frag_death_row *dr,uint64_t tms);
lib/ip_frag/version.map +2 -7
@@ -3,19 +3,14 @@ DPDK_24 { rte_ip_frag_free_death_row; rte_ip_frag_table_create; + rte_ip_frag_table_del_expired_entries; rte_ip_frag_table_destroy; rte_ip_frag_table_statistics_dump; rte_ipv4_frag_reassemble_packet; + rte_ipv4_fragment_copy_nonseg_packet; rte_ipv4_fragment_packet; rte_ipv6_frag_reassemble_packet; rte_ipv6_fragment_packet; local: *; }; - -EXPERIMENTAL { - global: - - rte_ip_frag_table_del_expired_entries; - rte_ipv4_fragment_copy_nonseg_packet; -};
Signature · 1 line
2.39.2
PATCH v7 18/25 member: remove experimental tag
In reply to Stephen HemmingerThe member library last received new API's in 22.11. All the API's should be marked stable by now.
--- lib/member/rte_member.h | 54 ----------------------------------------- lib/member/version.map | 12 +++------ 2 files changed, 3 insertions(+), 63 deletions(-)
lib/member/rte_member.h +0 -54
@@ -15,9 +15,6 @@* bloom filter (vBF). For HT setsummary, two subtypes or modes are available, * cache and non-cache modes. The table below summarize some properties of * the different implementations. -* -* @warning -* @b EXPERIMENTAL: this API may change without prior notice */ /**
@@ -117,17 +114,11 @@ extern int librte_member_logtype;struct rte_member_setsum ;/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Parameter struct used to create set summary */ struct rte_member_parameters ;/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Define different set summary types */ enum rte_member_setsum_type {
@@ -207,9 +198,6 @@ struct rte_member_setsum { } __rte_cache_aligned;/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Parameters used when create the set summary table. Currently user can * specify two types of setsummary: HT based and vBF. For HT based, user can * specify cache or non-cache mode. Here is a table to describe some differences
@@ -351,9 +339,6 @@ struct rte_member_parameters { } __rte_cache_aligned;/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Find an existing set-summary and return a pointer to it. * * @param name
@@ -367,9 +352,6 @@ struct rte_member_setsum * rte_member_find_existing(const char *name);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Create set-summary (SS). * * @param params
@@ -382,9 +364,6 @@ struct rte_member_setsum * rte_member_create(const struct rte_member_parameters *params);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Lookup key in set-summary (SS). * Single key lookup and return as soon as the first match found *
@@ -402,9 +381,6 @@ rte_member_lookup(const struct rte_member_setsum *setsum, const void *key, member_set_t *set_id);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Lookup bulk of keys in set-summary (SS). * Each key lookup returns as soon as the first match found *
@@ -427,9 +403,6 @@ rte_member_lookup_bulk(const struct rte_member_setsum *setsum, member_set_t *set_ids);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Lookup a key in set-summary (SS) for multiple matches. * The key lookup will find all matched entries (multiple match). * Note that for cache mode of HT, each key can have at most one match. This is
@@ -456,9 +429,6 @@ rte_member_lookup_multi(const struct rte_member_setsum *setsum, member_set_t *set_id);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Lookup a bulk of keys in set-summary (SS) for multiple matches each key. * Each key lookup will find all matched entries (multiple match). * Note that for cache mode HT, each key can have at most one match. So
@@ -489,9 +459,6 @@ rte_member_lookup_multi_bulk(const struct rte_member_setsum *setsum, member_set_t *set_ids);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Insert key into set-summary (SS). * * @param setsum
@@ -522,9 +489,6 @@ rte_member_add(const struct rte_member_setsum *setsum, const void *key, member_set_t set_id);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Add the packet byte size into the sketch. * * @param setsum
@@ -536,15 +500,11 @@ rte_member_add(const struct rte_member_setsum *setsum, const void *key,* @return * Return -EINVAL for invalid parameters, otherwise return 0. */ -__rte_experimental int rte_member_add_byte_count (const struct rte_member_setsum *setsum,const void *key,uint32_t byte_count);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Query packet count for a certain flow-key. * * @param setsum
@@ -556,16 +516,12 @@ rte_member_add_byte_count(const struct rte_member_setsum *setsum,* @return * Return -EINVAL for invalid parameters. */ -__rte_experimental int rte_member_query_count (const struct rte_member_setsum *setsum,const void *key,uint64_t *count);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Report heavyhitter flow-keys into set-summary (SS). * * @param setsum
@@ -578,16 +534,12 @@ rte_member_query_count(const struct rte_member_setsum *setsum,* Return -EINVAL for invalid parameters. Return a positive integer indicate * how many heavy hitters are reported. */ -__rte_experimental int rte_member_report_heavyhitter (const struct rte_member_setsum *setsum,void **keys,uint64_t *counts);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * De-allocate memory used by set-summary. * * @param setsum
@@ -598,9 +550,6 @@ void rte_member_free(struct rte_member_setsum *setsum);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Reset the set-summary tables. E.g. reset bits to be 0 in BF, * reset set_id in each entry to be RTE_MEMBER_NO_MATCH in HT based SS. *
@@ -611,9 +560,6 @@ void rte_member_reset(const struct rte_member_setsum *setsum);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Delete items from the set-summary. Note that vBF does not support deletion * in current implementation. For vBF, error code of -EINVAL will be returned. *
lib/member/version.map +3 -9
@@ -2,6 +2,7 @@ DPDK_24 { global: rte_member_add; + rte_member_add_byte_count; rte_member_create; rte_member_delete; rte_member_find_existing;
@@ -10,16 +11,9 @@ DPDK_24 { rte_member_lookup_bulk; rte_member_lookup_multi; rte_member_lookup_multi_bulk; + rte_member_query_count; + rte_member_report_heavyhitter; rte_member_reset; local: *; }; - -EXPERIMENTAL { - global: - - # added in 22.11 - rte_member_add_byte_count; - rte_member_query_count; - rte_member_report_heavyhitter; -};
Signature · 1 line
2.39.2
PATCH v7 19/25 security: remove experimental flag
In reply to Stephen HemmingerUpdate security API's to stable:
__rte_security_set_pkt_metadata 21.11 rte_security_dynfield_offset 20.11 rte_security_macsec_XXX 22.11 rte_security_session_stats_get 18.11
--- lib/security/rte_security.h | 35 ----------------------------------- lib/security/version.map | 18 +++++++++--------- 2 files changed, 9 insertions(+), 44 deletions(-)
lib/security/rte_security.h +0 -35
@@ -815,7 +815,6 @@ rte_security_session_create(void *instance,* - On success returns 0 * - On failure returns a negative errno value. */ -__rte_experimental int rte_security_session_update(void *instance, void *sess,
@@ -851,9 +850,6 @@ intrte_security_session_destroy (void *instance, void *sess);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Create MACsec security channel (SC). * * @param instance security instance
@@ -865,15 +861,11 @@ rte_security_session_destroy(void *instance, void *sess);* - -ENOMEM if PMD is not capable to create more SC. * - other negative value for other errors. */ -__rte_experimental int rte_security_macsec_sc_create (void *instance,struct rte_security_macsec_sc *conf);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Destroy MACsec security channel (SC). * * @param instance security instance
@@ -884,15 +876,11 @@ rte_security_macsec_sc_create(void *instance,* - -EINVAL if sc_id is invalid or instance is NULL. * - -EBUSY if sc is being used by some session. */ -__rte_experimental int rte_security_macsec_sc_destroy (void *instance,uint16_t sc_id,enum rte_security_macsec_direction dir);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Create MACsec security association (SA). * * @param instance security instance
@@ -904,15 +892,11 @@ rte_security_macsec_sc_destroy(void *instance, uint16_t sc_id,* - -ENOMEM if PMD is not capable to create more SAs. * - other negative value for other errors. */ -__rte_experimental int rte_security_macsec_sa_create (void *instance,struct rte_security_macsec_sa *conf);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Destroy MACsec security association (SA). * * @param instance security instance
@@ -923,7 +907,6 @@ rte_security_macsec_sa_create(void *instance,* - -EINVAL if sa_id is invalid or instance is NULL. * - -EBUSY if sa is being used by some session. */ -__rte_experimental int rte_security_macsec_sa_destroy (void *instance,uint16_t sa_id,enum rte_security_macsec_direction dir);
@@ -941,9 +924,6 @@ typedef struct rte_mbuf *rte_security_oop_dynfield_t;extern int rte_security_oop_dynfield_offset;/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Get pointer to mbuf field for device-specific metadata. * * For performance reason, no check is done,
@@ -953,7 +933,6 @@ extern int rte_security_oop_dynfield_offset;* @param mbuf packet to access * @return pointer to mbuf field */ -__rte_experimental static inline rte_security_dynfield_t *rte_security_dynfield (struct rte_mbuf *mbuf) {
@@ -982,14 +961,10 @@ rte_security_oop_dynfield(struct rte_mbuf *mbuf) }/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Check whether the dynamic field is registered. * * @return true if rte_security_dynfield_register() has been called. */ -__rte_experimental static inline bool rte_security_dynfield_is_registered (void ) {return rte_security_dynfield_offset >=0 ;
@@ -1059,7 +1034,6 @@ rte_security_session_fast_mdata_set(void *sess, uint64_t fdata) }/** Function to call PMD specific function pointer set_pkt_metadata() */ -__rte_experimental int __rte_security_set_pkt_metadata (void *instance,void *sess,struct rte_mbuf *m,void *params);
@@ -1230,16 +1204,12 @@ struct rte_security_stats {* - On success, return 0 * - On failure, a negative value */ -__rte_experimental int rte_security_session_stats_get (void *instance,void *sess,struct rte_security_stats *stats);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Get MACsec SA statistics. * * @param instance security instance
@@ -1250,16 +1220,12 @@ rte_security_session_stats_get(void *instance,* - On success, return 0. * - On failure, a negative value. */ -__rte_experimental int rte_security_macsec_sa_stats_get (void *instance,uint16_t sa_id,enum rte_security_macsec_direction dir,struct rte_security_macsec_sa_stats *stats);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Get MACsec SC statistics. * * @param instance security instance
@@ -1270,7 +1236,6 @@ rte_security_macsec_sa_stats_get(void *instance,* - On success, return 0. * - On failure, a negative value. */ -__rte_experimental int rte_security_macsec_sc_stats_get(void *instance, uint16_t sc_id, enum rte_security_macsec_direction dir,
lib/security/version.map +9 -9
@@ -1,19 +1,12 @@ DPDK_24 { global: + __rte_security_set_pkt_metadata; rte_security_capabilities_get; rte_security_capability_get; rte_security_session_create; rte_security_session_destroy; rte_security_session_get_size; - - local: *; -}; - -EXPERIMENTAL { - global: - - __rte_security_set_pkt_metadata; rte_security_dynfield_offset; rte_security_macsec_sa_create; rte_security_macsec_sa_destroy;
@@ -23,8 +16,15 @@ EXPERIMENTAL { rte_security_macsec_sc_stats_get; rte_security_session_stats_get; rte_security_session_update; - rte_security_oop_dynfield_offset; + local: *; +}; + +EXPERIMENTAL { + global: + + # Added in 23.11 + rte_security_oop_dynfield_offset; rte_security_rx_inject_configure; rte_security_inb_pkt_rx_inject; };
Signature · 1 line
2.39.2
PATCH v7 20/25 bbdev: remove experimental tag
In reply to Stephen HemmingerThe API's for bbdev were last added to in 22.11.
Remove experimental flag now.
--- lib/bbdev/rte_bbdev.h | 4 ---- lib/bbdev/rte_bbdev_op.h | 2 -- lib/bbdev/version.map | 15 +++++++-------- 3 files changed, 7 insertions(+), 14 deletions(-)
lib/bbdev/rte_bbdev.h +0 -4
@@ -675,7 +675,6 @@ rte_bbdev_enqueue_ldpc_dec_ops(uint16_t dev_id, uint16_t queue_id,* The number of operations actually enqueued. * (This is the number of processed entries in the @p ops array.) */ -__rte_experimental static inline uint16_t rte_bbdev_enqueue_fft_ops (uint16_t dev_id,uint16_t queue_id,struct rte_bbdev_fft_op **ops,uint16_t num_ops)
@@ -860,7 +859,6 @@ rte_bbdev_dequeue_ldpc_dec_ops(uint16_t dev_id, uint16_t queue_id,* The number of operations actually dequeued (this is the number of entries * copied into the @p ops array). */ -__rte_experimental static inline uint16_t rte_bbdev_dequeue_fft_ops (uint16_t dev_id,uint16_t queue_id,struct rte_bbdev_fft_op **ops,uint16_t num_ops)
@@ -1042,7 +1040,6 @@ rte_bbdev_queue_intr_ctl(uint16_t dev_id, uint16_t queue_id, int epfd, int op,* @returns * Device status as string or NULL if invalid. */ -__rte_experimental const char *rte_bbdev_device_status_str (enum rte_bbdev_device_status status);
@@ -1055,7 +1052,6 @@ rte_bbdev_device_status_str(enum rte_bbdev_device_status status);* @returns * Queue status as string or NULL if op_type is invalid. */ -__rte_experimental const char *rte_bbdev_enqueue_status_str (enum rte_bbdev_enqueue_status status);
lib/bbdev/rte_bbdev_op.h +0 -2
@@ -1130,7 +1130,6 @@ rte_bbdev_dec_op_alloc_bulk(struct rte_mempool *mempool,* - 0 on success. * - EINVAL if invalid mempool is provided. */ -__rte_experimental static inline int rte_bbdev_fft_op_alloc_bulk (struct rte_mempool *mempool,struct rte_bbdev_fft_op **ops,unsigned int num_ops)
@@ -1220,7 +1219,6 @@ rte_bbdev_enc_op_free_bulk(struct rte_bbdev_enc_op **ops, unsigned int num_ops)* @param num_ops * Number of structures. */ -__rte_experimental static inline void rte_bbdev_fft_op_free_bulk (struct rte_bbdev_fft_op **ops,unsigned int num_ops) {
lib/bbdev/version.map +7 -8
@@ -10,11 +10,17 @@ DPDK_24 { rte_bbdev_dec_op_free_bulk; rte_bbdev_dequeue_dec_ops; rte_bbdev_dequeue_enc_ops; + rte_bbdev_dequeue_fft_ops; + rte_bbdev_device_status_str; rte_bbdev_devices; rte_bbdev_enc_op_alloc_bulk; rte_bbdev_enc_op_free_bulk; rte_bbdev_enqueue_dec_ops; rte_bbdev_enqueue_enc_ops; + rte_bbdev_enqueue_fft_ops; + rte_bbdev_enqueue_status_str; + rte_bbdev_fft_op_alloc_bulk; + rte_bbdev_fft_op_free_bulk; rte_bbdev_find_next; rte_bbdev_get_named_dev; rte_bbdev_info_get;
@@ -43,14 +49,7 @@ DPDK_24 { EXPERIMENTAL { global: - # added in 22.11 - rte_bbdev_dequeue_fft_ops; - rte_bbdev_device_status_str; - rte_bbdev_enqueue_fft_ops; - rte_bbdev_enqueue_status_str; - rte_bbdev_fft_op_alloc_bulk; - rte_bbdev_fft_op_free_bulk; - #added in 23.11 + # added in 23.11 rte_bbdev_dequeue_mldts_ops; rte_bbdev_enqueue_mldts_ops; rte_bbdev_mldts_op_alloc_bulk;
Signature · 1 line
2.39.2
PATCH v7 21/25 ipsec: remove experimental from SA API
In reply to Stephen HemmingerThese API's were added in 21.11, remove experimental flag.
--- lib/ipsec/rte_ipsec.h | 2 -- lib/ipsec/version.map | 9 +-------- 2 files changed, 1 insertion(+), 10 deletions(-)
lib/ipsec/rte_ipsec.h +0 -2
@@ -168,7 +168,6 @@ rte_ipsec_pkt_process(const struct rte_ipsec_session *ss, struct rte_mbuf *mb[],* @return * 0 on success, negative value otherwise. */ -__rte_experimental int rte_ipsec_telemetry_sa_add (const struct rte_ipsec_sa *sa);
@@ -178,7 +177,6 @@ rte_ipsec_telemetry_sa_add(const struct rte_ipsec_sa *sa);* @param sa * Pointer to the *rte_ipsec_sa* object that will have telemetry disabled. */ -__rte_experimental void rte_ipsec_telemetry_sa_del (const struct rte_ipsec_sa *sa);
lib/ipsec/version.map +1 -8
@@ -16,15 +16,8 @@ DPDK_24 { rte_ipsec_sad_lookup; rte_ipsec_ses_from_crypto; rte_ipsec_session_prepare; - - local: *; -}; - -EXPERIMENTAL { - global: - - # added in 21.11 rte_ipsec_telemetry_sa_add; rte_ipsec_telemetry_sa_del; + local: *; };
Signature · 1 line
2.39.2
PATCH v7 22/25 compressdev: remove experimental flag
In reply to Stephen HemmingerThe compressdev was added back in 2018.
Remove the experimental flag and make ABI stable.
--- MAINTAINERS | 2 +- lib/compressdev/rte_comp.h | 6 ------ lib/compressdev/rte_compressdev.h | 26 -------------------------- lib/compressdev/rte_compressdev_pmd.h | 6 ------ lib/compressdev/version.map | 2 +- 5 files changed, 2 insertions(+), 40 deletions(-)
MAINTAINERS +1 -1
@@ -459,7 +459,7 @@ F: lib/security/ F: doc/guides/prog_guide/rte_security.rst F: app/test/test_security* -Compression API - EXPERIMENTAL +Compression API M: Fan Zhang <[email protected]> M: Ashish Gupta <[email protected]> T: git://dpdk.org/next/dpdk-next-crypto
lib/compressdev/rte_comp.h +0 -6
@@ -499,7 +499,6 @@ struct rte_comp_op {* - On success pointer to mempool * - On failure NULL */ -__rte_experimental struct rte_mempool * rte_comp_op_pool_create(const char *name, unsigned int nb_elts, unsigned int cache_size,
@@ -515,7 +514,6 @@ rte_comp_op_pool_create(const char *name,* - On success returns a valid rte_comp_op structure * - On failure returns NULL */ -__rte_experimental struct rte_comp_op *rte_comp_op_alloc (struct rte_mempool *mempool);
@@ -532,7 +530,6 @@ rte_comp_op_alloc(struct rte_mempool *mempool);* - nb_ops: Success, the nb_ops requested was allocated * - 0: Not enough entries in the mempool; no ops are retrieved. */ -__rte_experimental int rte_comp_op_bulk_alloc (struct rte_mempool *mempool,struct rte_comp_op **ops,uint16_t nb_ops);
@@ -546,7 +543,6 @@ rte_comp_op_bulk_alloc(struct rte_mempool *mempool,* Compress operation pointer allocated from rte_comp_op_alloc() * If op is NULL, no operation is performed. */ -__rte_experimental void rte_comp_op_free (struct rte_comp_op *op);
@@ -561,7 +557,6 @@ rte_comp_op_free(struct rte_comp_op *op);* @param nb_ops * Number of operations to free */ -__rte_experimental void rte_comp_op_bulk_free (struct rte_comp_op **ops,uint16_t nb_ops);
@@ -574,7 +569,6 @@ rte_comp_op_bulk_free(struct rte_comp_op **ops, uint16_t nb_ops);* @return * The name of this flag, or NULL if it's not a valid feature flag. */ -__rte_experimental const char *rte_comp_get_feature_name (uint64_t flag);
lib/compressdev/rte_compressdev.h +0 -26
@@ -10,10 +10,6 @@* * RTE Compression Device APIs. * -* @warning -* @b EXPERIMENTAL: -* All functions in this file may be changed or removed without prior notice. -* * Defines comp device APIs for the provisioning of compression operations. */
@@ -54,7 +50,6 @@ struct rte_compressdev_capabilities {#define RTE_COMP_END_OF_CAPABILITIES_LIST () \ { RTE_COMP_ALGO_UNSPECIFIED } -__rte_experimental const struct rte_compressdev_capabilities *rte_compressdev_capability_get (uint8_t dev_id,enum rte_comp_algorithm algo);
@@ -94,7 +89,6 @@ rte_compressdev_capability_get(uint8_t dev_id,* @return * The name of this flag, or NULL if it's not a valid feature flag. */ -__rte_experimental const char *rte_compressdev_get_feature_name (uint64_t flag);
@@ -133,7 +127,6 @@ struct rte_compressdev_stats {* - Returns compress device identifier on success. * - Return -1 on failure to find named compress device. */ -__rte_experimental int rte_compressdev_get_dev_id (const char *name);
@@ -146,7 +139,6 @@ rte_compressdev_get_dev_id(const char *name);* - Returns compress device name. * - Returns NULL if compress device is not present. */ -__rte_experimental const char *rte_compressdev_name_get (uint8_t dev_id);
@@ -157,7 +149,6 @@ rte_compressdev_name_get(uint8_t dev_id);* @return * - The total number of usable compress devices. */ -__rte_experimental uint8_t rte_compressdev_count (void );
@@ -175,7 +166,6 @@ rte_compressdev_count(void);* @return * Returns number of attached compress devices. */ -__rte_experimental uint8_t rte_compressdev_devices_get (const char *driver_name,uint8_t *devices,uint8_t nb_devices);
@@ -190,7 +180,6 @@ rte_compressdev_devices_get(const char *driver_name, uint8_t *devices,* a default of zero if the socket could not be determined. * -1 if returned is the dev_id value is out of range. */ -__rte_experimental int rte_compressdev_socket_id (uint8_t dev_id);
@@ -221,7 +210,6 @@ struct rte_compressdev_config {* - 0: Success, device configured. * - <0: Error code returned by the driver configuration function. */ -__rte_experimental int rte_compressdev_configure (uint8_t dev_id,struct rte_compressdev_config *config);
@@ -240,7 +228,6 @@ rte_compressdev_configure(uint8_t dev_id,* - 0: Success, device started. * - <0: Error code of the driver device start function. */ -__rte_experimental int rte_compressdev_start (uint8_t dev_id);
@@ -251,7 +238,6 @@ rte_compressdev_start(uint8_t dev_id);* @param dev_id * Compress device identifier */ -__rte_experimental void rte_compressdev_stop (uint8_t dev_id);
@@ -269,7 +255,6 @@ rte_compressdev_stop(uint8_t dev_id);* - 0 on successfully closing device * - <0 on failure to close device */ -__rte_experimental int rte_compressdev_close (uint8_t dev_id);
@@ -296,7 +281,6 @@ rte_compressdev_close(uint8_t dev_id);* - 0: Success, queue pair correctly set up. * - <0: Queue pair configuration failed */ -__rte_experimental int rte_compressdev_queue_pair_setup (uint8_t dev_id,uint16_t queue_pair_id,uint32_t max_inflight_ops,int socket_id);
@@ -309,7 +293,6 @@ rte_compressdev_queue_pair_setup(uint8_t dev_id, uint16_t queue_pair_id,* @return * - The number of configured queue pairs. */ -__rte_experimental uint16_t rte_compressdev_queue_pair_count (uint8_t dev_id);
@@ -327,7 +310,6 @@ rte_compressdev_queue_pair_count(uint8_t dev_id);* - Zero if successful. * - Non-zero otherwise. */ -__rte_experimental int rte_compressdev_stats_get (uint8_t dev_id,struct rte_compressdev_stats *stats);
@@ -337,7 +319,6 @@ rte_compressdev_stats_get(uint8_t dev_id, struct rte_compressdev_stats *stats);* @param dev_id * The identifier of the device. */ -__rte_experimental void rte_compressdev_stats_reset (uint8_t dev_id);
@@ -355,7 +336,6 @@ rte_compressdev_stats_reset(uint8_t dev_id);* The element after the last valid element has it's op field set to * RTE_COMP_ALGO_UNSPECIFIED. */ -__rte_experimental void rte_compressdev_info_get (uint8_t dev_id,struct rte_compressdev_info *dev_info);
@@ -413,7 +393,6 @@ rte_compressdev_info_get(uint8_t dev_id, struct rte_compressdev_info *dev_info);* of pointers to *rte_comp_op* structures effectively supplied to the * *ops* array. */ -__rte_experimental uint16_t rte_compressdev_dequeue_burst (uint8_t dev_id,uint16_t qp_id,struct rte_comp_op **ops,uint16_t nb_ops);
@@ -468,7 +447,6 @@ rte_compressdev_dequeue_burst(uint8_t dev_id, uint16_t qp_id,* comp devices queue is full or if invalid parameters are specified in * a *rte_comp_op*. */ -__rte_experimental uint16_t rte_compressdev_enqueue_burst (uint8_t dev_id,uint16_t qp_id,struct rte_comp_op **ops,uint16_t nb_ops);
@@ -496,7 +474,6 @@ rte_compressdev_enqueue_burst(uint8_t dev_id, uint16_t qp_id,* - Returns -ENOTSUP if comp device does not support the comp transform. * - Returns -ENOMEM if the private stream could not be allocated. */ -__rte_experimental int rte_compressdev_stream_create(uint8_t dev_id, const struct rte_comp_xform *xform,
@@ -518,7 +495,6 @@ rte_compressdev_stream_create(uint8_t dev_id,* - Returns -ENOTSUP if comp device does not support STATEFUL operations. * - Returns -EBUSY if can't free stream as there are inflight operations */ -__rte_experimental int rte_compressdev_stream_free (uint8_t dev_id,void *stream);
@@ -545,7 +521,6 @@ rte_compressdev_stream_free(uint8_t dev_id, void *stream);* - Returns -ENOTSUP if comp device does not support the comp transform. * - Returns -ENOMEM if the private_xform could not be allocated. */ -__rte_experimental int rte_compressdev_private_xform_create(uint8_t dev_id, const struct rte_comp_xform *xform,
@@ -567,7 +542,6 @@ rte_compressdev_private_xform_create(uint8_t dev_id,* - <0 in error cases * - Returns -EINVAL if input parameters are invalid. */ -__rte_experimental int rte_compressdev_private_xform_free (uint8_t dev_id,void *private_xform);
lib/compressdev/rte_compressdev_pmd.h +0 -6
@@ -59,7 +59,6 @@ struct rte_compressdev_global {* @return * - The rte_compressdev structure pointer for the given device identifier. */ -__rte_experimental struct rte_compressdev *rte_compressdev_pmd_get_named_dev (const char *name);
@@ -292,7 +291,6 @@ struct rte_compressdev_ops {* @return * - Slot in the rte_dev_devices array for a new device; */ -__rte_experimental struct rte_compressdev *rte_compressdev_pmd_allocate (const char *name,int socket_id);
@@ -308,7 +306,6 @@ rte_compressdev_pmd_allocate(const char *name, int socket_id);* @return * - 0 on success, negative on error */ -__rte_experimental int rte_compressdev_pmd_release_device (struct rte_compressdev *dev);
@@ -331,7 +328,6 @@ rte_compressdev_pmd_release_device(struct rte_compressdev *dev);* - 0 on success * - errno on failure */ -__rte_experimental int rte_compressdev_pmd_parse_input_args( struct rte_compressdev_pmd_init_params *params,
@@ -353,7 +349,6 @@ rte_compressdev_pmd_parse_input_args(* - comp device instance on success * - NULL on creation failure */ -__rte_experimental struct rte_compressdev * rte_compressdev_pmd_create(const char *name, struct rte_device *device,
@@ -372,7 +367,6 @@ rte_compressdev_pmd_create(const char *name,* - 0 on success * - errno on failure */ -__rte_experimental int rte_compressdev_pmd_destroy (struct rte_compressdev *dev);
lib/compressdev/version.map +1 -1
@@ -1,4 +1,4 @@ -EXPERIMENTAL { +DPDK_24 { global: rte_compressdev_capability_get;
Signature · 1 line
2.39.2
PATCH v7 23/25 node: remove some of the experimental tags
In reply to Stephen HemmingerThe node library has been around long enough that experimental tag should be removed. The IPv6 support was added in 23.03 but that is still enough time that it can be marked stable.
The logtype variable should have been marked internal since it is not intended to be used outside of library.
--- MAINTAINERS | 2 +- lib/node/rte_node_eth_api.h | 1 - lib/node/rte_node_ip4_api.h | 2 -- lib/node/version.map | 16 ++++++++++++---- 4 files changed, 13 insertions(+), 8 deletions(-)
MAINTAINERS +1 -1
@@ -1735,7 +1735,7 @@ F: app/test/test_graph* F: examples/l3fwd-graph/ F: doc/guides/sample_app_ug/l3_forward_graph.rst -Nodes - EXPERIMENTAL +Nodes M: Nithin Dabilpuram <[email protected]> M: Pavan Nikhilesh <[email protected]> F: lib/node/
lib/node/rte_node_eth_api.h +0 -1
@@ -55,7 +55,6 @@ struct rte_node_ethdev_config {* @return * 0 on successful initialization, negative otherwise. */ -__rte_experimental int rte_node_eth_config (struct rte_node_ethdev_config *cfg,uint16_t cnt,uint16_t nb_graphs);#ifdef __cplusplus
lib/node/rte_node_ip4_api.h +0 -2
@@ -82,7 +82,6 @@ struct rte_node_ip4_reassembly_cfg {* @return * 0 on success, negative otherwise. */ -__rte_experimental int rte_node_ip4_route_add (uint32_t ip,uint8_t depth,uint16_t next_hop,enum rte_node_ip4_lookup_next next_node);
@@ -101,7 +100,6 @@ int rte_node_ip4_route_add(uint32_t ip, uint8_t depth, uint16_t next_hop,* @return * 0 on success, negative otherwise. */ -__rte_experimental int rte_node_ip4_rewrite_add (uint16_t next_hop,uint8_t *rewrite_data,uint8_t rewrite_len,uint16_t dst_port);
lib/node/version.map +12 -4
@@ -1,11 +1,15 @@ -EXPERIMENTAL { +DPDK_24 { global: - # added in 20.05 rte_node_eth_config; rte_node_ip4_route_add; rte_node_ip4_rewrite_add; - rte_node_logtype; + + local: *; +}; + +EXPERIMENTAL { + global: # added in 23.07 rte_node_ip6_rewrite_add;
@@ -15,6 +19,10 @@ EXPERIMENTAL { rte_node_ip4_reassembly_configure; rte_node_udp4_dst_port_add; rte_node_udp4_usr_node_add; +}; - local: *; +INTERNAL { + global: + + rte_node_logtype; };
Signature · 1 line
2.39.2
Re: [PATCH v7 23/25] node: remove some of the experimental tags
Quoted 7 lines · Stephen Hemminger
The node library has been around long enough that experimental tag should be removed. The IPv6 support was added in 23.03 but that is still enough time that it can be marked stable.
The logtype variable should have been marked internal since it is not intended to be used outside of library.
There is, even, no need to export this symbol in the first place.
$ git grep -lw rte_node_logtype lib/node/log.c lib/node/node_private.h
$ git grep -lw node_private.h '**.h'
We only need to remove rte_node_logtype from version.map. This can be fixed when applying.
Quoted 2 lines
Signed-off-by Stephen Hemminger <[email protected]>
Signature · 1 line
David Marchand
Jerin Jacob
Acked-byRe: [PATCH v7 23/25] node: remove some of the experimental tags
Quoted 17 lines · David Marchand
Quoted 7 lines · Stephen Hemminger
The node library has been around long enough that experimental tag should be removed. The IPv6 support was added in 23.03 but that is still enough time that it can be marked stable.
The logtype variable should have been marked internal since it is not intended to be used outside of library.
There is, even, no need to export this symbol in the first place.
$ git grep -lw rte_node_logtype lib/node/log.c lib/node/node_private.h
Quoted 8 lines
$ git grep -lw node_private.h '**.h'We only need to remove
rte_node_logtypefrom version.map. This can be fixed when applying.Quoted 2 lines
Signed-off-by Stephen Hemminger <[email protected]>
Quoted 5 lines
--
David Marchand
PATCH v7 24/25 eventdev: make many API's stable
In reply to Stephen HemmingerAll API's in eventdev up to 22.11 release should be made stable.
--- lib/eventdev/rte_event_crypto_adapter.h | 4 --- lib/eventdev/rte_event_eth_rx_adapter.h | 6 ----- lib/eventdev/rte_event_eth_tx_adapter.h | 3 --- lib/eventdev/rte_event_timer_adapter.h | 3 --- lib/eventdev/rte_eventdev.h | 4 --- lib/eventdev/version.map | 34 ++++++++++--------------- 6 files changed, 13 insertions(+), 41 deletions(-)
lib/eventdev/rte_event_crypto_adapter.h +0 -4
@@ -694,9 +694,6 @@ rte_event_crypto_adapter_runtime_params_get(uint8_t id, struct rte_event_crypto_adapter_runtime_params *params);/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Retrieve vector limits for a given event dev and crypto dev pair. * @see rte_event_crypto_adapter_vector_limits *
@@ -712,7 +709,6 @@ rte_event_crypto_adapter_runtime_params_get(uint8_t id,* - 0: Success. * - <0: Error code on failure. */ -__rte_experimental int rte_event_crypto_adapter_vector_limits_get (uint8_t dev_id,uint16_t cdev_id,struct rte_event_crypto_adapter_vector_limits *limits);
lib/eventdev/rte_event_eth_rx_adapter.h +0 -6
@@ -466,7 +466,6 @@ int rte_event_eth_rx_adapter_create(uint8_t id, uint8_t dev_id,* - 0: Success * - <0: Error code on failure */ -__rte_experimental int rte_event_eth_rx_adapter_create_with_params (uint8_t id,uint8_t dev_id,struct rte_event_port_conf *port_config,struct rte_event_eth_rx_adapter_params *rxa_params);
@@ -711,7 +710,6 @@ int rte_event_eth_rx_adapter_vector_limits_get(* - 0: Success, Receive queue added correctly. * - <0: Error code on failure. */ -__rte_experimental int rte_event_eth_rx_adapter_queue_conf_get(uint8_t id, uint16_t eth_dev_id, uint16_t rx_queue_id,
@@ -736,7 +734,6 @@ int rte_event_eth_rx_adapter_queue_conf_get(uint8_t id,* - 0: Success, queue buffer stats retrieved. * - <0: Error code on failure. */ -__rte_experimental int rte_event_eth_rx_adapter_queue_stats_get(uint8_t id, uint16_t eth_dev_id,
@@ -759,7 +756,6 @@ rte_event_eth_rx_adapter_queue_stats_get(uint8_t id,* - 0: Success, queue buffer stats retrieved. * - <0: Error code on failure. */ -__rte_experimental int rte_event_eth_rx_adapter_queue_stats_reset(uint8_t id, uint16_t eth_dev_id,
@@ -780,7 +776,6 @@ rte_event_eth_rx_adapter_queue_stats_reset(uint8_t id,* - <0: Error code on failure, if the adapter doesn't use a rte_service * function, this function returns -ESRCH. */ -__rte_experimental int rte_event_eth_rx_adapter_event_port_get (uint8_t id,uint8_t *event_port_id);
@@ -801,7 +796,6 @@ rte_event_eth_rx_adapter_event_port_get(uint8_t id, uint8_t *event_port_id);* - 0: Success * - <0: Error code on failure */ -__rte_experimental int rte_event_eth_rx_adapter_instance_get(uint16_t eth_dev_id, uint16_t rx_queue_id,
lib/eventdev/rte_event_eth_tx_adapter.h +0 -3
@@ -492,7 +492,6 @@ rte_event_eth_tx_adapter_service_id_get(uint8_t id, uint32_t *service_id);* - 0: Success * - <0: Error code on failure */ -__rte_experimental int rte_event_eth_tx_adapter_instance_get(uint16_t eth_dev_id, uint16_t tx_queue_id,
@@ -527,7 +526,6 @@ rte_event_eth_tx_adapter_instance_get(uint16_t eth_dev_id,* - 0: Success * - <0: Error code on failure */ -__rte_experimental int rte_event_eth_tx_adapter_queue_start (uint16_t eth_dev_id,uint16_t tx_queue_id);
@@ -546,7 +544,6 @@ rte_event_eth_tx_adapter_queue_start(uint16_t eth_dev_id, uint16_t tx_queue_id);* - 0: Success * - <0: Error code on failure */ -__rte_experimental int rte_event_eth_tx_adapter_queue_stop (uint16_t eth_dev_id,uint16_t tx_queue_id);
lib/eventdev/rte_event_timer_adapter.h +0 -3
@@ -689,9 +689,6 @@ rte_event_timer_cancel_burst(const struct rte_event_timer_adapter *adapter, }/** -* @warning -* @b EXPERIMENTAL: this API may change without prior notice -* * Get the number of ticks remaining until event timer expiry. * * @param adapter
lib/eventdev/rte_eventdev.h +0 -4
@@ -785,7 +785,6 @@ rte_event_queue_attr_get(uint8_t dev_id, uint8_t queue_id, uint32_t attr_id,* - -ENOTSUP: device does not support setting the event attribute. * - <0: failed to set event queue attribute */ -__rte_experimental int rte_event_queue_attr_set (uint8_t dev_id,uint8_t queue_id,uint32_t attr_id,uint64_t attr_value);
@@ -948,7 +947,6 @@ typedef void (*rte_eventdev_port_flush_t)(uint8_t dev_id,* @param args * Argument supplied to callback. */ -__rte_experimental void rte_event_port_quiesce (uint8_t dev_id,uint8_t port_id,rte_eventdev_port_flush_t release_cb,void *args);
@@ -2465,7 +2463,6 @@ rte_event_dequeue_burst(uint8_t dev_id, uint8_t port_id, struct rte_event ev[],* * @see RTE_EVENT_DEV_CAP_MAINTENANCE_FREE */ -__rte_experimental static inline int rte_event_maintain (uint8_t dev_id,uint8_t port_id,int op) {
@@ -2514,7 +2511,6 @@ rte_event_maintain(uint8_t dev_id, uint8_t port_id, int op)* - 0 on success. * - -EINVAL if *dev_id*, *port_id*, or *profile_id* is invalid. */ -__rte_experimental static inline uint8_t rte_event_port_profile_switch (uint8_t dev_id,uint8_t port_id,uint8_t profile_id) {
lib/eventdev/version.map +13 -21
@@ -5,6 +5,7 @@ DPDK_24 { __rte_eventdev_trace_deq_burst; __rte_eventdev_trace_enq_burst; __rte_eventdev_trace_eth_tx_adapter_enqueue; + __rte_eventdev_trace_maintain; __rte_eventdev_trace_timer_arm_burst; __rte_eventdev_trace_timer_arm_tmo_tick_burst; __rte_eventdev_trace_timer_cancel_burst;
@@ -20,6 +21,7 @@ DPDK_24 { rte_event_crypto_adapter_stats_get; rte_event_crypto_adapter_stats_reset; rte_event_crypto_adapter_stop; + rte_event_crypto_adapter_vector_limits_get; rte_event_dequeue_timeout_ticks; rte_event_dev_attr_get; rte_event_dev_close;
@@ -42,9 +44,15 @@ DPDK_24 { rte_event_eth_rx_adapter_cb_register; rte_event_eth_rx_adapter_create; rte_event_eth_rx_adapter_create_ext; + rte_event_eth_rx_adapter_create_with_params; + rte_event_eth_rx_adapter_event_port_get; rte_event_eth_rx_adapter_free; + rte_event_eth_rx_adapter_instance_get; rte_event_eth_rx_adapter_queue_add; + rte_event_eth_rx_adapter_queue_conf_get; rte_event_eth_rx_adapter_queue_del; + rte_event_eth_rx_adapter_queue_stats_get; + rte_event_eth_rx_adapter_queue_stats_reset; rte_event_eth_rx_adapter_service_id_get; rte_event_eth_rx_adapter_start; rte_event_eth_rx_adapter_stats_get;
@@ -56,8 +64,11 @@ DPDK_24 { rte_event_eth_tx_adapter_create_ext; rte_event_eth_tx_adapter_event_port_get; rte_event_eth_tx_adapter_free; + rte_event_eth_tx_adapter_instance_get; rte_event_eth_tx_adapter_queue_add; rte_event_eth_tx_adapter_queue_del; + rte_event_eth_tx_adapter_queue_start; + rte_event_eth_tx_adapter_queue_stop; rte_event_eth_tx_adapter_service_id_get; rte_event_eth_tx_adapter_start; rte_event_eth_tx_adapter_stats_get;
@@ -68,10 +79,12 @@ DPDK_24 { rte_event_port_default_conf_get; rte_event_port_link; rte_event_port_links_get; + rte_event_port_quiesce; rte_event_port_setup; rte_event_port_unlink; rte_event_port_unlinks_in_progress; rte_event_queue_attr_get; + rte_event_queue_attr_set; rte_event_queue_default_conf_get; rte_event_queue_setup; rte_event_ring_create;
@@ -100,27 +113,6 @@ DPDK_24 { EXPERIMENTAL { global: - # added in 21.11 - __rte_eventdev_trace_maintain; - rte_event_eth_rx_adapter_create_with_params; - rte_event_eth_rx_adapter_queue_conf_get; - rte_event_eth_rx_adapter_queue_stats_get; - rte_event_eth_rx_adapter_queue_stats_reset; - - # added in 22.03 - rte_event_eth_rx_adapter_event_port_get; - - # added in 22.07 - rte_event_crypto_adapter_vector_limits_get; - rte_event_port_quiesce; - rte_event_queue_attr_set; - - # added in 22.11 - rte_event_eth_rx_adapter_instance_get; - rte_event_eth_tx_adapter_instance_get; - rte_event_eth_tx_adapter_queue_start; - rte_event_eth_tx_adapter_queue_stop; - # added in 23.03 rte_event_crypto_adapter_runtime_params_get; rte_event_crypto_adapter_runtime_params_init;
Signature · 1 line
2.39.2
Re: [PATCH v7 24/25] eventdev: make many API's stable
Quoted 4 lines · Stephen Hemminger
All API's in eventdev up to 22.11 release should be made stable.
Signed-off-by Stephen Hemminger <[email protected]>
PATCH v7 25/25 cryptodev: mark older API's stable
In reply to Stephen HemmingerAll the cryptodev API's from 2022 backwards should be stable at this point.
--- lib/cryptodev/rte_cryptodev.h | 31 -------------- lib/cryptodev/version.map | 77 +++++++++++++++-------------------- 2 files changed, 32 insertions(+), 76 deletions(-)
lib/cryptodev/rte_cryptodev.h +0 -31
@@ -257,7 +257,6 @@ rte_cryptodev_sym_capability_get(uint8_t dev_id,* - Return description of the asymmetric crypto capability if exist. * - Return NULL if the capability not exist. */ -__rte_experimental const struct rte_cryptodev_asymmetric_xform_capability *rte_cryptodev_asym_capability_get (uint8_t dev_id,const struct rte_cryptodev_asym_capability_idx *idx);
@@ -327,7 +326,6 @@ rte_cryptodev_sym_capability_check_aead(* - Return 1 if the op type is supported * - Return 0 if unsupported */ -__rte_experimental int rte_cryptodev_asym_xform_capability_check_optype( const struct rte_cryptodev_asymmetric_xform_capability *capability,
@@ -343,7 +341,6 @@ rte_cryptodev_asym_xform_capability_check_optype(* - Return 0 if the parameters are in range of the capability. * - Return -1 if the parameters are out of range of the capability. */ -__rte_experimental int rte_cryptodev_asym_xform_capability_check_modlen( const struct rte_cryptodev_asymmetric_xform_capability *capability,
@@ -359,7 +356,6 @@ rte_cryptodev_asym_xform_capability_check_modlen(* - Return true if the hash algorithm is supported. * - Return false if the hash algorithm is not supported. */ -__rte_experimental bool rte_cryptodev_asym_xform_capability_check_hash( const struct rte_cryptodev_asymmetric_xform_capability *capability,
@@ -421,7 +417,6 @@ rte_cryptodev_get_aead_algo_enum(enum rte_crypto_aead_algorithm *algo_enum,* - Return -1 if string is not valid * - Return 0 if the string is valid */ -__rte_experimental int rte_cryptodev_asym_get_xform_enum (enum rte_crypto_asym_xform_type *xform_enum,const char *xform_string);
@@ -860,7 +855,6 @@ rte_cryptodev_queue_pair_setup(uint8_t dev_id, uint16_t queue_pair_id,* - 1: qp was configured * - -EINVAL: device was not configured */ -__rte_experimental int rte_cryptodev_get_qp_status (uint8_t dev_id,uint16_t queue_pair_id);
@@ -1039,7 +1033,6 @@ rte_cryptodev_get_sec_ctx(uint8_t dev_id);* - On success returns the created session mempool pointer * - On failure returns NULL */ -__rte_experimental struct rte_mempool * rte_cryptodev_sym_session_pool_create(const char *name, uint32_t nb_elts, uint32_t elt_size, uint32_t cache_size, uint16_t priv_size,
@@ -1066,7 +1059,6 @@ rte_cryptodev_sym_session_pool_create(const char *name, uint32_t nb_elts,* - On success return mempool * - On failure returns NULL */ -__rte_experimental struct rte_mempool *rte_cryptodev_asym_session_pool_create (const char *name,uint32_t nb_elts,uint32_t cache_size,uint16_t user_data_size,int socket_id);
@@ -1108,7 +1100,6 @@ rte_cryptodev_sym_session_create(uint8_t dev_id,* - -ENOMEM on memory error for session allocation. * - -ENOTSUP if device doesn't support session configuration. */ -__rte_experimental int rte_cryptodev_asym_session_create(uint8_t dev_id, struct rte_crypto_asym_xform *xforms, struct rte_mempool *mp,
@@ -1141,7 +1132,6 @@ rte_cryptodev_sym_session_free(uint8_t dev_id,* - 0 if successful. * - -EINVAL if device is invalid or session is NULL. */ -__rte_experimental int rte_cryptodev_asym_session_free (uint8_t dev_id,void *sess);
@@ -1151,7 +1141,6 @@ rte_cryptodev_asym_session_free(uint8_t dev_id, void *sess);* @return * Size of the asymmetric header session. */ -__rte_experimental unsigned int rte_cryptodev_asym_get_header_session_size (void );
@@ -1179,7 +1168,6 @@ rte_cryptodev_sym_get_private_session_size(uint8_t dev_id);* - Size of the asymmetric private data, if successful * - 0 if device is invalid or does not have private session */ -__rte_experimental unsigned int rte_cryptodev_asym_get_private_session_size (uint8_t dev_id);
@@ -1226,7 +1214,6 @@ const char *rte_cryptodev_driver_name_get(uint8_t driver_id);* - On success, zero. * - On failure, a negative value. */ -__rte_experimental int rte_cryptodev_sym_session_set_user_data(void *sess, void *data,
@@ -1263,7 +1250,6 @@ rte_cryptodev_sym_session_opaque_data_set(void *sess, uint64_t opaque)* - On success return pointer to user data. * - On failure returns NULL. */ -__rte_experimental void *rte_cryptodev_sym_session_get_user_data (void *sess);
@@ -1280,7 +1266,6 @@ rte_cryptodev_sym_session_get_user_data(void *sess);* - -EINVAL if the session pointer is invalid. * - -ENOMEM if the available user data size is smaller than the size parameter. */ -__rte_experimental int rte_cryptodev_asym_session_set_user_data (void *sess,void *data,uint16_t size);
@@ -1294,7 +1279,6 @@ rte_cryptodev_asym_session_set_user_data(void *sess, void *data, uint16_t size);* - On success return pointer to user data. * - On failure returns NULL. */ -__rte_experimental void *rte_cryptodev_asym_session_get_user_data (void *sess);
@@ -1310,7 +1294,6 @@ rte_cryptodev_asym_session_get_user_data(void *sess);* @return * - Returns number of successfully processed packets. */ -__rte_experimental uint32_t rte_cryptodev_sym_cpu_crypto_process(uint8_t dev_id, void *sess, union rte_crypto_sym_ofs ofs,
@@ -1325,7 +1308,6 @@ rte_cryptodev_sym_cpu_crypto_process(uint8_t dev_id,* - If the device supports raw data-path APIs, return the context size. * - If the device does not support the APIs, return -1. */ -__rte_experimental int rte_cryptodev_get_raw_dp_ctx_size (uint8_t dev_id);
@@ -1344,7 +1326,6 @@ rte_cryptodev_get_raw_dp_ctx_size(uint8_t dev_id);* - On success, zero. * - On failure, a negative value. */ -__rte_experimental int rte_cryptodev_session_event_mdata_set(uint8_t dev_id, void *sess, enum rte_crypto_op_type op_type,
@@ -1570,7 +1551,6 @@ struct rte_crypto_raw_dp_ctx {* - -ENOTSUP if crypto device does not support raw DP operations with the * provided session. */ -__rte_experimental int rte_cryptodev_configure_raw_dp_ctx(uint8_t dev_id, uint16_t qp_id, struct rte_crypto_raw_dp_ctx *ctx,
@@ -1602,7 +1582,6 @@ rte_cryptodev_configure_raw_dp_ctx(uint8_t dev_id, uint16_t qp_id,* cached into the queue but not enqueued yet, depends on the * "enqueue_status" value. */ -__rte_experimental uint32_t rte_cryptodev_raw_enqueue_burst(struct rte_crypto_raw_dp_ctx *ctx, struct rte_crypto_sym_vec *vec, union rte_crypto_sym_ofs ofs,
@@ -1652,7 +1631,6 @@ rte_cryptodev_raw_enqueue(struct rte_crypto_raw_dp_ctx *ctx,* - On success return 0. * - On failure return negative integer. */ -__rte_experimental int rte_cryptodev_raw_enqueue_done (struct rte_crypto_raw_dp_ctx *ctx,uint32_t n);
@@ -1698,7 +1676,6 @@ rte_cryptodev_raw_enqueue_done(struct rte_crypto_raw_dp_ctx *ctx,* - The number of operations dequeued or completed but not freed from the * queue, depends on "dequeue_status" value. */ -__rte_experimental uint32_t rte_cryptodev_raw_dequeue_burst(struct rte_crypto_raw_dp_ctx *ctx, rte_cryptodev_raw_get_dequeue_count_t get_dequeue_count,
@@ -1748,7 +1725,6 @@ rte_cryptodev_raw_dequeue(struct rte_crypto_raw_dp_ctx *ctx,* - On success return 0. * - On failure return negative integer. */ -__rte_experimental int rte_cryptodev_raw_dequeue_done (struct rte_crypto_raw_dp_ctx *ctx,uint32_t n);
@@ -1788,8 +1764,6 @@ rte_cryptodev_raw_dequeue_done(struct rte_crypto_raw_dp_ctx *ctx,* - On success, a pointer value which can later be used to remove the * callback. */ - -__rte_experimental struct rte_cryptodev_cb * rte_cryptodev_add_enq_callback(uint8_t dev_id, uint16_t qp_id,
@@ -1817,8 +1791,6 @@ rte_cryptodev_add_enq_callback(uint8_t dev_id,* - <0: The dev_id or the qp_id is out of range, or the callback * is NULL or not found for the crypto device queue pair. */ - -__rte_experimental int rte_cryptodev_remove_enq_callback (uint8_t dev_id,uint16_t qp_id,struct rte_cryptodev_cb *cb);
@@ -1857,8 +1829,6 @@ int rte_cryptodev_remove_enq_callback(uint8_t dev_id,* - On success, a pointer value which can later be used to remove the * callback. */ - -__rte_experimental struct rte_cryptodev_cb * rte_cryptodev_add_deq_callback(uint8_t dev_id, uint16_t qp_id,
@@ -1886,7 +1856,6 @@ rte_cryptodev_add_deq_callback(uint8_t dev_id,* - <0: The dev_id or the qp_id is out of range, or the callback * is NULL or not found for the crypto device queue pair. */ -__rte_experimental int rte_cryptodev_remove_deq_callback (uint8_t dev_id,uint16_t qp_id,struct rte_cryptodev_cb *cb);
lib/cryptodev/version.map +32 -45
119 lines not on this page · raw message
Signature · 1 line
2.39.2
Re: [PATCH v7 00/25] Promote 22.11 and older API's to stable
In reply to Stephen HemmingerQuoted 9 lines · Stephen Hemminger
Since 23.11 is an LTS release it is time to remove the experimental bandaid off many API's. There are about 890 API's marked with experimental on current main branch. This addresses the easy to remove ones and gets it down to about 510 places.
The rule is any API that has been in since 22.11 needs to have experimental removed (or have API deleted). The experimental flag is not a "get out of ABI stability for free" card
There is no such rule.
And I think some libraries do keep the experimental tag for good reasons. The topic of such a rule is to be discussed in a later techboard meeting.
In any case, there is enough acks on this series.
I fixed the lib/node patch, sorted version.map files content and removed inclusion of rte_compat as I had requested in a previous revision.
Series applied thanks.
Signature · 1 line
David Marchand
Quoted 69 lines · Stephen Hemminger
Since 23.11 is an LTS release it is time to remove the experimental bandaid off many API's. There are about 850 API's marked with experimental on current main branch. This addresses the easy to remove ones and gets it down to about 690 places.
The rule is any API that has been in since 22.11 needs to have experimental removed (or deleted). The experimental flag is not a "get out of ABI stability for free" card.
Stephen Hemminger (20):
bpf: makerte_bpf_dumpandrte_bpf_convertstable API's
cmdline: make experimental API's stable
ethdev: markrte_mtrAPI's as stable
ethdev: markrte_tmAPI's as stable
pdump: make API's stable
pcapng: mark API's as stable
net: remove experimental from functions
rcu: remove experimental fromrte_rcu_qbsr
lpm: remove experimental
mbuf: remove experimental fromcreate_extbuf
hash: remove experimental from toeplitz hash
timer: remove experimental fromrte_timer_next_ticks
sched: remove experimental
dmadev: mark API's as not experimental
meter: remove experimental warning from comments
power: remove experimental from API's
kvargs: remove experimental flag
ip_frag: mark a couple of functions stable
member: remove experimental tag
security: remove experimental flaglib/bpf/rte_bpf.h | 2 - lib/bpf/version.map | 9 +-- lib/cmdline/cmdline.h | 1 - lib/cmdline/cmdline_parse.h | 4 -- lib/cmdline/cmdline_rdline.h | 4 -- lib/cmdline/version.map | 26 +++------ lib/dmadev/rte_dmadev.h | 85 ---------------------------- lib/dmadev/version.map | 2 +- lib/ethdev/rte_mtr.h | 25 +------- lib/ethdev/rte_tm.h | 34 ----------- lib/ethdev/version.map | 88 ++++++++++++++--------------- lib/hash/rte_thash.h | 44 --------------- lib/hash/rte_thash_gfni.h | 8 --- lib/hash/rte_thash_x86_gfni.h | 8 --- lib/hash/version.map | 16 ++---- lib/ip_frag/rte_ip_frag.h | 2 - lib/ip_frag/version.map | 9 +-- lib/kvargs/rte_kvargs.h | 4 -- lib/kvargs/version.map | 8 +-- lib/lpm/rte_lpm.h | 4 -- lib/lpm/version.map | 7 +-- lib/mbuf/rte_mbuf.h | 1 - lib/mbuf/version.map | 8 +-- lib/member/rte_member.h | 54 ------------------ lib/member/version.map | 12 +--- lib/meter/rte_meter.h | 12 ---- lib/net/rte_ip.h | 19 ------- lib/pcapng/rte_pcapng.h | 11 ---- lib/pcapng/version.map | 6 +- lib/pdump/rte_pdump.h | 12 ---- lib/pdump/version.map | 11 +--- lib/power/rte_power.h | 4 -- lib/power/rte_power_guest_channel.h | 4 -- lib/power/rte_power_intel_uncore.h | 9 --- lib/power/rte_power_pmd_mgmt.h | 40 ------------- lib/power/version.map | 33 ++++------- lib/rcu/rte_rcu_qsbr.h | 20 ------- lib/rcu/version.map | 15 ++---
Quoted 9 lines
lib/sched/rte_pie.h | 8 --- lib/sched/rte_sched.h | 5 -- lib/sched/version.map | 18 ++---- lib/security/rte_security.h | 35 ------------ lib/security/version.map | 17 ++---- lib/timer/rte_timer.h | 4 -- lib/timer/version.map | 7 +-- 45 files changed, 97 insertions(+), 658 deletions(-)
You removed Vhost changes altogether, but I only asked for the Vhost Async API changes to be removed, i.e. the APIs in rte_vhost_async.h.
Maxime
Quoted 4 lines · On Tue, 24 Oct 2023 09:20:05 +0200 Maxime Coquelin…
You removed Vhost changes altogether, but I only asked for the Vhost Async API changes to be removed, i.e. the APIs in
rte_vhost_async.h.Maxime
Will get back to vhost, just moved it to the end of the TODO list.