From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wg0-f67.google.com (mail-wg0-f67.google.com [74.125.82.67]) by dpdk.org (Postfix) with ESMTP id 0AC4868CB for ; Wed, 8 Oct 2014 13:06:36 +0200 (CEST) Received: by mail-wg0-f67.google.com with SMTP id y10so2949550wgg.6 for ; Wed, 08 Oct 2014 04:13:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=Jfr/6DgLF71dkDfhh2AlPFytwjGNw0Y6li06v6jixpE=; b=dhbL75LlGExWF0IAKATaeLURE7a2pprEPpAgEfLwdgcow2+bBi5QvYZ7YGOTRliYrm iHvX7W0jvhGao1IrG3Ght67lXPgpOehQI84YX/pF7djNPLPjouBOtTc77iSK98Z4SA5E qTkCJ2E5T6feGYczkJdOZ4MdnX+DuuLkaqiJD4hfREIJkwWqY1fC3pQNHNUaqVW6eIlR DHAZm+buGa7snWGC4hlEAMeWwfIbcZnU9+dWYvxK6VReuyUTIZ7xhR8K5PJjo/wHzQ/e ymRnYLd5K/LKRdpsM+tia9ieeP1trvwOFlkWR6qJmcIV6v4TE6lUp4Snz8XIZhn7i4iM QkbQ== MIME-Version: 1.0 X-Received: by 10.194.220.7 with SMTP id ps7mr11347702wjc.28.1412766832915; Wed, 08 Oct 2014 04:13:52 -0700 (PDT) Received: by 10.194.62.235 with HTTP; Wed, 8 Oct 2014 04:13:52 -0700 (PDT) In-Reply-To: References: Date: Wed, 8 Oct 2014 16:43:52 +0530 Message-ID: From: Navakanth M To: dev@dpdk.org, rashmin.n.patel@intel.com Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [dpdk-dev] vmxnet3 pmd dev restart X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Oct 2014 11:06:36 -0000 Hi Rashmin I have come across your reply in following post that you have worked on this problem and would submit the patch for it. Can you please share information on the changes you worked on or patch log if you had submitted any for it? http://thread.gmane.org/gmane.comp.networking.dpdk.devel/4683 Thanks Navakanth On Tue, Sep 30, 2014 at 1:44 PM, Navakanth M wrote: > Hi > > I am using DPDKv1.7.0 running on Vmware Esxi 5.1 and am trying to > reset the port which uses pmd_vmnet3 library functions from below > function calls. > rte_eth_dev_stop > rte_eth_dev_start > > Doing this, i face panic while rte_free(ring->buf_info) in > Vmxnet3_cmd_ring_release(). > I have gone through following thread but the patch mentioned didn't > help rather it crashed in start function while accessing buf_info in > vmxnet3_post_rx_bufs. I see this buf_info is allocated in queue setup > functions which are called at initialization. > http://thread.gmane.org/gmane.comp.networking.dpdk.devel/4683 > > I tried not freeing it and then rx packets are not received due to mismatch in > while (rcd->gen == rxq->comp_ring.gen) in vmxnet3_recv_pkts() > > To reset the device port, is this the right way what i am doing? > Or do I have to call vmxnet3_dev_tx_queue_setup() > vmxnet3_dev_rx_queue_setup() once stop is called? I have checked > recent patches and threads but did not get much information on this. > > Thanks > Navakanth