From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f66.google.com (mail-wm0-f66.google.com [74.125.82.66]) by dpdk.org (Postfix) with ESMTP id 5C7BE10CBA for ; Wed, 21 Dec 2016 16:10:12 +0100 (CET) Received: by mail-wm0-f66.google.com with SMTP id m203so30976922wma.3 for ; Wed, 21 Dec 2016 07:10:12 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=8TWMz2vtcGaznXbL/BzKRzosI2mZU23vl+gv9hjfovg=; b=vD1UevSp1Gg6Z/fcKMZbe495K1fxEkfzrRYyo6hB2QyEGYojkgwJfKIagvBaS7q0SB 8P2bXypx97YzWezgffUe+LJsv5Sr2jKHzU7cUSAdAJyvkdA8rbzNn6iQUxqUaysUSoER mLFJrKVcHEXl8As++P5GINQi9eSkvmuvd6KwMVbJQ7tvZdWO2uQ9Z9UwBQYWPd1FVtSP n3j94Z+wG6UHb1WNQNYnRlhuWpYnwfIkXfNCfofzNVbBjlsRwnlYhbF9wCNtzTzMWZdm pAV3xxcHBOeIdxfJUWL4wEBaMK7JH1L0/YL0lemX0cle4vxS9KM+BU1lSUgViPEUEWzr 92LQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=8TWMz2vtcGaznXbL/BzKRzosI2mZU23vl+gv9hjfovg=; b=UWlSzxVT/CGwnGtbB6C2PC3NVEo81T4lvA01xVBlbV/Ez01C3K4dx7t4NEwKRDeRko /bVDNZtg3EFw6//S/36JNvsPQ4WgTYkuIapqd4kUn2174TilWYCTJM5QKIv57dYt4NHP nuwm5zuV5Uy9XKgWJ9oZAK9Dfk1zL2UbCPpgoisaGUguhItDl8WVDeFoYJc6vopqPRhy 31TBmXn8YuzvEix4NEkeV6+oDesSNrl6ytNg5TmomfXlyx7klWLXzDfFapOgiAlOVjXq 9r3bpEP30CdkLfuN0I3BR0eEfTgC1847dzVzn3r9Yo6ZUjwsKc0bdHOp8yvAu1Bz2nO9 Z2pw== X-Gm-Message-State: AIkVDXLCnkx8P3ASKIv70FWFG805O69tBrlHSsEhFVKT+Q2VF3TDsFptVZMxZznUS4l5iw== X-Received: by 10.28.183.215 with SMTP id h206mr5549432wmf.60.1482333012144; Wed, 21 Dec 2016 07:10:12 -0800 (PST) Received: from weierstrass.local.net ([91.200.109.169]) by smtp.gmail.com with ESMTPSA id 135sm27627375wmh.14.2016.12.21.07.10.11 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 21 Dec 2016 07:10:11 -0800 (PST) Sender: Jan Blunck From: Jan Blunck To: dev@dpdk.org Cc: shreyansh.jain@nxp.com, david.marchand@6wind.com, stephen@networkplumber.org Date: Wed, 21 Dec 2016 16:09:32 +0100 Message-Id: <1482332986-7599-10-git-send-email-jblunck@infradead.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1482332986-7599-1-git-send-email-jblunck@infradead.org> References: <1482332986-7599-1-git-send-email-jblunck@infradead.org> Subject: [dpdk-dev] [PATCH v4 09/23] virtio: Don't fill dev_info->driver_name X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Dec 2016 15:10:12 -0000 This is overwritten in rte_eth_dev_info_get(). Signed-off-by: Jan Blunck Reviewed-by: David Marchand --- drivers/net/virtio/virtio_ethdev.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c index 079fd6c..741688e 100644 --- a/drivers/net/virtio/virtio_ethdev.c +++ b/drivers/net/virtio/virtio_ethdev.c @@ -1624,10 +1624,6 @@ virtio_dev_info_get(struct rte_eth_dev *dev, struct rte_eth_dev_info *dev_info) uint64_t tso_mask; struct virtio_hw *hw = dev->data->dev_private; - if (dev->pci_dev) - dev_info->driver_name = dev->driver->pci_drv.driver.name; - else - dev_info->driver_name = "virtio_user PMD"; dev_info->max_rx_queues = RTE_MIN(hw->max_queue_pairs, VIRTIO_MAX_RX_QUEUES); dev_info->max_tx_queues = -- 2.7.4