summaryrefslogtreecommitdiff
path: root/ofproto
diff options
context:
space:
mode:
authorEthan Jackson <ethan@nicira.com>2011-08-16 14:14:33 -0700
committerEthan Jackson <ethan@nicira.com>2011-08-16 14:33:17 -0700
commit907a4c5e6e767ba79466b028f30cc8381f1b3c5b (patch)
tree4fa9e3d695c41812ddbda18766f57b8d122d545a /ofproto
parent55af77bbb3a579447591163338f1a24165d6bfa1 (diff)
downloadopenvswitch-907a4c5e6e767ba79466b028f30cc8381f1b3c5b.tar.gz
ofproto: Update 'struct facet''s comments.
Some of the comments in the definition of 'struct facet' had become out of date.
Diffstat (limited to 'ofproto')
-rw-r--r--ofproto/ofproto-dpif.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c
index a181122bb..3fd95ea6e 100644
--- a/ofproto/ofproto-dpif.c
+++ b/ofproto/ofproto-dpif.c
@@ -207,12 +207,8 @@ struct facet {
* dpif_execute().
*
* - Do include packets and bytes that were obtained from the datapath
- * when a flow was deleted (e.g. dpif_flow_del()) or when its
- * statistics were reset (e.g. dpif_flow_put() with
+ * when its statistics were reset (e.g. dpif_flow_put() with
* DPIF_FP_ZERO_STATS).
- *
- * - Do not include any packets or bytes that can currently be obtained
- * from the datapath by, e.g., dpif_flow_get().
*/
uint64_t packet_count; /* Number of packets received. */
uint64_t byte_count; /* Number of bytes received. */
@@ -224,10 +220,7 @@ struct facet {
uint64_t rs_byte_count; /* Bytes pushed to resubmit children. */
long long int rs_used; /* Used time pushed to resubmit children. */
- /* Number of bytes passed to account_cb. This may include bytes that can
- * currently obtained from the datapath (thus, it can be greater than
- * byte_count). */
- uint64_t accounted_bytes;
+ uint64_t accounted_bytes; /* Bytes processed by facet_account(). */
struct hmap_node hmap_node; /* In owning ofproto's 'facets' hmap. */
struct list list_node; /* In owning rule's 'facets' list. */