Skip to content

Commit

Permalink
datapath-windows/Flow.c: FLOW_NEW command handler.
Browse files Browse the repository at this point in the history
This patch covers the changes needed to support FLOW_NEW command.
API _OvsFlowMapNlToFlowPutFlags has a bug, which will be fixed
with the patches for FLOW_DEL.

Signed-off-by: Ankur Sharma <ankursharma@vmware.com>
Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Acked-by: Eitan Eliahu <eliahue@vmware.com>
Acked-by: Nithin Raju <nithin@vmware.com>
Acked-by: Samuel Ghinet <sghinet@cloudbasesolutions.com>
Tested-by: Ankur Sharma <ankursharma@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
  • Loading branch information
ankursh authored and blp committed Sep 29, 2014
1 parent 0d9bd68 commit 8a79c2d
Show file tree
Hide file tree
Showing 4 changed files with 424 additions and 27 deletions.
2 changes: 1 addition & 1 deletion datapath-windows/include/OvsPub.h
Expand Up @@ -405,7 +405,7 @@ typedef struct OvsFlowPut {
uint32_t actionsLen;
OvsFlowKey key;
uint32_t flags;
NL_ATTR actions[0]; /* Variable length indicated by actionsLen. */
PNL_ATTR actions;
} OvsFlowPut;

#define OVS_MIN_PACKET_SIZE 60
Expand Down
2 changes: 1 addition & 1 deletion datapath-windows/ovsext/Datapath.c
Expand Up @@ -157,7 +157,7 @@ NETLINK_CMD nlDatapathFamilyCmdOps[] = {
.handler = OvsGetDpCmdHandler,
.supportedDevOp = OVS_WRITE_DEV_OP | OVS_READ_DEV_OP |
OVS_TRANSACTION_DEV_OP,
.validateDpIndex = FALSE
.validateDpIndex = FALSE
},
{ .cmd = OVS_DP_CMD_SET,
.handler = OvsSetDpCmdHandler,
Expand Down

0 comments on commit 8a79c2d

Please sign in to comment.