On Mon, Mar 09, 2015 at 10:39:40PM +0000, Gray, Mark D wrote: > > > > On Mon, Mar 09, 2015 at 03:47:03PM +0000, Gray, Mark D wrote: > > > > > + </p> > > > > > + <column name="datapath_types"> > > > > > + <p> > > > > > + This column reports the different dpifs registered with the > > system. > > > > > + </p> > > > > > + </column> > > > > > + <column name="port_types"> > > > > > + <p> > > > > > + This column reports the different netdevs registered > > > > > + with the > > > > system. > > > > > > > > The available port types can vary based on the datapath, so I'm not > > > > sure that it makes sense to publish them without that context. > > > > > > I think ideally we would like to get to that stage (i.e. be able to > > > tell that a datapath supports a particular port type). I can't think > > > of a way off-hand to do that by probing. I think it would have to be > > > done by a list that could be modified by updating the code and > > > recompiling. > > > > I'm pretty reluctant to put in something that we know would have to be > > refined, given that refining it would either have to add duplicate > > information > > to the schema (e.g. some additional mapping from datapath type to port > > types) or be backward incompatible (e.g. deleting the list of port types). > > What if we just started out with the list of datapath types? > > We would like to be able to tell that the vswitch instance is capable of > adding dpdk type > ports. If we only show the datapaths we are unable to tell if that is the > case as the > netdev datapath can also be used without dpdk.
So it's a matter of making the controller know that it can essentially turn on a "turbo mode" by setting the interface type to dpdk? If so, have you considered coming up with a way to make dpif-netdev use dpdk netdevs automatically when DPDK is compiled in and available for a given netdev? (Is it feasible?) _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev