Skip to content

Commit cec15d0

Browse files
vishalc-ibmmehmetb0
authored andcommitted
tools: Sync if_xdp.h uapi tooling header
BugLink: https://bugs.launchpad.net/bugs/2103829 [ Upstream commit 01f3ce5 ] 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: 48eb03d ("xsk: Add TX timestamp and TX checksum offload support") Signed-off-by: Vishal Chourasia <vishalc@linux.ibm.com> Signed-off-by: Song Yoong Siang <yoong.siang.song@intel.com> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Link: https://lore.kernel.org/bpf/20250115032248.125742-1-yoong.siang.song@intel.com Signed-off-by: Sasha Levin <sashal@kernel.org> Signed-off-by: Noah Wager <noah.wager@canonical.com> Signed-off-by: Mehmet Basaran <mehmet.basaran@canonical.com>
1 parent 31be5b5 commit cec15d0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/include/uapi/linux/if_xdp.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@ struct xdp_options {
117117
((1ULL << XSK_UNALIGNED_BUF_OFFSET_SHIFT) - 1)
118118

119119
/* Request transmit timestamp. Upon completion, put it into tx_timestamp
120-
* field of union xsk_tx_metadata.
120+
* field of struct xsk_tx_metadata.
121121
*/
122122
#define XDP_TXMD_FLAGS_TIMESTAMP (1 << 0)
123123

124124
/* Request transmit checksum offload. Checksum start position and offset
125-
* are communicated via csum_start and csum_offset fields of union
125+
* are communicated via csum_start and csum_offset fields of struct
126126
* xsk_tx_metadata.
127127
*/
128128
#define XDP_TXMD_FLAGS_CHECKSUM (1 << 1)

0 commit comments

Comments
 (0)