datapath-windows: refactor port enumeration code
authorNithin Raju <nithin@vmware.com>
Wed, 25 Nov 2015 20:00:53 +0000 (12:00 -0800)
committerGurucharan Shetty <gshetty@nicira.com>
Wed, 25 Nov 2015 21:54:21 +0000 (13:54 -0800)
commit13165df937f24b91fc5b3c31be2f7b424eb12104
treec7cc1d904cdfa705b27e9b2599b3c38c02f58364
parent96cabc29d29dfe4cc84385ce41f6828d9eba4fd4
datapath-windows: refactor port enumeration code

We already have functions HvCreatePort() and HvCreateNic() to
do the work. Might as well use that during port enumeration.
More refactoring in later patches.

Signed-off-by: Nithin Raju <nithin@vmware.com>
Acked-by: Sairam Venugopal <vsairam@vmware.com>
Acked-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com>
Signed-off-by: Gurucharan Shetty <guru@ovn.org>
datapath-windows/ovsext/Switch.c
datapath-windows/ovsext/Vport.c