Re: [PATCH V2] ethdev_trace.h: Update the trace point function when _TIME_BITS=64

2025-04-26 Thread Changqing Li
On 4/24/25 02:00, Stephen Hemminger wrote: CAUTION: This email comes from a non Wind River email account! Do not click links or open attachments unless you recognize the sender and know the content is safe. On Tue, 22 Apr 2025 20:29:56 +0800 wrote: +#if defined(_TIME_BITS) && _TIME_BITS ==

[PATCH V2] ethdev_trace.h: Update the trace point function when _TIME_BITS=64

2025-04-22 Thread changqing.li
From: Changqing Li To support Y2038 issue, for 32bit system, -D_TIME_BITS=64 is passed to gcc, struct timespec time->tv_sec is 64bit, but size_t is 32bits, so dpdk will compile failed with error: ../git/lib/ethdev/ethdev_trace.h: In function 'rte_eth_trace_timesync_write_time': ../git/lib/eal/in