[PATCH 6/7] pcapng: add user-supplied timestamp support

Stephen Hemminger stephen at networkplumber.org
Thu Apr 30 16:06:29 CEST 2026


On Wed, 29 Apr 2026 03:31:10 -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);
> +}
>  

Turning a function that existed in previous release into a inline
breaks ABI compatibility. 


More information about the dev mailing list