[ovs-dev] [PATCH V2] feature: Create specific types for ofp and odp port

Rajahalme, Jarno (NSN - FI/Espoo) jarno.rajahalme at nsn.com
Tue Jun 11 23:27:53 UTC 2013


On Jun 12, 2013, at 2:10 , ext Alex Wang wrote:

> Thanks Ben,
> 
> This makes sense. But one thing is that if we compare to "ofp_port_t" variables, e.g. "flow->in_port.ofp_port >= OFPP_MAX", we must call this function for both operands. this seems to make coding harder, really want to know what do you think?
> 

Sometimes C++ would be really nice :-)

  Jarno


More information about the dev mailing list