ovs.daemon: Fix semantics of --pidfile option.
[sliver-openvswitch.git] / datapath / vport.h
index e7d2eb5..b6b94e0 100644 (file)
@@ -80,8 +80,8 @@ struct vport_err_stats {
  * &struct vport.  (We keep this around so that we can delete it if the
  * device gets renamed.)  Set to the null string when no link exists.
  * @node: Element in @dp's @port_list.
- * @sflow_pool: Number of packets that were candidates for sFlow sampling,
- * regardless of whether they were actually chosen and sent down to userspace.
+ * @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.
  * @ops: Class structure.
  * @percpu_stats: Points to per-CPU statistics used and maintained by vport
@@ -97,7 +97,7 @@ struct vport {
        struct kobject kobj;
        char linkname[IFNAMSIZ];
        struct list_head node;
-       atomic_t sflow_pool;
+       u32 upcall_pid;
 
        struct hlist_node hash_node;
        const struct vport_ops *ops;
@@ -131,6 +131,7 @@ struct vport_parms {
        /* For vport_alloc(). */
        struct datapath *dp;
        u16 port_no;
+       u32 upcall_pid;
 };
 
 /**