Skip to contentSkip to conversation

pmd: show banner before initializing

PATCH In review Thomas Monjalon 2 participants 3 messages Jul 25, 2013 – Jul 26, 2013 2 messages not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pmd: show banner before initializing

Print title before running driver initialization.

---
 pmd/vmxnet3.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
pmd/vmxnet3.c +1 -1
index 3b2016a..8dc1650 100644
@@ -1591,7 +1591,7 @@ static struct eth_driver rte_vmxnet3_pmd = {
 void __attribute__((constructor))
 vmxnet3_pmd_init(void)
 {
-	rte_eth_driver_register(&rte_vmxnet3_pmd);
 	printf("librte_pmd_vmxnet3 version " VMXNET3_PMD_VERSION "\n"
 	       "\tCopyright 2012-2013 6WIND S.A. provided without warranty.\n");
+	rte_eth_driver_register(&rte_vmxnet3_pmd);
 }
Signature · 1 line
1.7.10.4