[ovs-dev] [PATCH V2] bridge.c: Change variable "ofport" type in "struct if_cfg" and "struct iface"

Ben Pfaff blp at nicira.com
Tue Jun 4 19:38:28 UTC 2013


On Tue, Jun 04, 2013 at 12:46:38PM -0700, Alex Wang wrote:
> This patch changes the variable type of "ofport" in "struct if_cfg" and
> "struct iface" from int64_t to uint16_t. This is more consistent with
> the OpenFlow-1.0 port definition.
> 
> Also, before this patch, -1 is used to indicate an unknown port. This
> patch uses OFPP_NONE, since "ofport" becomes uint16_t.
> 
> Signed-off-by: Alex Wang <alexw at nicira.com>

Thanks, I applied this to master.



More information about the dev mailing list