diff options
author | Nithin Raju <nithin@vmware.com> | 2014-11-18 17:42:46 -0800 |
---|---|---|
committer | Gurucharan Shetty <gshetty@nicira.com> | 2014-11-20 07:13:25 -0800 |
commit | 827e07be2e969354267f8383cc708b1edbe4dd49 (patch) | |
tree | 5e8aef322101cce2fc526856c5a15309660000a7 /datapath-windows/ovsext/Vxlan.h | |
parent | c22f284b4b8d714bf54305d13a5a26eba12e4afe (diff) | |
download | openvswitch-827e07be2e969354267f8383cc708b1edbe4dd49.tar.gz |
datapath-windows: Changes to InitOvsVportCommon()
If a Hyper-V port (for which there exists an OVS port), gets deleted and
re-added, we'll call into InitOvsVportCommon() for the port to insert
the port into the 'portIdHashArray' as well as do a few other
initialization in the switch ocntext.
We should not be incrementing 'numHvPorts' at this point since this
vport has been counted before when it was first allocated. To account
for this, we add a new parameter to InitOvsVportCommon(). The arguments
passed by some of the callers are not 100% correct, and will be fixed in
future commit in the series.
Signed-off-by: Nithin Raju <nithin@vmware.com>
Acked-by: Ankur Sharma <ankursharma@vmware.com>
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com>
Diffstat (limited to 'datapath-windows/ovsext/Vxlan.h')
0 files changed, 0 insertions, 0 deletions