From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by dpdk.org (Postfix) with ESMTP id 1DED356B7 for ; Wed, 3 Feb 2016 07:50:36 +0100 (CET) Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP; 02 Feb 2016 22:50:36 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,388,1449561600"; d="scan'208";a="41516983" Received: from shvmail01.sh.intel.com ([10.239.29.42]) by fmsmga004.fm.intel.com with ESMTP; 02 Feb 2016 22:50:34 -0800 Received: from shecgisg003.sh.intel.com (shecgisg003.sh.intel.com [10.239.29.90]) by shvmail01.sh.intel.com with ESMTP id u136oWoA011676; Wed, 3 Feb 2016 14:50:32 +0800 Received: from shecgisg003.sh.intel.com (localhost [127.0.0.1]) by shecgisg003.sh.intel.com (8.13.6/8.13.6/SuSE Linux 0.8) with ESMTP id u136oTAH025218; Wed, 3 Feb 2016 14:50:32 +0800 Received: (from yliu84x@localhost) by shecgisg003.sh.intel.com (8.13.6/8.13.6/Submit) id u136oT64025214; Wed, 3 Feb 2016 14:50:29 +0800 From: Yong Liu To: dts@dpdk.org Date: Wed, 3 Feb 2016 14:50:16 +0800 Message-Id: <1454482217-25147-6-git-send-email-yong.liu@intel.com> X-Mailer: git-send-email 1.7.4.1 In-Reply-To: <1454482217-25147-1-git-send-email-yong.liu@intel.com> References: <1454482217-25147-1-git-send-email-yong.liu@intel.com> Subject: [dts] [PATCH 5/6] nics net_device: support Boulder Rapid network object X-BeenThere: dts@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: test suite reviews and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Feb 2016 06:50:37 -0000 Signed-off-by: Marvin Liu 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