From: Yong Liu <yong.liu@intel.com>
To: dts@dpdk.org
Subject: [dts] [PATCH 5/6] nics net_device: support Boulder Rapid network object
Date: Wed, 3 Feb 2016 14:50:16 +0800 [thread overview]
Message-ID: <1454482217-25147-6-git-send-email-yong.liu@intel.com> (raw)
In-Reply-To: <1454482217-25147-1-git-send-email-yong.liu@intel.com>
Signed-off-by: Marvin Liu <yong.liu@intel.com>
diff --git a/nics/net_device.py b/nics/net_device.py
index 2299e6f..9d9e1ac 100644
--- a/nics/net_device.py
+++ b/nics/net_device.py
@@ -835,6 +835,10 @@ def GetNicObj(crb, bus_id, devfun_id):
# atwood nic need special initialization
from atwood import Atwood
obj = Atwood(crb, bus_id, devfun_id)
+ elif nic == 'boulderrapid':
+ # atwood nic need special initialization
+ from br import BoulderRapid
+ obj = BoulderRapid(crb, bus_id, devfun_id)
else:
obj = NetDevice(crb, bus_id, devfun_id)
--
1.9.3
next prev parent reply other threads:[~2016-02-03 6:50 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-02-03 6:50 [dts] [PATCH 0/6] Support Boulder Rapid Yong Liu
2016-02-03 6:50 ` [dts] [PATCH 1/6] nics fm10k: rename fm10k module to rrc Yong Liu
2016-02-03 6:50 ` [dts] [PATCH 2/6] framework settings: support boulderrapid nic Yong Liu
2016-02-03 6:50 ` [dts] [PATCH 3/6] framework test_case: add kernel driver variable Yong Liu
2016-02-03 6:50 ` [dts] [PATCH 4/6] nics: add support for Boulder Rapid Yong Liu
2016-02-03 6:50 ` Yong Liu [this message]
2016-02-03 6:50 ` [dts] [PATCH 6/6] tests: support " Yong Liu
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=1454482217-25147-6-git-send-email-yong.liu@intel.com \
--to=yong.liu@intel.com \
--cc=dts@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).