diff mbox series

[net-next,2/5] net: netdevice.h: Document xdp_state

Message ID 20200920171703.3692328-3-andrew@lunn.ch
State Changes Requested
Delegated to: David Miller
Headers show
Series [net-next,1/5] net: netdevice.h: Document proto_down_reason | expand

Commit Message

Andrew Lunn Sept. 20, 2020, 5:17 p.m. UTC
Fix the Sphinx warning:

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

by documenting xdp_state.

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

Patch

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.
  */