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'
Showing the changes to tools/include/uapi/linux (1 of 1 file). Show all
Unified · Split
| @@ -117,12 +117,12 @@ struct xdp_options { · 116 unmodified lines | |||
| 117 | ((1ULL << XSK_UNALIGNED_BUF_OFFSET_SHIFT) - 1) | 117 | ((1ULL << XSK_UNALIGNED_BUF_OFFSET_SHIFT) - 1) |
| 118 | 118 | ||
| 119 | /* Request transmit timestamp. Upon completion, put it into tx_timestamp | 119 | /* Request transmit timestamp. Upon completion, put it into tx_timestamp |
| 120 | * field of union xsk_tx_metadata. | 120 | * field of struct xsk_tx_metadata. |
| 121 | */ | 121 | */ |
| 122 | #define XDP_TXMD_FLAGS_TIMESTAMP (1 << 0) | 122 | #define XDP_TXMD_FLAGS_TIMESTAMP (1 << 0) |
| 123 | 123 | ||
| 124 | /* Request transmit checksum offload. Checksum start position and offset | 124 | /* 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 |
| 126 | * xsk_tx_metadata. | 126 | * xsk_tx_metadata. |
| 127 | */ | 127 | */ |
| 128 | #define XDP_TXMD_FLAGS_CHECKSUM (1 << 1) | 128 | #define XDP_TXMD_FLAGS_CHECKSUM (1 << 1) |