/**
* struct vport - one port within a datapath
* @rcu: RCU callback head for deferred destruction.
- * @port_no: Index into @dp's @ports array.
* @dp: Datapath to which this port belongs.
* @kobj: Represents /sys/class/net/<devname>/brport.
* @linkname: The name of the link from /sys/class/net/<datapath>/brif to this
* device gets renamed.) Set to the null string when no link exists.
* @upcall_pid: The Netlink port to use for packets received on this port that
* miss the flow table.
+ * @port_no: Index into @dp's @ports array.
* @hash_node: Element in @dev_table hash table in vport.c.
* @dp_hash_node: Element in @datapath->ports hash table in datapath.c.
* @ops: Class structure.
*/
struct vport {
struct rcu_head rcu;
- u16 port_no;
struct datapath *dp;
struct kobject kobj;
char linkname[IFNAMSIZ];
u32 upcall_pid;
+ u16 port_no;
struct hlist_node hash_node;
struct hlist_node dp_hash_node;