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 <[email protected]>
Acked-by: Alin Gabriel Serdean <[email protected]>
Acked-by: Eitan Eliahu <[email protected]>
Acked-by: Nithin Raju <[email protected]>
Acked-by: Samuel Ghinet <[email protected]>
Tested-by: Ankur Sharma <[email protected]>
Signed-off-by: Ben Pfaff <[email protected]>
  • 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
Original file line number Diff line number Diff line change
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
Original file line number Diff line number Diff line change
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
Loading

0 comments on commit 8a79c2d

Please sign in to comment.