2
0
mirror of https://github.com/openvswitch/ovs synced 2025-08-31 06:15:47 +00:00

dpif: Make dpifs abstract, to allow multiple datapath implementations.

This commit initially introduces only a single datapath implementation,
which is the same as the original one, but it paves the way for
additional implementations, such as the upcoming userspace datapath.
This commit is contained in:
Ben Pfaff
2009-06-17 14:35:35 -07:00
parent a5225dd627
commit 96fba48f52
7 changed files with 1402 additions and 657 deletions

View File

@@ -70,13 +70,12 @@
#define ODP_PORT_GROUP_GET _IOWR('O', 12, struct odp_port_group)
#define ODP_FLOW_GET _IOWR('O', 13, struct odp_flow)
#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', 17, struct odp_flow)
#define ODP_FLOW_DEL _IOWR('O', 18, struct odp_flow)
#define ODP_FLOW_DEL _IOWR('O', 17, struct odp_flow)
#define ODP_EXECUTE _IOR('O', 19, struct odp_execute)
#define ODP_EXECUTE _IOR('O', 18, struct odp_execute)
struct odp_stats {
/* Flows. */