On Wed, Jul 16, 2014 at 2:47 PM, Daniele Di Proietto <ddiproie...@vmware.com> wrote: > If vswitchd is compiled with DPDK support but started without --dpdk argument, > it shouldn't print any dpdk initialization messages. > OVS_VSWITCHD_START (tests/ofproto-macros.at:54) is pretty strict about what > the > daemon prints when starting. > > The testcases failures were introduced with commit 95fb793ae73d > I think we can just remove that msg.
> Signed-off-by: Daniele Di Proietto <ddiproie...@vmware.com> > --- > lib/netdev-dpdk.c | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c > index 6de1b2b..5ee105c 100644 > --- a/lib/netdev-dpdk.c > +++ b/lib/netdev-dpdk.c > @@ -1204,6 +1204,10 @@ dpdk_class_init(void) > static int > dpdk_ring_class_init(void) > { > + if (rte_eal_init_ret) { > + return 0; > + } > + > VLOG_INFO("Initialized dpdk client handlers:\n"); > return 0; > } > -- > 2.0.0 > > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev