ODP_FLOW_GET takes an odp_flowvec, not an odp_flow.
(This would merely introduce a gratuitous ABI incompatibility for the sake
of pedantic correctness, except that we're breaking the ABI regularly
anyhow.)
Signed-off-by: Ben Pfaff <blp@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
#include <linux/compat.h>
#define ODP_VPORT_LIST32 _IOWR('O', 10, struct compat_odp_portvec)
#include <linux/compat.h>
#define ODP_VPORT_LIST32 _IOWR('O', 10, struct compat_odp_portvec)
-#define ODP_FLOW_GET32 _IOWR('O', 13, struct compat_odp_flow)
+#define ODP_FLOW_GET32 _IOWR('O', 13, struct compat_odp_flowvec)
#define ODP_FLOW_PUT32 _IOWR('O', 14, struct compat_odp_flow)
#define ODP_FLOW_LIST32 _IOWR('O', 15, struct compat_odp_flowvec)
#define ODP_FLOW_DEL32 _IOWR('O', 17, struct compat_odp_flow)
#define ODP_FLOW_PUT32 _IOWR('O', 14, struct compat_odp_flow)
#define ODP_FLOW_LIST32 _IOWR('O', 15, struct compat_odp_flowvec)
#define ODP_FLOW_DEL32 _IOWR('O', 17, struct compat_odp_flow)
#define ODP_VPORT_QUERY _IOWR('O', 9, struct odp_port)
#define ODP_VPORT_LIST _IOWR('O', 10, struct odp_portvec)
#define ODP_VPORT_QUERY _IOWR('O', 9, struct odp_port)
#define ODP_VPORT_LIST _IOWR('O', 10, struct odp_portvec)
-#define ODP_FLOW_GET _IOWR('O', 13, struct odp_flow)
+#define ODP_FLOW_GET _IOWR('O', 13, struct odp_flowvec)
#define ODP_FLOW_PUT _IOWR('O', 14, struct odp_flow)
#define ODP_FLOW_LIST _IOWR('O', 15, struct odp_flowvec)
#define ODP_FLOW_FLUSH _IO('O', 16)
#define ODP_FLOW_PUT _IOWR('O', 14, struct odp_flow)
#define ODP_FLOW_LIST _IOWR('O', 15, struct odp_flowvec)
#define ODP_FLOW_FLUSH _IO('O', 16)