Skip to content

Commit 01f3ce5

Browse files
vishalc-ibmborkmann
authored andcommitted
tools: Sync if_xdp.h uapi tooling header
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 <[email protected]> Signed-off-by: Song Yoong Siang <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
1 parent f8a0569 commit 01f3ce5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/include/uapi/linux/if_xdp.h

+2-2
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)