[dpdk-dev] [RFC PATCH 18/18] xenvirt: remove type field from rte_driver structure
Bernard Iremonger
bernard.iremonger at intel.com
Fri Sep 4 13:01:54 CEST 2015
Signed-off-by: Bernard Iremonger <bernard.iremonger at intel.com>
---
drivers/net/xenvirt/rte_eth_xenvirt.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/drivers/net/xenvirt/rte_eth_xenvirt.c b/drivers/net/xenvirt/rte_eth_xenvirt.c
index 73e8bce..4ce1730 100644
--- a/drivers/net/xenvirt/rte_eth_xenvirt.c
+++ b/drivers/net/xenvirt/rte_eth_xenvirt.c
@@ -1,7 +1,7 @@
/*-
* BSD LICENSE
*
- * Copyright(c) 2010-2014 Intel Corporation. All rights reserved.
+ * Copyright(c) 2010-2015 Intel Corporation. All rights reserved.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -706,8 +706,7 @@ rte_pmd_xenvirt_devinit(const char *name, const char *params)
}
static struct rte_driver pmd_xenvirt_drv = {
- .name = "eth_xenvirt",
- .type = PMD_VDEV,
+ .name = "eth_xenvirt", /* Virtual device */
.init = rte_pmd_xenvirt_devinit,
};
--
1.9.1
More information about the dev
mailing list