projects
/
openvswitch
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
datapath: Fix ODP_PORT_GROUP_GET implementation.
[openvswitch]
/
include
/
openvswitch
/
datapath-protocol.h
diff --git
a/include/openvswitch/datapath-protocol.h
b/include/openvswitch/datapath-protocol.h
index 1c2dba9b5306750233ae5226765e6e38d2a2d30b..826dc27f70591812ad58273e1620b2d5e419d727 100644
(file)
--- a/
include/openvswitch/datapath-protocol.h
+++ b/
include/openvswitch/datapath-protocol.h
@@
-37,7
+37,10
@@
* ----------------------------------------------------------------------
*/
* ----------------------------------------------------------------------
*/
-/* Protocol between userspace and kernel datapath. */
+/* Protocol between userspace and kernel datapath.
+ *
+ * Be sure to update datapath/odp-compat.h if you change any of the structures
+ * in here. */
#ifndef OPENVSWITCH_DATAPATH_PROTOCOL_H
#define OPENVSWITCH_DATAPATH_PROTOCOL_H 1
#ifndef OPENVSWITCH_DATAPATH_PROTOCOL_H
#define OPENVSWITCH_DATAPATH_PROTOCOL_H 1
@@
-181,7
+184,7
@@
struct odp_port {
struct odp_portvec {
struct odp_port *ports;
struct odp_portvec {
struct odp_port *ports;
-
int
n_ports;
+
__u32
n_ports;
};
struct odp_port_group {
};
struct odp_port_group {