Skip to contentSkip to conversation

net: add kdoc for dev->fib_nh_head

PATCH In review Eric Dumazet 2 participants 3 messages Oct 8, 2024 – Oct 9, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 net: add kdoc for dev->fib_nh_head

Simon reported that fib_nh_head kdoc was missing.

Fixes a3f5f4c2f9b6 ("ipv4: remove fib_info_devhash[]")
---
 include/linux/netdevice.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/netdevice.h +1 -0
index 3baf8e539b6f33caaf83961c4cf619b799e5e41d..b5a5a2b555cda76ce2c0b3b3b2124b34409d1d69 100644
@@ -1842,6 +1842,7 @@ enum netdev_reg_state {
  *	@tipc_ptr:	TIPC specific data
  *	@atalk_ptr:	AppleTalk link
  *	@ip_ptr:	IPv4 specific data
+ *	@fib_nh_head:	list of fib_nh attached to this device
  *	@ip6_ptr:	IPv6 specific data
  *	@ax25_ptr:	AX.25 specific data
  *	@ieee80211_ptr:	IEEE 802.11 specific data, assign before registering
Signature · 1 line
2.47.0.rc0.187.ge670bccf7e-goog
#1 lore raw
Quoted 24 lines · Eric Dumazet

Simon reported that fib_nh_head kdoc was missing.

Fixes a3f5f4c2f9b6 ("ipv4: remove fib_info_devhash[]")
---
 include/linux/netdevice.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/netdevice.h +1 -1
index 3baf8e539b6f33caaf83961c4cf619b799e5e41d..b5a5a2b555cda76ce2c0b3b3b2124b34409d1d69 100644
@@ -1842,6 +1842,7 @@ enum netdev_reg_state {
  *     @tipc_ptr:      TIPC specific data
  *     @atalk_ptr:     AppleTalk link
  *     @ip_ptr:        IPv4 specific data
+ *     @fib_nh_head:   list of fib_nh attached to this device
  *     @ip6_ptr:       IPv6 specific data
  *     @ax25_ptr:      AX.25 specific data
  *     @ieee80211_ptr: IEEE 802.11 specific data, assign before registering
--
Quoted 2 lines

2.47.0.rc0.187.ge670bccf7e-goog

Hmm... maybe not needed, I saw Jakub added inline:

/** @fib_nh_head: nexthops associated with this netdev */

Thanks !

reviewer
#2 lore raw
Quoted 30 lines · Eric Dumazet
Quoted 24 lines · Eric Dumazet

Simon reported that fib_nh_head kdoc was missing.

Fixes a3f5f4c2f9b6 ("ipv4: remove fib_info_devhash[]")
---
 include/linux/netdevice.h | 1 +
 1 file changed, 1 insertion(+)
include/linux/netdevice.h +1 -1
index 3baf8e539b6f33caaf83961c4cf619b799e5e41d..b5a5a2b555cda76ce2c0b3b3b2124b34409d1d69 100644
@@ -1842,6 +1842,7 @@ enum netdev_reg_state {
  *     @tipc_ptr:      TIPC specific data
  *     @atalk_ptr:     AppleTalk link
  *     @ip_ptr:        IPv4 specific data
+ *     @fib_nh_head:   list of fib_nh attached to this device
  *     @ip6_ptr:       IPv6 specific data
  *     @ax25_ptr:      AX.25 specific data
  *     @ieee80211_ptr: IEEE 802.11 specific data, assign before registering
--
Quoted 2 lines

2.47.0.rc0.187.ge670bccf7e-goog

Hmm... maybe not needed, I saw Jakub added inline:

Quoted 1 line

/** @fib_nh_head: nexthops associated with this netdev */

Thanks, I see that too.

Sorry for the noise.