mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 14:25:26 +00:00
datapath-windows: Suppress flow attribute probe.
This patch surpresses flow attribute probing in the windows datapath. Signed-off-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Acked-by: Nithin Raju <nithin@vmware.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -102,7 +102,8 @@ const NL_POLICY nlFlowPolicy[] = {
|
||||
.maxLen = sizeof(struct ovs_flow_stats),
|
||||
.optional = TRUE},
|
||||
[OVS_FLOW_ATTR_TCP_FLAGS] = {NL_A_U8, .optional = TRUE},
|
||||
[OVS_FLOW_ATTR_USED] = {NL_A_U64, .optional = TRUE}
|
||||
[OVS_FLOW_ATTR_USED] = {NL_A_U64, .optional = TRUE},
|
||||
[OVS_FLOW_ATTR_PROBE] = {.type = NL_A_FLAG, .optional = TRUE}
|
||||
};
|
||||
|
||||
/* For Parsing nested OVS_FLOW_ATTR_KEY attributes.
|
||||
@@ -309,6 +310,12 @@ OvsFlowNlCmdHandler(POVS_USER_PARAMS_CONTEXT usrParamsCtx,
|
||||
goto done;
|
||||
}
|
||||
|
||||
if (flowAttrs[OVS_FLOW_ATTR_PROBE]) {
|
||||
OVS_LOG_ERROR("Attribute OVS_FLOW_ATTR_PROBE not supported");
|
||||
nlError = NL_ERROR_NOENT;
|
||||
goto done;
|
||||
}
|
||||
|
||||
if ((rc = _MapNlToFlowPut(msgIn, nlAttrs[OVS_FLOW_ATTR_KEY],
|
||||
nlAttrs[OVS_FLOW_ATTR_ACTIONS], nlAttrs[OVS_FLOW_ATTR_CLEAR],
|
||||
&mappedFlow))
|
||||
|
Reference in New Issue
Block a user