Skip to contentSkip to conversation

openvswitch: update kernel doc for struct vport

PATCH In review Jεan Sacren 2 participants 2 messages Jan 9, 2016 – Jan 10, 2016

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

PATCH 3/3 openvswitch: update kernel doc for struct vport

From: Jean Sacren <[email protected]>

commit be4ace6e6b1b ("openvswitch: Move dev pointer into vport itself")

The commit above added @dev and moved @rcu to the bottom of struct vport, but the change was not reflected in the kernel doc. So let's update the kernel doc as well.

---
 net/openvswitch/vport.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
net/openvswitch/vport.h +2 -1
index f00bb153ad13..c10899cb9040 100644
@@ -70,7 +70,7 @@ struct vport_portids {
 
 /**
  * struct vport - one port within a datapath
- * @rcu: RCU callback head for deferred destruction.
+ * @dev: Pointer to net_device.
  * @dp: Datapath to which this port belongs.
  * @upcall_portids: RCU protected 'struct vport_portids'.
  * @port_no: Index into @dp's @ports array.
@@ -78,6 +78,7 @@ struct vport_portids {
  * @dp_hash_node: Element in @datapath->ports hash table in datapath.c.
  * @ops: Class structure.
  * @detach_list: list used for detaching vport in net-exit call.
+ * @rcu: RCU callback head for deferred destruction.
  */
 struct vport {
 	struct net_device *dev;