diff options
author | Jinjun Gao <jinjung@vmware.com> | 2019-12-08 09:28:17 +0000 |
---|---|---|
committer | Alin Gabriel Serdean <aserdean@ovn.org> | 2019-12-09 13:33:44 +0200 |
commit | 40570384bc0670482d38f55717175b55b7f8a533 (patch) | |
tree | 63a43eb20f8f99300229ce9678d0039a2d107833 /datapath-windows/ovsext/ovsext.vcxproj | |
parent | 1061dc7c85e780269697f7f8980f3b25cd3b1278 (diff) | |
download | openvswitch-40570384bc0670482d38f55717175b55b7f8a533.tar.gz |
datapath-windows: Do not delete internal port on OID_SWITCH_NIC_DISCONNECT
According to the microsoft doc:
https://docs.microsoft.com/en-us/windows-hardware/drivers/network/hyper-v-extensible-switch-port-and-network-adapter-states
Below OID request sequence is validation:
OID_SWITCH_NIC_CONNECT -> OID_SWITCH_NIC_DISCONNECT
^ |
| V
OID_SWITCH_NIC_CREATE <- OID_SWITCH_NIC_DELETE
In above sequence, the windows extensible switch interface assumes the
OID_SWITCH_PORT_CREATE has issued and the port has been created
successfully. If delete the internal port in HvDisconnectNic(),
HvCreateNic() will fail when received OID_SWITCH_NIC_CREATE late because
there is no corresponding port.
Signed-off-by: Jinjun Gao <jinjung@vmware.com>
Signed-off-by: Alin Gabriel Serdean <aserdean@ovn.org>
Diffstat (limited to 'datapath-windows/ovsext/ovsext.vcxproj')
0 files changed, 0 insertions, 0 deletions