From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pb0-f43.google.com (mail-pb0-f43.google.com [209.85.160.43]) by dpdk.org (Postfix) with ESMTP id C7B7CB0B5 for ; Sat, 14 Jun 2014 03:09:14 +0200 (CEST) Received: by mail-pb0-f43.google.com with SMTP id um1so47984pbc.30 for ; Fri, 13 Jun 2014 18:09:30 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:message-id:user-agent:date:from:to:cc:subject :references:mime-version:content-type:content-disposition; bh=dHZDVi+unL51PuM4AwgwJdYDWKDWi72Bb/6sd0FDuu8=; b=kmMeNdduBDSbc6NQBHkWlg3aRcC//dmSlKxAWj1EJc5IAqPCYIsLxstv0MsFJu8HCI D7A3wqbY8vnZtRsWoyWZoaIZHEIfuP8iVgiCX4DI1EbGuHoZ8EunxEQ0c4FVSDMPDaLW gb79e0ZTuInC5lbvJ9Vqy1NkvHvtWkeFaONgRJ3IDw3IU57gsxOza1FeKJ4ufzmImaef zBKxAsYUsf1IjFj4tPFBLXXDsWrt6dw/E/yflQyhl9hcBKyMZvgvcgzvhbblayStDc6g bVyE4gXCjJPDPYaVV/h2TEMka2zd1q3hoSPZ/JxWw8YDsEFd0yabI/XlqRJulqCJfF+G cZ2w== X-Gm-Message-State: ALoCoQmL4z8jUWB8wYnSgv1pG6eGrDxYIPJif5eAxkAYVcc1cgpaSH3DVmL8XXfKABVsfXg3Z4BS X-Received: by 10.68.135.42 with SMTP id pp10mr7404470pbb.58.1402708170048; Fri, 13 Jun 2014 18:09:30 -0700 (PDT) Received: from localhost (static-50-53-83-51.bvtn.or.frontiernet.net. [50.53.83.51]) by mx.google.com with ESMTPSA id hk5sm5801883pbb.86.2014.06.13.18.09.28 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 13 Jun 2014 18:09:29 -0700 (PDT) Message-Id: <20140614010920.311402402@networkplumber.org> User-Agent: quilt/0.63-1 Date: Fri, 13 Jun 2014 18:06:24 -0700 From: Stephen Hemminger To: dev@dpdk.org References: <20140614010617.902738763@networkplumber.org> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Disposition: inline; filename=virtio-no-adapter_stopped.patch Subject: [dpdk-dev] [PATCH 7/8] virtio: remove unused adapter_stopped field 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: Sat, 14 Jun 2014 01:09:15 -0000 This flag was set to zero (but was already zero) and never used. Signed-off-by: Stephen Hemminger --- a/lib/librte_pmd_virtio/virtio_ethdev.c 2014-06-13 18:01:14.152978473 -0700 +++ b/lib/librte_pmd_virtio/virtio_ethdev.c 2014-06-13 18:01:14.144978461 -0700 @@ -927,8 +927,6 @@ virtio_dev_start(struct rte_eth_dev *dev /* Tell the host we've known how to drive the device. */ vtpci_set_status(hw, VIRTIO_CONFIG_STATUS_DRIVER); - hw->adapter_stopped = 0; - virtio_dev_cq_start(dev); /* Do final configuration before rx/tx engine starts */ --- a/lib/librte_pmd_virtio/virtio_pci.h 2014-06-13 18:01:14.152978473 -0700 +++ b/lib/librte_pmd_virtio/virtio_pci.h 2014-06-13 18:01:40.537011579 -0700 @@ -178,7 +178,6 @@ struct virtio_hw { uint16_t subsystem_vendor_id; uint8_t revision_id; uint8_t mac_addr[ETHER_ADDR_LEN]; - int adapter_stopped; }; /*