* [PATCH bpf-next] net: add missing xdp_features description
@ 2023-02-06 10:34 Lorenzo Bianconi
2023-02-06 17:51 ` Lorenzo Bianconi
0 siblings, 1 reply; 2+ messages in thread
From: Lorenzo Bianconi @ 2023-02-06 10:34 UTC (permalink / raw)
To: bpf
Cc: netdev, ast, daniel, andrii, davem, kuba, pabeni, edumazet,
lorenzo.bianconi, sfr
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH bpf-next] net: add missing xdp_features description
2023-02-06 10:34 [PATCH bpf-next] net: add missing xdp_features description Lorenzo Bianconi
@ 2023-02-06 17:51 ` Lorenzo Bianconi
0 siblings, 0 replies; 2+ messages in thread
From: Lorenzo Bianconi @ 2023-02-06 17:51 UTC (permalink / raw)
To: Lorenzo Bianconi
Cc: bpf, netdev, ast, daniel, andrii, davem, kuba, pabeni, edumazet,
sfr
[-- Attachment #1: Type: text/plain, Size: 1115 bytes --]
> 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
>
> ./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
>
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 228 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2023-02-06 17:52 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-06 10:34 [PATCH bpf-next] net: add missing xdp_features description Lorenzo Bianconi
2023-02-06 17:51 ` Lorenzo Bianconi
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).