23/10/2019 20:54, David Marchand:
> No need to expose rte_logs, hide it and remove it from the current ABI.
> 
> Signed-off-by: David Marchand <david.march...@redhat.com>
> Acked-by: Stephen Hemminger <step...@networkplumber.org>
[...]
> --- a/lib/librte_eal/common/include/rte_log.h
> +++ b/lib/librte_eal/common/include/rte_log.h
> -struct rte_log_dynamic_type;
> -
> -/** The rte_log structure. */
> -struct rte_logs {
> -     uint32_t type;  /**< Bitfield with enabled logs. */
> -     uint32_t level; /**< Log level. */
> -     FILE *file;     /**< Output file set by rte_openlog_stream, or NULL. */
> -     size_t dynamic_types_len;
> -     struct rte_log_dynamic_type *dynamic_types;
> -};

I like this kind of change, but the FILE stream is available only through
the new experimental function. It is against the famous Mr Traynor rule:
we cannot deprecate or remove an old stable symbol if the replacement is 
experimental.


Reply via email to