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 398995687 for ; Mon, 21 Nov 2016 17:57:09 +0100 (CET) Received: by mail-wm0-f66.google.com with SMTP id a20so550116wme.2 for ; Mon, 21 Nov 2016 08:57:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:from:to:cc:subject:date:message-id:in-reply-to:references; bh=8JLeHPgpczNDf1hpjEy/KCFjBYIkka9jQ/NoFoUw/As=; b=a5i2hpOnaxuFNQStcb5Ix3SB8fPcAYU87Gq2QBr5WeoL6y7S/if3Xlf0G0BoxUbnrb 0xPcocwAC0RMEOFkoKKbnDUS5mLkH/oqW3H2oRqr9uQJQZWkKco/jikZgyFVcm7b+fH/ mW4m6IGl/efsUNabwbiQDltFCymGd82JVIbAEQLLwri2KQJS+EgkXAd5rhQhdaGC1Rj6 Gx8ItVhxSlSNqiHs9xypxeW1kF/4/UBKyEvPRVXNkqlOYY5SPWFtpYLLG9vqFh/3JUf5 0HVWAeXUZjT6P2Ljd0kHV8p4B5ILnEpjv+5sbmCQKEDYUdzevIy0HhkqTRiB1YLuu5gG amGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :in-reply-to:references; bh=8JLeHPgpczNDf1hpjEy/KCFjBYIkka9jQ/NoFoUw/As=; b=iRWIFJrSZA/Ihj/3OJt6T2hqy81kakV7IdkfIjpHWFxkBwwhLElLqxVum6vi2JjIKZ YYvXvQKA5x+apn1aCYTtKCFdkV5BniQtP96jcGuyIAU8Pu0TUgGPW5MibXyoz98HJ6d8 P5RueSrln7JvfeoSuDw/YgPar6rYmi/oYVITLo2l+lDsu5lSSm+ifH4iUvZcciX58sfe JBTSgGsTcFJFfJDdd7L5//ljC8eT9IuVwrnnnj8F9tA/EAkZyWFGj24yZw+FpQKOSjYL ciqvodGAz691w9x95iKUYGlM4s43oh2oJcgpoQM5Q3gDBaxIy1RTQiruntVqoOuAi9Ka fAbA== X-Gm-Message-State: AKaTC017DK7ThQ4oF5VIeqzYN7jmlKaUkHgQUshXYd949vcTEZk4cVlbSzE/9CrpIfJgUw== X-Received: by 10.28.223.196 with SMTP id w187mr14872309wmg.10.1479747428858; Mon, 21 Nov 2016 08:57:08 -0800 (PST) Received: from weierstrass.local.net ([91.200.110.70]) by smtp.gmail.com with ESMTPSA id v202sm20536051wmv.8.2016.11.21.08.57.07 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 21 Nov 2016 08:57:08 -0800 (PST) Sender: Jan Blunck From: Jan Blunck To: dev@dpdk.org Cc: shreyansh.jain@nxp.com, david.marchand@6wind.com Date: Mon, 21 Nov 2016 17:55:18 +0100 Message-Id: <1479747322-5774-4-git-send-email-jblunck@infradead.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1479747322-5774-1-git-send-email-jblunck@infradead.org> References: <1479747322-5774-1-git-send-email-jblunck@infradead.org> Subject: [dpdk-dev] [PATCH v2 4/8] virtio: Don't fill dev_info->driver_name 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: Mon, 21 Nov 2016 16:57:09 -0000 This is overwritten in rte_eth_dev_info_get(). Signed-off-by: Jan Blunck --- 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