summaryrefslogtreecommitdiff
path: root/datapath-windows/ovsext/Switch.c
diff options
context:
space:
mode:
authorAlin Serdean <aserdean@cloudbasesolutions.com>2014-10-09 17:46:56 +0000
committerBen Pfaff <blp@nicira.com>2014-10-09 15:47:34 -0700
commit1eda776120c4884d55f6ea75313bc49f52a41f1c (patch)
tree335f0adb571bbad0ca451185426329125e66146d /datapath-windows/ovsext/Switch.c
parent29a5b29f09b06205a4b5f2d3701cbd18a70ae226 (diff)
downloadopenvswitch-1eda776120c4884d55f6ea75313bc49f52a41f1c.tar.gz
datapath-windows: Rename OvsGetVportNo into OvsComputeVportNo and make public
OvsGetVportNo computes a new port number. Therefore, OvsComputeVportNo is a more clear name for what the function does. Reading OvsGetVportNo may give the false impression that it returns the port number of an existing vport. Also, since the responsibility of assigning dp port numbers no longer falls on the hyper-v switch port handlers side, but on the netlink vport commands side (vport add), we will need to use this compute port number function from outside Vport.c. Therefore, this function declaration is moved from Vport.c to Vport.h, and becomes public. Signed-off-by: Samuel Ghinet <sghinet@cloudbasesolutions.com> Co-authored-by: Alin Gabriel Serdean <aserdean@cloudbasesolutions.com> Acked-by: Ankur Sharma <ankursharma@vmware.com> Acked-by: Eitan Eliahu <eliahue@vmware.com> Acked-by: Nithin Raju <nithin@vmware.com> Tested-by: Nithin Raju <nithin@vmware.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
Diffstat (limited to 'datapath-windows/ovsext/Switch.c')
0 files changed, 0 insertions, 0 deletions