[PATCH v3 1/1] pcapng: add user-supplied timestamp support
Stephen Hemminger
stephen at networkplumber.org
Thu Jun 18 17:20:07 CEST 2026
On Thu, 18 Jun 2026 10:44:29 -0400
Dawid Wesierski <dawid.wesierski at intel.com> wrote:
> +static inline struct rte_mbuf *
> rte_pcapng_copy(uint16_t port_id, uint32_t queue,
> const struct rte_mbuf *m, struct rte_mempool *mp,
> uint32_t length,
> - enum rte_pcapng_direction direction, const char *comment);
> + enum rte_pcapng_direction direction, const char *comment)
> +{
> + return rte_pcapng_copy_ts(port_id, queue, m, mp, length, direction,
> + comment, 0);
> +}
>
Switching from function to inline in header would cause ABI breakage.
New build would not have old function to runtime linking.
In this case, please just keep the old function name but add
a parameter using function versioning.
More information about the dev
mailing list