[ovs-dev] [PATCH 06/10] datapath-windows: Rename OvsGetVportNo into OvsComputeVportNo and make public

Nithin Raju nithin at vmware.com
Thu Oct 9 05:11:44 UTC 2014


On Oct 8, 2014, at 5:21 PM, Alin Serdean <aserdean at cloudbasesolutions.com> wrote:

> 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 at cloudbasesolutions.com>
> Co-authored-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>

Acked-by: Nithin Raju <nithin at vmware.com>
Tested-by: Nithin Raju <nithin at vmware.com>


More information about the dev mailing list