[PATCH bpf-next] net: add missing xdp_features description

Subsystems: networking drivers, networking [general], the rest

STALE1323d

2 messages, 2 authors, 2023-02-06 · open the first message on its own page

[PATCH bpf-next] net: add missing xdp_features description

From: Lorenzo Bianconi <lorenzo@kernel.org>
Date: 2023-02-06 12:33:44

Add missing xdp_features field description in the struct net_device
documentation. This patch fix the following warning:

./include/linux/netdevice.h:2375: warning: Function parameter or member 'xdp_features' not described in 'net_device'

Fixes: d3d854fd6a1d ("netdev-genl: create a simple family for netdev stuff")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 include/linux/netdevice.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 0f7967591288..645787259172 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1819,6 +1819,7 @@ enum netdev_ml_priv_type {
  *			of Layer 2 headers.
  *
  *	@flags:		Interface flags (a la BSD)
+*	@xdp_features:	XDP capability supported by the device
  *	@priv_flags:	Like 'flags' but invisible to userspace,
  *			see if.h for the definitions
  *	@gflags:	Global flags ( kept as legacy )
-- 
2.39.1

Re: [PATCH bpf-next] net: add missing xdp_features description

From: Lorenzo Bianconi <hidden>
Date: 2023-02-06 17:52:45

Add missing xdp_features field description in the struct net_device
documentation. This patch fix the following warning:
Hi all,

Please drop this version, I will post a v2 to fix indentation.

Regards,
Lorenzo
quoted hunk
./include/linux/netdevice.h:2375: warning: Function parameter or member 'xdp_features' not described in 'net_device'

Fixes: d3d854fd6a1d ("netdev-genl: create a simple family for netdev stuff")
Signed-off-by: Lorenzo Bianconi <lorenzo@kernel.org>
---
 include/linux/netdevice.h | 1 +
 1 file changed, 1 insertion(+)
diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 0f7967591288..645787259172 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1819,6 +1819,7 @@ enum netdev_ml_priv_type {
  *			of Layer 2 headers.
  *
  *	@flags:		Interface flags (a la BSD)
+*	@xdp_features:	XDP capability supported by the device
  *	@priv_flags:	Like 'flags' but invisible to userspace,
  *			see if.h for the definitions
  *	@gflags:	Global flags ( kept as legacy )
-- 
2.39.1
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help