[ovs-dev] VXLAN ports not working with latest master

Ethan Jackson ethan at nicira.com
Wed Feb 6 19:10:58 UTC 2013


> BTW: I've got things working now such that I can create VXLAN ports
> again. I just need to clean things up a bit and add add the code to handle
> tbl_backer management. With any luck I'll have some patches to send
> out today yet.

Awesome, sounds great.

Ethan


>
> Thanks,
> Kyle
>
>> Ethan
>>
>>
>>
>>
>>>
>>>> The hardest part to deal with will be ofproto-dpif.  We're now
>>>> breaking the assumption that a port's dpif_port can never change once
>>>> created. Therefore, simply creating and deleting tnl_backers at ofport
>>>> creation and deletion time will be insufficient as it will not
>>>> properly deal with dst port config changes.
>>>>
>>>> My tentative solution to the problem is to decouple port creation and
>>>> deletion from tnl_backer management.  Specifically, I think we should
>>>> remove may_dpif_port_del(), and stop doing dpif_port_del() of
>>>> tnl_backers in the port_del() and port_destruct() functions.  Instead
>>>> we should centralize all of this in a run function near the
>>>> reconfiguration code.  We should loop through all ofports and
>>>> tnl_backers associated with a dpif_backer. For any ofports whose dst
>>>> port has changed, we should change their odp_port to the appropriate
>>>> tnl_backer, or create it if necessary.  Once done, we can delete any
>>>> tnl_backers which are no longer used by any ofports.
>>>>
>>> This part seems reasonable and makes sense.
>>>
>>>> Hopefully that is all clear.  Let me know if you think the strategy
>>>> won't work, or could be enhanced in some way.  Thanks again for
>>>> volunteering to have a look at this.
>>>>
>>>> Ethan
>>>
>
>



More information about the dev mailing list