[ovs-dev] [PATCH] datapath-windows: OVS_PACKET_ATTR_PROBE

Alin Serdean aserdean at cloudbasesolutions.com
Wed Jul 1 18:57:50 UTC 2015


Since commit:
https://github.com/openvswitch/ovs/commit/2e460098bff351b9fddcb917447caa3b97a35d86
a new packet attribute was introduced.

This patch adds OVS_PACKET_ATTR_PROBE to nlPktExecPolicy in datapath-windows
and ignores it for the moment to maintain binary compatibility.

Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Acked-by: Eitan Eliahu <eliahue at vmware.com>
---
This patch should be applied on master and branch-2.4 
v2: add acked-by
---
 datapath-windows/ovsext/User.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/datapath-windows/ovsext/User.c b/datapath-windows/ovsext/User.c
index 9f462cf..56f2f7c 100644
--- a/datapath-windows/ovsext/User.c
+++ b/datapath-windows/ovsext/User.c
@@ -332,7 +332,8 @@ OvsNlExecuteCmdHandler(POVS_USER_PARAMS_CONTEXT usrParamsCtx,
         [OVS_PACKET_ATTR_ACTIONS] = {.type = NL_A_UNSPEC, .optional = FALSE},
         [OVS_PACKET_ATTR_USERDATA] = {.type = NL_A_UNSPEC, .optional = TRUE},
         [OVS_PACKET_ATTR_EGRESS_TUN_KEY] = {.type = NL_A_UNSPEC,
-                                            .optional = TRUE}
+                                            .optional = TRUE},
+        [OVS_PACKET_ATTR_PROBE] = { .type = NL_A_FLAG, .optional = TRUE }
     };
 
     RtlZeroMemory(&execute, sizeof(OvsPacketExecute));
-- 
1.9.5.msysgit.0



More information about the dev mailing list