Acked-by: Pritesh Kothari <pritesh.koth...@cisco.com> On Jun 24, 2014, at 8:54 AM, Ben Pfaff <b...@nicira.com> wrote:
> Signed-off-by: Ben Pfaff <b...@nicira.com> > --- > lib/netdev-dpdk.c | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) > > diff --git a/lib/netdev-dpdk.c b/lib/netdev-dpdk.c > index 6d92969..3359517 100644 > --- a/lib/netdev-dpdk.c > +++ b/lib/netdev-dpdk.c > @@ -832,7 +832,6 @@ netdev_dpdk_set_mtu(const struct netdev *netdev, int mtu) > > err = dpdk_eth_dev_init(dev); > if (err) { > - > dpdk_mp_put(mp); > dev->mtu = old_mtu; > dev->dpdk_mp = old_mp; > @@ -1241,14 +1240,16 @@ dpdk_init(int argc, char **argv) > > /* Make sure things are initialized ... */ > result = rte_eal_init(argc, argv); > - if (result < 0) > + if (result < 0) { > ovs_abort(result, "Cannot init EAL\n"); > + } > > rte_memzone_dump(); > rte_eal_init_ret = 0; > > - if (argc > result) > + if (argc > result) { > argv[result] = argv[0]; > + } > > return result + 1; > } > -- > 1.9.1 > > _______________________________________________ > dev mailing list > dev@openvswitch.org > http://openvswitch.org/mailman/listinfo/dev _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev