X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=datapath%2Fvport.h;h=2aafde0153141597351ba6fea626e5a75e1ff673;hb=a8a4d9565ba652b2f610ffad4e78d1f9068248ad;hp=ee9715d78cce5a2f1f80c98fdc6044c994bba0d8;hpb=2a4999f3f33467f4fa22ed6e5b06350615fb2dac;p=sliver-openvswitch.git diff --git a/datapath/vport.h b/datapath/vport.h index ee9715d78..2aafde015 100644 --- a/datapath/vport.h +++ b/datapath/vport.h @@ -84,6 +84,7 @@ struct vport_err_stats { * @upcall_pid: The Netlink port to use for packets received on this port that * miss the flow table. * @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. * @percpu_stats: Points to per-CPU statistics used and maintained by vport * @stats_lock: Protects @err_stats and @offset_stats. @@ -101,6 +102,7 @@ struct vport { u32 upcall_pid; struct hlist_node hash_node; + struct hlist_node dp_hash_node; const struct vport_ops *ops; struct vport_percpu_stats __percpu *percpu_stats;