Re: [PATCH bpf-next 1/1] selftests/bpf: Enable Tx hwtstamp in xdp_hw_metadata

2024-12-05 Thread Stanislav Fomichev
On 12/05, Song, Yoong Siang wrote: > On Wednesday, December 4, 2024 11:49 PM, Stanislav Fomichev > wrote: > >On 12/04, Song Yoong Siang wrote: > >> Set tx_type to HWTSTAMP_TX_ON to enable hardware timestamping for all > >> outgoing packets. > >> > >> Besides, set XDP_UMEM_TX_METADATA_LEN flag to

RE: [PATCH bpf-next 1/1] selftests/bpf: Enable Tx hwtstamp in xdp_hw_metadata

2024-12-04 Thread Song, Yoong Siang
On Wednesday, December 4, 2024 11:49 PM, Stanislav Fomichev wrote: >On 12/04, Song Yoong Siang wrote: >> Set tx_type to HWTSTAMP_TX_ON to enable hardware timestamping for all >> outgoing packets. >> >> Besides, set XDP_UMEM_TX_METADATA_LEN flag to reserve tx_metadata_len bytes >> of per-chunk met

Re: [PATCH bpf-next 1/1] selftests/bpf: Enable Tx hwtstamp in xdp_hw_metadata

2024-12-04 Thread Stanislav Fomichev
On 12/04, Song Yoong Siang wrote: > Set tx_type to HWTSTAMP_TX_ON to enable hardware timestamping for all > outgoing packets. > > Besides, set XDP_UMEM_TX_METADATA_LEN flag to reserve tx_metadata_len bytes > of per-chunk metadata. XDP_UMEM_TX_METADATA_LEN is missing after d5e726d9143c ("xsk: Requ