diff options
author | Pravin B Shelar <pshelar@nicira.com> | 2013-05-13 11:22:34 -0400 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2013-06-14 18:09:10 -0400 |
commit | 91b7514cdff406ad8f63d09b74f664c37bed2e01 (patch) | |
tree | e74b566546cfb0ec1b48baa9cc39acd647256bd9 /net/openvswitch/vport.h | |
parent | cbd531bebb02bc6c0fc3619a2cfc32f7d8843b18 (diff) |
openvswitch: Unify vport error stats handling.
Following patch changes vport->send return type so that vport
layer can do error accounting.
Signed-off-by: Pravin B Shelar <pshelar@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'net/openvswitch/vport.h')
-rw-r--r-- | net/openvswitch/vport.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/net/openvswitch/vport.h b/net/openvswitch/vport.h index 26c594b1a470..1cef5cd3be47 100644 --- a/net/openvswitch/vport.h +++ b/net/openvswitch/vport.h | |||
@@ -123,7 +123,8 @@ struct vport_parms { | |||
123 | * existing vport to a &struct sk_buff. May be %NULL for a vport that does not | 123 | * existing vport to a &struct sk_buff. May be %NULL for a vport that does not |
124 | * have any configuration. | 124 | * have any configuration. |
125 | * @get_name: Get the device's name. | 125 | * @get_name: Get the device's name. |
126 | * @send: Send a packet on the device. Returns the length of the packet sent. | 126 | * @send: Send a packet on the device. Returns the length of the packet sent, |
127 | * zero for dropped packets or negative for error. | ||
127 | */ | 128 | */ |
128 | struct vport_ops { | 129 | struct vport_ops { |
129 | enum ovs_vport_type type; | 130 | enum ovs_vport_type type; |