netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net 1/1] tools: Sync if_xdp.h uapi tooling header
@ 2025-01-15  3:22 Song Yoong Siang
  2025-01-17 14:50 ` patchwork-bot+netdevbpf
  2025-01-17 15:08 ` Daniel Borkmann
  0 siblings, 2 replies; 3+ messages in thread
From: Song Yoong Siang @ 2025-01-15  3:22 UTC (permalink / raw)
  To: Stanislav Fomichev, Vishal Chourasia, Alexei Starovoitov,
	Daniel Borkmann, David S . Miller, Jakub Kicinski,
	Jesper Dangaard Brouer, John Fastabend, Maciej Fijalkowski
  Cc: stable, netdev, linux-kernel, bpf

From: Vishal Chourasia <vishalc@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")
Cc: <stable@vger.kernel.org> # 6.8
Signed-off-by: Vishal Chourasia <vishalc@linux.ibm.com>
Signed-off-by: Song Yoong Siang <yoong.siang.song@intel.com>
---
RFC: https://patchwork.kernel.org/project/netdevbpf/patch/Z4TjzzB8NSnTy_Wa@linux.ibm.com/
---
 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)
-- 
2.34.1


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH net 1/1] tools: Sync if_xdp.h uapi tooling header
  2025-01-15  3:22 [PATCH net 1/1] tools: Sync if_xdp.h uapi tooling header Song Yoong Siang
@ 2025-01-17 14:50 ` patchwork-bot+netdevbpf
  2025-01-17 15:08 ` Daniel Borkmann
  1 sibling, 0 replies; 3+ messages in thread
From: patchwork-bot+netdevbpf @ 2025-01-17 14:50 UTC (permalink / raw)
  To: Song Yoong Siang
  Cc: sdf, vishalc, ast, daniel, davem, kuba, hawk, john.fastabend,
	maciej.fijalkowski, stable, netdev, linux-kernel, bpf

Hello:

This patch was applied to bpf/bpf-next.git (master)
by Daniel Borkmann <daniel@iogearbox.net>:

On Wed, 15 Jan 2025 11:22:48 +0800 you wrote:
> From: Vishal Chourasia <vishalc@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'
> 
> [...]

Here is the summary with links:
  - [net,1/1] tools: Sync if_xdp.h uapi tooling header
    https://git.kernel.org/bpf/bpf-next/c/e055a46dd3cf

You are awesome, thank you!
-- 
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH net 1/1] tools: Sync if_xdp.h uapi tooling header
  2025-01-15  3:22 [PATCH net 1/1] tools: Sync if_xdp.h uapi tooling header Song Yoong Siang
  2025-01-17 14:50 ` patchwork-bot+netdevbpf
@ 2025-01-17 15:08 ` Daniel Borkmann
  1 sibling, 0 replies; 3+ messages in thread
From: Daniel Borkmann @ 2025-01-17 15:08 UTC (permalink / raw)
  To: Song Yoong Siang, Stanislav Fomichev, Vishal Chourasia,
	Alexei Starovoitov, David S . Miller, Jakub Kicinski,
	Jesper Dangaard Brouer, John Fastabend, Maciej Fijalkowski
  Cc: stable, netdev, linux-kernel, bpf

On 1/15/25 4:22 AM, Song Yoong Siang wrote:
> From: Vishal Chourasia <vishalc@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")
> Cc: <stable@vger.kernel.org> # 6.8

(Fyi, this has zero need to go to stable. Removed the tag while applying.)

> Signed-off-by: Vishal Chourasia <vishalc@linux.ibm.com>
> Signed-off-by: Song Yoong Siang <yoong.siang.song@intel.com>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2025-01-17 15:09 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-01-15  3:22 [PATCH net 1/1] tools: Sync if_xdp.h uapi tooling header Song Yoong Siang
2025-01-17 14:50 ` patchwork-bot+netdevbpf
2025-01-17 15:08 ` Daniel Borkmann

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).