diff options
author | Jesse Gross <jesse@nicira.com> | 2011-09-19 16:11:27 -0700 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2011-09-19 16:35:39 -0700 |
commit | cca208bb634b0825f8d56fde4ec10a240a45e9c1 (patch) | |
tree | 20305e896c2502bf8c7e1aec31a3635e011bb047 /include | |
parent | 975a704c827a8a5d5c2264441f3a4ebcf097720c (diff) |
datapath-protocol: vport_stats types are unsigned.
The 'u' in uint64_t apparently got clipped off of the tx_dropped
member of struct vport_stats in between review and push, incorrectly
making this a signed type.
CC: Pravin Shelar <pshelar@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Pravin Shelar <pshelar@nicira.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/openvswitch/datapath-protocol.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openvswitch/datapath-protocol.h b/include/openvswitch/datapath-protocol.h index 8ed1c7f4..fc7cc1fb 100644 --- a/include/openvswitch/datapath-protocol.h +++ b/include/openvswitch/datapath-protocol.h @@ -143,7 +143,7 @@ struct ovs_vport_stats { uint64_t rx_errors; /* bad packets received */ uint64_t tx_errors; /* packet transmit problems */ uint64_t rx_dropped; /* no space in linux buffers */ - int64_t tx_dropped; /* no space available in linux */ + uint64_t tx_dropped; /* no space available in linux */ }; /* Logical ports. */ |