From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wj0-f196.google.com (mail-wj0-f196.google.com [209.85.210.196]) by dpdk.org (Postfix) with ESMTP id E8A5D374E for ; Fri, 23 Dec 2016 16:58:39 +0100 (CET) Received: by mail-wj0-f196.google.com with SMTP id kp2so40788612wjc.0 for ; Fri, 23 Dec 2016 07:58:39 -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 :in-reply-to:references; bh=KiJDTJX59SBAvjfPKSuPfOe81qe0t7NOBEOtxV8Jq9M=; b=ohDECPS9ohIUb7A/7S/8OYfcqPKWNDU4wpMAiVlgw91y8H123aXG2zZtOPqmuVPPQU fKQ8pEMwl0obRfF2ffliRtDJ9zdVGytpwY//lLM+wd4A4lsArF5NkBBpRhkdhTWnlL3L sfVWy4s6QessYmDF/YMEPJMAWh2vNlOCEbf7mZqWYvqHq5RtqGGA48h2BW/yJkcvwkbP GO3NmXq2jtNF7q7huWn8b4e1Bhfe8gJ3hmCQVsz5WjSPF30qX+Xm3qHwt/f0B6QrjWar ebUzkR0uTzrS4zCqZx8AqDDUXKux9ea1r+j5vJIGC42Whmg4j5XcSqfquHFL4FLiKDZF E7ww== 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:in-reply-to:references; bh=KiJDTJX59SBAvjfPKSuPfOe81qe0t7NOBEOtxV8Jq9M=; b=UnX0qID59jivEGeB4lMoY6JXWDkNBDnjCvKks1jfdJeddWH0nBNwU5fRucQ9Xfpg9b 8lrnYrVFs8eskFk2k1NtZb7G7d74hRblc4XUKbnafyaupo78M8dr8xCH9hVLF/3qL2MA MG42najk0w0Y6VjJcwZZp0OtOjtywGhDguHwEBsFY1UNd1cl2nnLbAEMRV4tJIKHlGEK y5Ox6p6c+L+q9+fXtIE/9ChpyD/yFa3IxGvsbH7VTg7K0GOLI3i+vsXTzkSfwHltgNtx fqRaHngIOmXAWycGIeFBAuqNO5F3PTrCJVT7M8SDLYsjlA/F0IvjShmoPZDos/beY5Uu 9phA== X-Gm-Message-State: AIkVDXKOBMu6XJPRnjpzqIVT/hBdwsVVgNcj4vU7MNPsZyGgCVPG0NHqwqVQIbYIAznGVA== X-Received: by 10.195.14.103 with SMTP id ff7mr13630824wjd.126.1482508718631; Fri, 23 Dec 2016 07:58:38 -0800 (PST) Received: from weierstrass.local.net ([91.200.109.169]) by smtp.gmail.com with ESMTPSA id jm6sm41027072wjb.27.2016.12.23.07.58.37 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 23 Dec 2016 07:58:37 -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: Fri, 23 Dec 2016 16:58:00 +0100 Message-Id: <1482508691-11408-10-git-send-email-jblunck@infradead.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1482508691-11408-1-git-send-email-jblunck@infradead.org> References: <1482508691-11408-1-git-send-email-jblunck@infradead.org> 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 v5 09/20] 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: Fri, 23 Dec 2016 15:58:40 -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 1bd60e9..5c8afb5 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