From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wi0-f195.google.com (mail-wi0-f195.google.com [209.85.212.195]) by dpdk.org (Postfix) with ESMTP id AF22A6A7D for ; Tue, 30 Sep 2014 10:08:08 +0200 (CEST) Received: by mail-wi0-f195.google.com with SMTP id ho1so1220674wib.6 for ; Tue, 30 Sep 2014 01:14:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=TDLDibA2vYoeeLXNCxvoTJDmfo2REnFaWaYZpGHgt3o=; b=PpHbYbANXZnDG5Ou+r8Dzy257s1FzCIjVZpCIV3RyY+oxyxRSj60AfcvnPvnfavcPu h5GljET7aG9eLA0ITIro1cvisMhJ5ybBmKi7eI+hZtg44klNEDconT9GLswO5Q8HbMsq 07/5qGK77rEGzepFK5W5CHc+4aGsKR5qLrzZ4jjF1zFhK+FSolgw5Ljk+9DOHmCkAdiB 3ofCpitFsrsw0g+3t9a5nhAoLwaF3N+FcICBSDbJXc21coUWskam5CQCAznNsNJXujUI EhcS7dA/uPbIwoZ0kHQ4wxRfpN3Z61c6Hf/WuFWDI7bnGbZRRjhHR43zy+l84lS8SAYo 2ZrA== MIME-Version: 1.0 X-Received: by 10.180.36.84 with SMTP id o20mr3832563wij.9.1412064888404; Tue, 30 Sep 2014 01:14:48 -0700 (PDT) Received: by 10.194.72.74 with HTTP; Tue, 30 Sep 2014 01:14:48 -0700 (PDT) Date: Tue, 30 Sep 2014 13:44:48 +0530 Message-ID: From: Navakanth M To: dev@dpdk.org Content-Type: text/plain; charset=ISO-8859-1 Subject: [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: Tue, 30 Sep 2014 08:08:09 -0000 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