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

A message that is not in the archive (sent off-list or not yet received): 1374784766-22716-1-git-send-email-thomas.monjalon-pdR9zngts4EAvxtiuMwx3w@public.gmane.org

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

26/07/2013 11:01, Damien Millescamps :

Quoted 4 lines · Thomas Monjalon
Quoted 1 line

Print title before running driver initialization.

ack

pushed

Signature · 1 line
Thomas