Re: [ovs-dev] [PATCH 2/6] netdev: get device type from vport prefix if not found

2016-06-03 Thread Ben Pfaff
On Thu, May 26, 2016 at 05:34:59PM -0300, Thadeu Lima de Souza Cascardo wrote: > If we cannot find the device type because it's not opened yet, check if it > uses > a reserved prefix for a vport type and return that type. > > Since these names are reserved, we can assume this is the right type. >

[ovs-dev] [PATCH 2/6] netdev: get device type from vport prefix if not found

2016-05-26 Thread Thadeu Lima de Souza Cascardo
If we cannot find the device type because it's not opened yet, check if it uses a reserved prefix for a vport type and return that type. Since these names are reserved, we can assume this is the right type. This is important when we are querying the datapath right after vswitch has started and us