From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f68.google.com (mail-wm0-f68.google.com [74.125.82.68]) by dpdk.org (Postfix) with ESMTP id 192A6FB49 for ; Tue, 20 Dec 2016 12:12:21 +0100 (CET) Received: by mail-wm0-f68.google.com with SMTP id m203so23620376wma.3 for ; Tue, 20 Dec 2016 03:12:21 -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=V8yXb6xTPn8zpvzJPQVRqYJSK3BvZzYwMjpjRBN5CoWZePGKfYgBMFrwaqhTIBlC9k 9c45eBSPoUBkAtSK/Za3+yfdXbH/oyCFIYVduocIhkJl4nd8fL5RiP//sAfS+Aq4+2yA x0b1/eOHo8q1WMTdlws6uyPQNfMHC7oB6MPC5HgV1l8nZsZbDBuwo7TEqOZmXtG1zngs vX9w0u/mgKrOA7mtxStZf0ihemPD5NZWcNBnisV2BY6XYiXTSfwQS6CZ433NozHKRFar lgsFKNej4pL7aEv7IzGXM3sScrOwwvMxE355MPEij5P5swDnmmGtt5/ZQeD3dsFOLlM1 8h0g== 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=ANAFQOoV/1QxSYdxJeeY0wkrG8RFy14h4+O05Yyu3d2KU01gF08E1mqrOolSSiRU/9 rfWiMAqwc8H36ychzNEUMzN6ijkK/rteH/Qk+jJ4dSB04mmFKugHtK78vuDFd8b+TBT0 8QeyJZS4tJfraQUtsEeBHVoWqe+KCRof476I1Xo6dq4gw07p1FJrkKW1CEEjDXbI6RM5 UvxNvUdt5GOVXzEPr9kYgLh4IUehJfr2Jcel4lQkfj0aOXnDl2UmObELm5m9gz+pOJNU dvfUIobGFYbG+Tf1fa2DdXHyU2n+/vI4Cj3P12ZkAJl1QjFQBaOWNpU0f5wDP6fkwffd tCRA== X-Gm-Message-State: AIkVDXKGMtA/Lsu8nBdDws+GRJHQMNUa8Lpd4zX94yuZ6tJEAVE+AtRirrd02NVwSBfqtA== X-Received: by 10.28.97.139 with SMTP id v133mr1359095wmb.117.1482232340875; Tue, 20 Dec 2016 03:12:20 -0800 (PST) Received: from weierstrass.local.net ([91.200.109.169]) by smtp.gmail.com with ESMTPSA id q65sm21527756wmd.6.2016.12.20.03.12.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Dec 2016 03:12:19 -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: Tue, 20 Dec 2016 12:11:50 +0100 Message-Id: <1482232315-21626-5-git-send-email-jblunck@infradead.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1482232315-21626-1-git-send-email-jblunck@infradead.org> References: <1482232315-21626-1-git-send-email-jblunck@infradead.org> Subject: [dpdk-dev] [PATCH v3 4/9] 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: Tue, 20 Dec 2016 11:12:21 -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