[Devel] [PATCH vz10 5/5] tools: Sync if_xdp.h uapi tooling header
Konstantin Khorenko
khorenko at virtuozzo.com
Tue Jun 16 12:27:44 MSK 2026
(kostja at f0)/git/vzkernel.vz10:git describe --contains 14e32d37e7e785b709168b564e47dedfc67124b5
kernel-6.12.0-92.el10~2^2~180
14e32d37e7e78 tools: Sync if_xdp.h uapi tooling header
=> already in RHEL10.2
--
Best regards,
Konstantin Khorenko,
Virtuozzo Linux Kernel Team
On 6/15/26 22:42, Eva Kurchatova wrote:
> From: Vishal Chourasia <vishalc at linux.ibm.com>
>
> Sync if_xdp.h uapi header to remove following warning:
>
> Warning: Kernel ABI header at 'tools/include/uapi/linux/if_xdp.h'
> differs from latest version at 'include/uapi/linux/if_xdp.h'
>
> Fixes: 48eb03dd2630 ("xsk: Add TX timestamp and TX checksum offload support")
> Signed-off-by: Vishal Chourasia <vishalc at linux.ibm.com>
> Signed-off-by: Song Yoong Siang <yoong.siang.song at intel.com>
> Signed-off-by: Daniel Borkmann <daniel at iogearbox.net>
> Link: https://lore.kernel.org/bpf/20250115032248.125742-1-yoong.siang.song@intel.com
>
> (cherry picked from commit 01f3ce5328c405179b2c69ea047c423dad2bfa6d)
> Signed-off-by: Eva Kurchatova <eva.kurchatova at virtuozzo.com>
>
> https://virtuozzo.atlassian.net/browse/VSTOR-134200
> Feature: fix selftests
> ---
> tools/include/uapi/linux/if_xdp.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/tools/include/uapi/linux/if_xdp.h b/tools/include/uapi/linux/if_xdp.h
> index 2f082b01ff22..42ec5ddaab8d 100644
> --- a/tools/include/uapi/linux/if_xdp.h
> +++ b/tools/include/uapi/linux/if_xdp.h
> @@ -117,12 +117,12 @@ struct xdp_options {
> ((1ULL << XSK_UNALIGNED_BUF_OFFSET_SHIFT) - 1)
>
> /* Request transmit timestamp. Upon completion, put it into tx_timestamp
> - * field of union xsk_tx_metadata.
> + * field of struct xsk_tx_metadata.
> */
> #define XDP_TXMD_FLAGS_TIMESTAMP (1 << 0)
>
> /* Request transmit checksum offload. Checksum start position and offset
> - * are communicated via csum_start and csum_offset fields of union
> + * are communicated via csum_start and csum_offset fields of struct
> * xsk_tx_metadata.
> */
> #define XDP_TXMD_FLAGS_CHECKSUM (1 << 1)
More information about the Devel
mailing list