Skip to contentSkip to conversation

net: bridge: Describe @tunnel_hash member in net_bridge_vlan_group struct

PATCH Applied Bagas Sanjaya 4 participants 4 messages Dec 18, 2025 – Dec 28, 2025

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

PATCH v2 1/1 net: bridge: Describe @tunnel_hash member in net_bridge_vlan_group struct

Sphinx reports kernel-doc warning:

WARNING: ./net/bridge/br_private.h:267 struct member 'tunnel_hash' not described in 'net_bridge_vlan_group'

Fix it by describing @tunnel_hash member.

Fixes efa5356b0d9753 ("bridge: per vlan dst_metadata netlink support")

---
This patch is split from assorted kernel-doc fixes series [1].

Changes since v1 [2]:

- Apply wording suggestion (Ido)

[1]: https://lore.kernel.org/netdev/[email protected]/
[2]: https://lore.kernel.org/netdev/[email protected]/

 net/bridge/br_private.h | 1 +
 1 file changed, 1 insertion(+)
net/bridge/br_private.h +1 -0
index 7280c4e9305f36..b9b2981c484149 100644
@@ -247,6 +247,7 @@ struct net_bridge_vlan {
  * struct net_bridge_vlan_group
  *
  * @vlan_hash: VLAN entry rhashtable
+ * @tunnel_hash: Hash table to map from tunnel key ID (e.g. VXLAN VNI) to VLAN
  * @vlan_list: sorted VLAN entry list
  * @num_vlans: number of total VLAN entries
  * @pvid: PVID VLAN id

base-commit: 885bebac9909994050bbbeed0829c727e42bd1b7

Signature · 1 line
An old man doll... just what I always wanted! - Clara
maintainer Acked-by on v2 1/1
#1 lore raw
Quoted 34 lines · Bagas Sanjaya

Sphinx reports kernel-doc warning:

WARNING: ./net/bridge/br_private.h:267 struct member 'tunnel_hash' not described in 'net_bridge_vlan_group'

Fix it by describing @tunnel_hash member.

Fixes efa5356b0d9753 ("bridge: per vlan dst_metadata netlink support")

---
This patch is split from assorted kernel-doc fixes series [1].

Changes since v1 [2]:

- Apply wording suggestion (Ido)

[1]: https://lore.kernel.org/netdev/[email protected]/
[2]: https://lore.kernel.org/netdev/[email protected]/

  net/bridge/br_private.h | 1 +
  1 file changed, 1 insertion(+)
net/bridge/br_private.h +1 -0
index 7280c4e9305f36..b9b2981c484149 100644
@@ -247,6 +247,7 @@ struct net_bridge_vlan {
   * struct net_bridge_vlan_group
   *
   * @vlan_hash: VLAN entry rhashtable
+ * @tunnel_hash: Hash table to map from tunnel key ID (e.g. VXLAN VNI) to VLAN
   * @vlan_list: sorted VLAN entry list
   * @num_vlans: number of total VLAN entries
   * @pvid: PVID VLAN id
Quoted 1 line

base-commit: 885bebac9909994050bbbeed0829c727e42bd1b7

#3 lore raw
In reply to Bagas Sanjaya
This patch was applied to netdev/net.git (main) by Paolo Abeni <[email protected]>:

Hello:

This patch was applied to netdev/net.git (main)
by Paolo Abeni <[email protected]>:

Quoted 10 lines · On Thu, 18 Dec 2025 11:29:37 +0700 you wrote:

Sphinx reports kernel-doc warning:

WARNING: ./net/bridge/br_private.h:267 struct member 'tunnel_hash' not described in 'net_bridge_vlan_group'

Fix it by describing @tunnel_hash member.

Fixes efa5356b0d9753 ("bridge: per vlan dst_metadata netlink support")

[...]

Here is the summary with links:
- [net,v2] net: bridge: Describe @tunnel_hash member in net_bridge_vlan_group struct

    https://git.kernel.org/netdev/net/c/f79f9b7ace17

You are awesome, thank you!

Signature · 2 lines
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html