On 1/12/25 3:37 AM, Jason Xing wrote:
Handle the ACK timestamp case. Actually testing SKBTX_BPF flag can work, but we need to Introduce a new txstamp_ack_bpf to avoid cache line misses in tcp_ack_tstamp(). To be more specific, in most cases, normal flows would not access skb_shinfo as txstamp_ack is zero, so that this function won't appear in the hot spot lists. Introducing a new member txstamp_ack_bpf works similarly.
This change and some of the earlier changes (e.g. adding SKBTX_BPF) will need an ack from netdev.