From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Marchand Subject: [PATCH] net/virtio: add missing driver name Date: Fri, 7 Oct 2016 15:03:13 +0200 Message-ID: <1475845393-25670-1-git-send-email-david.marchand@6wind.com> Cc: dev@dpdk.org, yuanhan.liu@linux.intel.com, huawei.xie@intel.com, shreyansh.jain@nxp.com To: thomas.monjalon@6wind.com Return-path: Received: from mail-wm0-f41.google.com (mail-wm0-f41.google.com [74.125.82.41]) by dpdk.org (Postfix) with ESMTP id 3FE7D292D for ; Fri, 7 Oct 2016 15:03:19 +0200 (CEST) Received: by mail-wm0-f41.google.com with SMTP id b201so37179515wmb.0 for ; Fri, 07 Oct 2016 06:03:19 -0700 (PDT) List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" The driver name has been lost with the eal rework. Restore it. Fixes: c830cb295411 ("drivers: use PCI registration macro") Signed-off-by: David Marchand --- drivers/net/virtio/virtio_ethdev.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/drivers/net/virtio/virtio_ethdev.c b/drivers/net/virtio/virtio_ethdev.c index b4dfc0a..809ebf7 100644 --- a/drivers/net/virtio/virtio_ethdev.c +++ b/drivers/net/virtio/virtio_ethdev.c @@ -1304,6 +1304,9 @@ eth_virtio_dev_uninit(struct rte_eth_dev *eth_dev) static struct eth_driver rte_virtio_pmd = { .pci_drv = { + .driver = { + .name = "net_virtio", + }, .id_table = pci_id_virtio_map, .drv_flags = RTE_PCI_DRV_DETACHABLE, .probe = rte_eth_dev_pci_probe, -- 2.7.4