DPDK patches and discussions
 help / color / mirror / Atom feed
From: Thomas Monjalon <thomas.monjalon@6wind.com>
To: dev@dpdk.org
Subject: [dpdk-dev] [vmxnet3 PATCH] pmd: show banner before initializing
Date: Thu, 25 Jul 2013 22:39:26 +0200	[thread overview]
Message-ID: <1374784766-22716-1-git-send-email-thomas.monjalon@6wind.com> (raw)

Print title before running driver initialization.

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
---
 pmd/vmxnet3.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pmd/vmxnet3.c b/pmd/vmxnet3.c
index 3b2016a..8dc1650 100644
--- a/pmd/vmxnet3.c
+++ b/pmd/vmxnet3.c
@@ -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);
 }
-- 
1.7.10.4

             reply	other threads:[~2013-07-25 20:39 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-07-25 20:39 Thomas Monjalon [this message]
2013-07-26  9:01 ` Damien Millescamps
2013-07-26  9:08   ` Thomas Monjalon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1374784766-22716-1-git-send-email-thomas.monjalon@6wind.com \
    --to=thomas.monjalon@6wind.com \
    --cc=dev@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).