Fix the Sphinx warning:

Function parameter or member 'xdp_state' not described in 'net_device'

by documenting xdp_state.

Cc: Andrii Nakryiko <andr...@fb.com>
Signed-off-by: Andrew Lunn <and...@lunn.ch>
---
 include/linux/netdevice.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/linux/netdevice.h b/include/linux/netdevice.h
index 9ea53cb92766..99cab8c0a292 100644
--- a/include/linux/netdevice.h
+++ b/include/linux/netdevice.h
@@ -1842,6 +1842,8 @@ enum netdev_priv_flags {
  *                             offload capabilities of the device
  *     @udp_tunnel_nic:        UDP tunnel offload state
  *
+ *     @xdp_state:     Info on attached XDP BPF programs
+ *
  *     FIXME: cleanup struct net_device such that network protocol info
  *     moves out.
  */
-- 
2.28.0

Reply via email to